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

Michael Vorburger commented on FINERACT-1128:
---------------------------------------------

> One possible solution could be to switch from http to curl and then use 
> curl's facility for retries - i.e. try the connection 5 times with 30 second 
> breaks between retries to see if the container comes up. 

SGTM; very happy to peer review and merge a PR around this, if want to put 
something together. No objections at all (far from it) to switch from 
[https://httpie.org|https://httpie.org/] to good ol' {{curl}}.

> Travis build fails with connection refused
> ------------------------------------------
>
>                 Key: FINERACT-1128
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1128
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Petri Tuomola
>            Priority: Major
>
> Travis build often fails with the following error when trying to check that 
> the Docker container has come up as expected:
> http: error: ConnectionError: HTTPSConnectionPool(host='localhost', 
> port=8443): Max retries exceeded with url: /fineract-provider/actuator/health 
> (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection 
> object at 0x7fd6051a9c18>: Failed to establish a new connection: [Errno 111] 
> Connection refused',)) while doing GET request to URL: 
> [https://localhost:8443/fineract-provider/actuator/health]
> Retrying the build works so this is an issue with infra rather than code - 
> may just be due to the Docker container taking longer than expected in coming 
> up?
> One possible solution could be to switch from http to curl and then use 
> curl's facility for retries - i.e. try the connection 5 times with 30 second 
> breaks between retries to see if the container comes up. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to