Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 10.1.0
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Sprint:Summer 5, Summer 6
Attachments
Issue Links
- relates to
-
IGBF-3421 Investigate: RENCI hosting failed August 28 2023
- Closed
Found the issue, the main quick load URLs (http://lorainelab-quickload.scidas.org) aren't responding, it might be some issue with the server, the API is taking a lot of time to respond with a site-not-reachable error. There is no read timeout specified in the HTTP connection code, because of that the HTTP request is waiting till it gets a response.
Types of timeout to set in HttpUrlConnection:
Connect Timeout: Time to establish a connection.
Read Timeout: Time to wait for data after the connection is established.
Typical Usage: Both should be set to reasonable values to ensure your application does not hang indefinitely waiting for a connection or data.
In the code, only connect timeout is set, updated it to have both the timeouts and everything's working correctly. Here is the changed code: https://bitbucket.org/jaya-sravani/integrated-genome-browser/branch/IGBF-3819. Ann Loraine Nowlan Freese Please review and let me know if there are any issues.