Greetings,
Please be informed that, we are receiving the connection time out response.

Thanks & Regards
Sundaramoorthi Palanivel
 IT Department
Unimoni Global Business Services Private Limited
DLF Cyber City, Block 2, Ground Floor, Shivaji Garden
1/24, Mount Poonamallee Road, Ramapuram
Chennai 600 089, Tamil Nadu, India
M: +91 9940725488| P: +91 44 61212162 | Ext: 2162
sundaramoorth...@unimoni.com

www.unimoni.com/gbs


-----Original Message-----
From: Michael C. Jaeger [mailto:m...@mcj.de]
Sent: 17 March 2020 15:44
To: sundaramoorthi p
Cc: fossol...@fossology.org
Subject: Re: [FOSSology] Fossology Local set up - Awaiting for scanned files 
result

hello,

I think we may need to improve our error reporting here, to make the error more 
obvious.

The log says:

"Failed to connect to archive.softwareheritage.org port 443: Connection timed 
out"

So what happens is:

* The SW Heritage agent tries to connect to the server 
archive.softwareheritage.org on port 443
* That is basically a similar thing as typing into the browser 
https://archive.softwareheritage.org/ (because 443 is the https port)
* "Connection timed out " means that after a defined period of waiting, the SW 
Heritage agent  did not receive a response for this request.

What you could do:

* You could test, if the fossology server can actually contact this Internet 
address.
* On the fossology server (not in your browser, it is not the same!), you could 
try to submit a request "manually" to this server.
* Usually, FOSSology is installed in a command line environment, so you would 
need to submit the request from the command line most likely.
* There are tools for this, most popular, wget or curl
* You could use the man pages to understand the usage of wget or curl to submit 
a request to a server.

Would calling the URL "https://archive.softwareheritage.org/"; from the command 
line of the FOSSology server work?

Kind regards,
  Michael




