Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

when i try to connect to socket i m getting this error #132

Open
shardulR1 opened this issue Apr 20, 2018 · 0 comments
Open

when i try to connect to socket i m getting this error #132

shardulR1 opened this issue Apr 20, 2018 · 0 comments
Assignees

Comments

@shardulR1
Copy link

==================

Traceback (most recent call last):
File "/home/pi/Desktop/finalclient.py", line 12, in
ws.connect("Actual socket address'")
File "/usr/local/lib/python2.7/dist-packages/websocket/_core.py", line 220, in connect
self.handshake_response = handshake(self.sock, *addrs, **options)
File "/usr/local/lib/python2.7/dist-packages/websocket/_handshake.py", line 69, in handshake
status, resp = _get_resp_headers(sock)
File "/usr/local/lib/python2.7/dist-packages/websocket/_handshake.py", line 133, in _get_resp_headers
status, resp_headers, status_message = read_headers(sock)
File "/usr/local/lib/python2.7/dist-packages/websocket/_http.py", line 245, in read_headers
status_message = status_info[2]
IndexError: list index out of range

@deepbrook deepbrook self-assigned this Apr 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants