[ https://issues.apache.org/jira/browse/FINERACT-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yemdjih Kaze Nasser resolved FINERACT-1128. ------------------------------------------- Fix Version/s: 1.4.0 Resolution: Fixed > 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 > Assignee: Petri Tuomola > Priority: Major > Fix For: 1.4.0 > > > 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)