> On 17. Mar 2020, at 11:03, sundaramoorthi p <sundaramoorth...@unimoni.com> 
> wrote:
>
> Greetings,
> PFA, Kindly assist us why Software heritage jobs always got failed. Looking 
> for your reply to know about.
>
>
>
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "Caught exception while processing 
> uploadId=5: cURL error 7: Failed to connect to archive.softwareheritage.org 
> port 443: Connection timed out (see 
> http://curl.haxx.se/libcurl/c/libcurl-errors.html)#0 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(149):
>  
> GuzzleHttp\Handler\CurlFactory::createRejection(Object(GuzzleHttp\Handler\EasyHandle),
>  Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#1 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php(102):
>  
> GuzzleHttp\Handler\CurlFactory::finishError(Object(GuzzleHttp\Handler\CurlHandler),
>  Object(GuzzleHttp\Handler\EasyHandle), 
> Object(GuzzleHttp\Handler\CurlFactory))"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#2 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php(43):
>  
> GuzzleHttp\Handler\CurlFactory::finish(Object(GuzzleHttp\Handler\CurlHandler),
>  Object(GuzzleHttp\Handler\EasyHandle), 
> Object(GuzzleHttp\Handler\CurlFactory))"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#3 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(28):
>  GuzzleHttp\Handler\CurlHandler->__invoke(Object(GuzzleHttp\Psr7\Request), 
> Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#4 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php(51):
>  
> GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request),
>  Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#5 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(37):
>  
> GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object(GuzzleHttp\Psr7\Request),
>  Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#6 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/Middleware.php(30): 
> GuzzleHttp\PrepareBodyMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), 
> Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#7 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php(70):
>  GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), 
> Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#8 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/Middleware.php(58): 
> GuzzleHttp\RedirectMiddleware->__invoke(Object(GuzzleHttp\Psr7\Request), 
> Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#9 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/HandlerStack.php(67): 
> GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Request), 
> Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#10 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/Client.php(277): 
> GuzzleHttp\HandlerStack->__invoke(Object(GuzzleHttp\Psr7\Request), Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#11 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/Client.php(125): 
> GuzzleHttp\Client->transfer(Object(GuzzleHttp\Psr7\Request), Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#12 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/Client.php(131): 
> GuzzleHttp\Client->requestAsync('get', Object(GuzzleHttp\Psr7\Uri), Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#13 
> /usr/local/share/fossology/vendor/guzzlehttp/guzzle/src/Client.php(89): 
> GuzzleHttp\Client->request('get', 'https://archive...', Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#14 
> /usr/local/share/fossology/softwareHeritage/agent/softwareHeritageAgent.php(167):
>  GuzzleHttp\Client->__call('get', Array)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#15 
> /usr/local/share/fossology/softwareHeritage/agent/softwareHeritageAgent.php(123):
>  
> Fossology\SoftwareHeritage\softwareHeritageAgent->getSoftwareHeritageLicense('CBFFB0EA0F04757...')"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#16 
> /usr/local/share/fossology/softwareHeritage/agent/softwareHeritageAgent.php(107):
>  
> Fossology\SoftwareHeritage\softwareHeritageAgent->processEachPfileForSWH(Array,
>  26, '100')"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#17 
> /usr/local/share/fossology/lib/php/Agent/Agent.php(338): 
> Fossology\SoftwareHeritage\softwareHeritageAgent->processUploadId(5)"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#18 
> /usr/local/share/fossology/softwareHeritage/agent/softwareHeritage.php(41): 
> Fossology\Lib\Agent\Agent->run_scheduler_event_loop()"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#19 
> /usr/local/lib/fossology/fo_wrapper(77): require('/usr/local/shar...')"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#20 {main}agent failed on 
> uploadId=5#0  Fossology\Lib\Agent\Agent->bail() called at 
> [/usr/local/share/fossology/lib/php/Agent/Agent.php:349]"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#1  
> Fossology\Lib\Agent\Agent->run_scheduler_event_loop() called at 
> [/usr/local/share/fossology/softwareHeritage/agent/softwareHeritage.php:41]"
> 2020-03-17 07:27:48 softwareHeritage [0] :: 
> JOB[61].softwareHeritage[3213.localhost]: "#2  
> require(/usr/local/share/fossology/softwareHeritage/agent/softwareHeritage.php)
>  called at [/usr/local/lib/fossology/fo_wrapper:77]"
> 2020-03-17 07:27:48 softwareHeritage [0] ::
> JOB[61].softwareHeritage[3213.localhost]: agent failed with error code
> 1
> 2020-03-17 07:27:49 softwareHeritage [0] ::
> JOB[61].softwareHeritage[3213.localhost]: agent failed, code: 0
>
> Thanks & Regards
> Sundaramoorthi Palanivel
> IT Department
> Unimoni Global Business Services Private Limited DLF Cyber City, Block
> 2, Ground Floor, Shivaji Garden 1/24, Mount Poonamallee Road,
> Ramapuram Chennai 600 089, Tamil Nadu, India
> M: +91 9940725488| P: +91 44 61212162 | Ext: 2162
> sundaramoorth...@unimoni.com
> ----------------------------------------------------------------------
> ------------
>
>
> -----Original Message-----
> From: sundaramoorthi p
> Sent: 13 March 2020 14:24
> To: Michael C. Jaeger; fossol...@fossology.org
> Subject: RE: [FOSSology] Fossology Local set up - Awaiting for scanned
> files result
>
> Greetings,
> Thanks for your support, I have restart the Fossology than schedulers are 
> completed in few minutes.
>
> Thanks & Regards
> Sundaramoorthi Palanivel
> IT Department
> Unimoni Global Business Services Private Limited DLF Cyber City, Block
> 2, Ground Floor, Shivaji Garden 1/24, Mount Poonamallee Road,
> Ramapuram Chennai 600 089, Tamil Nadu, India
> M: +91 9940725488| P: +91 44 61212162 | Ext: 2162
> sundaramoorth...@unimoni.com
>
> www.unimoni.com/gbs
>
>
> -----Original Message-----
> From: Michael C. Jaeger [mailto:m...@mcj.de]
> Sent: 13 March 2020 13:52
> To: sundaramoorthi p; fossol...@fossology.org
> Subject: Re: [FOSSology] Fossology Local set up - Awaiting for scanned
> files result
>
> Hello,
>
> There could be a number of things happened to your fossology setup.
>
> Form the screenshot shot it looks like the "scheduler" is not processing your 
> jobs. The scheduler is a central component which coordinates the analysis 
> tasks on an upload.
>
> Moreover I am seeing that you reach fossology using an IP, so it looks it is 
> deployed somewhere and you reach it over the network.
>
> poposals and iseas:
>
> * As I write the email now, the situation has resolved and the scheduler has 
> processed your jobs?
>
> * Someone else has uploaded a number of uploads and they are processed before 
> your upload is being processed. Since you have logged in with the fossy user, 
> a multi user setup is unlikely and you re the only user on the server I 
> assume?
>
> * Then you could try to see if something went wrong with the schedule by 
> looking into the "/var/log/fossology/fossology.log" on the server.
>
> * You would stop and restart the scheduler with "sudo service fossology stop" 
> and  "sudo service fossology start"
>
> * You could restart the server machine which would start the scheduler 
> (normally) automatically at boot.
>
> Let us know if that helps,
>
> Michael
>
>
>
>> On 12. Mar 2020, at 12:09, sundaramoorthi p via Lists.Fossology.Org 
>> <sundaramoorthi.p=unimoni....@lists.fossology.org> wrote:
>>
>> Greetings,
>>                I am new to Fossology, had uploaded a 
>> pricing-rate-service-0.0.1-SNAPSHOT.zip file with my local setup using fossy 
>> credentials. Post upload checked the “JobsàMy Recent Jobs”  all are have 
>> empty status. Please assist us how long it will take time to complete the 
>> scan and also where to check for scanned files results.
>>
>> <image001.png>
>>
>> Thanks & Regards
>> Sundaramoorthi Palanivel
>> IT Department
>> Unimoni Global Business Services Private Limited DLF Cyber City,
>> Block 2, Ground Floor, Shivaji Garden 1/24, Mount Poonamallee Road,
>> Ramapuram Chennai 600 089, Tamil Nadu, India
>> M: +91 9940725488| P: +91 44 61212162 | Ext: 2162
>> sundaramoorth...@unimoni.com www.unimoni.com/gbs <image002.png>
>>
>> Disclaimer: This communication is intended solely for the use of the 
>> individual or entity to whom it is addressed and others authorized to 
>> receive it. It may contain confidential or legally privileged information. 
>> If you are not the intended recipient, you are hereby notified that any 
>> disclosure, copying, distribution, or action taken in reliance upon the 
>> information is strictly prohibited and/or is unlawful. If you have received 
>> this communication by error, please notify us immediately by responding to 
>> this email before deleting it from your system. Unimoni cannot be and/or 
>> will not be held responsible for the improper or incomplete transmission of 
>> information contained in this communication, or for any delay in its 
>> receipt. The views and opinions included in this email belong to their 
>> author and do not necessarily mirror the views and opinions of Unimoni. Our 
>> employees are obliged not to make any defamatory clauses, infringe, or 
>> authorize infringement of any legal right. Therefore, Unimoni will not take 
>> any liability for such statements included in emails. In case of any damages 
>> or other liabilities arising, employees are fully responsible for the 
>> content of their emails. Disclaimer: This communication is intended solely 
>> for the use of the individual or entity to whom it is addressed and others 
>> authorized to receive it. It may contain confidential or legally privileged 
>> information. If you are not the intended recipient, you are hereby notified 
>> that any disclosure, copying, distribution, or action taken in reliance upon 
>> the information is strictly prohibited and/or is unlawful. If you have 
>> received this communication by error, please notify us immediately by 
>> responding to this email before deleting it from your system. Unimoni cannot 
>> be and/or will not be held responsible for the improper or incomplete 
>> transmission of information contained in this communication, or for any 
>> delay in its receipt. The views and opinions included in this email belong 
>> to their author and do not necessarily mirror the views and opinions of 
>> Unimoni. Our employees are obliged not to make any defamatory clauses, 
>> infringe, or authorize infringement of any legal right. Therefore, Unimoni 
>> will not take any liability for such statements included in emails. In case 
>> of any damages or other liabilities arising, employees are fully responsible 
>> for the content of their emails.
>> 
>
> Disclaimer: This communication is intended solely for the use of the 
> individual or entity to whom it is addressed and others authorized to receive 
> it. It may contain confidential or legally privileged information. If you are 
> not the intended recipient, you are hereby notified that any disclosure, 
> copying, distribution, or action taken in reliance upon the information is 
> strictly prohibited and/or is unlawful. If you have received this 
> communication by error, please notify us immediately by responding to this 
> email before deleting it from your system. Unimoni cannot be and/or will not 
> be held responsible for the improper or incomplete transmission of 
> information contained in this communication, or for any delay in its receipt. 
> The views and opinions included in this email belong to their author and do 
> not necessarily mirror the views and opinions of Unimoni. Our employees are 
> obliged not to make any defamatory clauses, infringe, or authorize 
> infringement of any legal right. Therefore, Unimoni will not take any 
> liability for such statements included in emails. In case of any damages or 
> other liabilities arising, employees are fully responsible for the content of 
> their emails.
> Disclaimer: This communication is intended solely for the use of the 
> individual or entity to whom it is addressed and others authorized to receive 
> it. It may contain confidential or legally privileged information. If you are 
> not the intended recipient, you are hereby notified that any disclosure, 
> copying, distribution, or action taken in reliance upon the information is 
> strictly prohibited and/or is unlawful. If you have received this 
> communication by error, please notify us immediately by responding to this 
> email before deleting it from your system. Unimoni cannot be and/or will not 
> be held responsible for the improper or incomplete transmission of 
> information contained in this communication, or for any delay in its receipt. 
> The views and opinions included in this email belong to their author and do 
> not necessarily mirror the views and opinions of Unimoni. Our employees are 
> obliged not to make any defamatory clauses, infringe, or authorize 
> infringement of any legal right. Therefore, Unimoni will not take any 
> liability for such statements included in emails. In case of any damages or 
> other liabilities arising, employees are fully responsible for the content of 
> their emails.
> <Software_heritage_failed.PNG>

Disclaimer: This communication is intended solely for the use of the individual 
or entity to whom it is addressed and others authorized to receive it. It may 
contain confidential or legally privileged information. If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or action taken in reliance upon the information is strictly 
prohibited and/or is unlawful. If you have received this communication by 
error, please notify us immediately by responding to this email before deleting 
it from your system. Unimoni cannot be and/or will not be held responsible for 
the improper or incomplete transmission of information contained in this 
communication, or for any delay in its receipt. The views and opinions included 
in this email belong to their author and do not necessarily mirror the views 
and opinions of Unimoni. Our employees are obliged not to make any defamatory 
clauses, infringe, or authorize infringement of any legal right. Therefore, 
Unimoni will not take any liability for such statements included in emails. In 
case of any damages or other liabilities arising, employees are fully 
responsible for the content of their emails.
Disclaimer: This communication is intended solely for the use of the individual 
or entity to whom it is addressed and others authorized to receive it. It may 
contain confidential or legally privileged information. If you are not the 
intended recipient, you are hereby notified that any disclosure, copying, 
distribution, or action taken in reliance upon the information is strictly 
prohibited and/or is unlawful. If you have received this communication by 
error, please notify us immediately by responding to this email before deleting 
it from your system. Unimoni cannot be and/or will not be held responsible for 
the improper or incomplete transmission of information contained in this 
communication, or for any delay in its receipt. The views and opinions included 
in this email belong to their author and do not necessarily mirror the views 
and opinions of Unimoni. Our employees are obliged not to make any defamatory 
clauses, infringe, or authorize infringement of any legal right. Therefore, 
Unimoni will not take any liability for such statements included in emails. In 
case of any damages or other liabilities arising, employees are fully 
responsible for the content of their emails.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#3336): https://lists.fossology.org/g/fossology/message/3336
Mute This Topic: https://lists.fossology.org/mt/71920459/21656
Group Owner: fossology+ow...@lists.fossology.org
Unsubscribe: https://lists.fossology.org/g/fossology/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to