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
Using the realtime database module with a stream, I frequently get an error when trying to close the connection
Code Snippet
This happens anytime close() is call
`my_stream.close()`
Relevant log output
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/firebase/database/_stream.py", line 63, in close
self.sse.close()
File "/usr/local/lib/python3.9/dist-packages/firebase/database/_closable_sse_client.py", line 29, in close
self.resp.raw._fp.fp.raw._sock.shutdown(socket.SHUT_RDWR)
AttributeError: 'NoneType' object has no attribute 'raw'
### Anything else?
Right now I catch the exception and log it, then move on. Much of the time this works, but sometimes the entire app hangs while the thread is waiting on this and I have to kill the script and start it again.
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Environment
What happened?
Using the realtime database module with a stream, I frequently get an error when trying to close the connection
Code Snippet
Relevant log output
The text was updated successfully, but these errors were encountered: