You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Nick Allen (JIRA)" <ji...@apache.org> on 2019/05/24 16:06:00 UTC

[jira] [Comment Edited] (METRON-2143) Travis Build Fails to Download Maven

    [ https://issues.apache.org/jira/browse/METRON-2143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16847672#comment-16847672 ] 

Nick Allen edited comment on METRON-2143 at 5/24/19 4:05 PM:
-------------------------------------------------------------

Wget will retry, by default, 20 times for many error conditions.  It will not retry for some error conditions like a 503.  There are options to do so though.
{code:java}
--retry-connrefused
Consider "connection refused" a transient error and try again. Normally Wget gives up on a URL when it is unable to connect to the site because failure to connect is taken as a sign that the server is not running at all and that retries would not help. This option is for mirroring unreliable sites whose servers tend to disappear for short periods of time.{code}
 


was (Author: nickwallen):
Wget will retry, by default, 20 times for many error conditions.  It will not retry for some error conditions like a 503.  There are options to do so though.
{code:java}
--retry-connrefused
Consider "connection refused" a transient error and try again. Normally Wget gives up on a URL when it is unable to connect to the site because failure to
connect is taken as a sign that the server is not running at all and that retries would not help. This option is for mirroring unreliable sites whose servers tend to disappear for short periods of time.{code}
 

> Travis Build Fails to Download Maven
> ------------------------------------
>
>                 Key: METRON-2143
>                 URL: https://issues.apache.org/jira/browse/METRON-2143
>             Project: Metron
>          Issue Type: Bug
>            Reporter: Nick Allen
>            Assignee: Nick Allen
>            Priority: Major
>
> {code:java}
> 0.50s$ wget https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip
> --2019-05-22 21:24:16--  https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip
> Resolving archive.apache.org (archive.apache.org)... 163.172.17.199
> Connecting to archive.apache.org (archive.apache.org)|163.172.17.199|:443... connected.
> HTTP request sent, awaiting response... 503 Service Unavailable
> 2019-05-22 21:24:17 ERROR 503: Service Unavailable.
> The command "wget https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip" failed and exited with 8 during .
> Your build has been stopped.{code}
> See [https://travis-ci.org/apache/metron/jobs/535942660] for an example.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)