sdap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Greguska (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SDAP-121) Get Request Hangs
Date Wed, 11 Jul 2018 16:42:00 GMT
Frank Greguska created SDAP-121:
-----------------------------------

             Summary: Get Request Hangs
                 Key: SDAP-121
                 URL: https://issues.apache.org/jira/browse/SDAP-121
             Project: Apache Science Data Analytics Platform
          Issue Type: Bug
            Reporter: Frank Greguska


I frequently run into a problem where it seems like requests for '/list' and other endpoint
(that are not '/') hang forever. One request will work and then the next request won't.

After doing some testing from a Jupyter notebook it seems like it might have something to
do with the way the server is handling TCP connections. 

If I try to use a requests.Session to issue consecutive calls to '/list', the first request
works and the second one just hangs. However, if I simply use requests.get() and close the
connection on each request, then I can send multiple requests consecutively.

Need to investigate this more and figure out why this is happening



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

Mime
View raw message