frankie567 / httpx-ws

WebSocket support for HTTPX
https://frankie567.github.io/httpx-ws/
MIT License
102 stars 12 forks source link

unhandled WebSocketNetworkError in ping. #46

Closed T-256 closed 1 year ago

T-256 commented 1 year ago
Traceback (most recent call last):
  File "C:\Python37x86\lib\site-packages\httpx_ws\_api.py", line 978, in _background_keepalive_ping
    pong_callback = await self.ping()
  File "C:\Python37x86\lib\site-packages\httpx_ws\_api.py", line 625, in ping
    await self.send(event)
  File "C:\Python37x86\lib\site-packages\httpx_ws\_api.py", line 660, in send
    raise WebSocketNetworkError() from e
httpx_ws._api.WebSocketNetworkError