Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken pipe #1

Open
SmartManoj opened this issue Apr 19, 2022 · 0 comments
Open

Broken pipe #1

SmartManoj opened this issue Apr 19, 2022 · 0 comments

Comments

@SmartManoj
Copy link
Contributor

SmartManoj commented Apr 19, 2022

Exception ignored in thread started by: <bound method Session.heartbeat of <requestsWS.session.Session object at 0x7fd3f66d3fa0>>
Traceback (most recent call last):
  File "/home/ssh-key-2021-12-25/.local/lib/python3.8/site-packages/requestsWS/session.py", line 149, in heartbeat
    self.ws.send(payload)
  File "/usr/lib/python3/dist-packages/websocket/_core.py", line 242, in send
    return self.send_frame(frame)
  File "/usr/lib/python3/dist-packages/websocket/_core.py", line 267, in send_frame
    l = self._send(data)
  File "/usr/lib/python3/dist-packages/websocket/_core.py", line 437, in _send
    return send(self.sock, data)
  File "/usr/lib/python3/dist-packages/websocket/_socket.py", line 117, in send
    return sock.send(data)
  File "/usr/lib/python3.8/ssl.py", line 1173, in send
    return self._sslobj.write(data)
BrokenPipeError: [Errno 32] Broken pipe

def keepConnection(self, wsUrl, interval, data=None, json=None):

keepConnection should reconnect if server closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant