Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1128

Travis build fails with connection refused

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • None
    • None

    Description

      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. 

      Attachments

        Issue Links

          Activity

            People

              ptuomola Petri Tuomola
              ptuomola Petri Tuomola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: