You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are having an issue where trying to make a get request to a server can hang for ~100 seconds, even when set with a lower timeout and wrapped in asyncio.wait_for. The relevant code is the following:
This seems to hang while closing the connection, during _SelectorSocketTransport._call_connection_lost(None) (see UpstreamData/pyasic#130 (comment)).
I don't know much about whats actually wrong with the server, but I know it is an embedded device, running lighthttpd, and is in some kind of failure state.
I have tried everything I can think of, but not really sure where else to take this, so any help is much appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
RE: UpstreamData/pyasic#130
We are having an issue where trying to make a get request to a server can hang for ~100 seconds, even when set with a lower timeout and wrapped in
asyncio.wait_for
. The relevant code is the following:https://github.com/UpstreamData/pyasic/blob/54f02927120d4e293e69c7387aa55f29d877a6dd/pyasic/miners/factory.py#L554-L572
This seems to hang while closing the connection, during
_SelectorSocketTransport._call_connection_lost(None)
(see UpstreamData/pyasic#130 (comment)).I don't know much about whats actually wrong with the server, but I know it is an embedded device, running lighthttpd, and is in some kind of failure state.
I have tried everything I can think of, but not really sure where else to take this, so any help is much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions