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

"ERROR - Handshake status 400 Bad Request" and then "ERROR - Handshake status 429 Too Many Requests" #5

Open
xiaoxin233 opened this issue Aug 3, 2018 · 0 comments

Comments

@xiaoxin233
Copy link

2018-08-02 23:13:34,556 - ERROR - Handshake status 400 Bad Request
2018-08-02 23:13:34,558 - ERROR - Traceback (most recent call last):
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_app.py", line 236, in run_forever
host=host, origin=origin)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_core.py", line 220, in connect
self.handshake_response = handshake(self.sock, *addrs, **options)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_handshake.py", line 69, in handshake
status, resp = _get_resp_headers(sock)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_handshake.py", line 135, in _get_resp_headers
raise WebSocketBadStatusException("Handshake status %d %s", status, status_message)
websocket._exceptions.WebSocketBadStatusException: Handshake status 400 Bad Request

2018-08-02 23:13:35,536 - ERROR - Handshake status 400 Bad Request
2018-08-02 23:13:35,536 - ERROR - Traceback (most recent call last):
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_app.py", line 236, in run_forever
host=host, origin=origin)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_core.py", line 220, in connect
self.handshake_response = handshake(self.sock, *addrs, **options)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_handshake.py", line 69, in handshake
status, resp = _get_resp_headers(sock)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_handshake.py", line 135, in _get_resp_headers
raise WebSocketBadStatusException("Handshake status %d %s", status, status_message)
websocket._exceptions.WebSocketBadStatusException: Handshake status 400 Bad Request
.
.
.
(same error about 200 times in 90 seconds)
.
.
.

2018-08-02 23:15:06,825 - ERROR - Handshake status 400 Bad Request
2018-08-02 23:15:06,826 - ERROR - Traceback (most recent call last):
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_app.py", line 236, in run_forever
host=host, origin=origin)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_core.py", line 220, in connect
self.handshake_response = handshake(self.sock, *addrs, **options)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_handshake.py", line 69, in handshake
status, resp = _get_resp_headers(sock)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_handshake.py", line 135, in _get_resp_headers
raise WebSocketBadStatusException("Handshake status %d %s", status, status_message)
websocket._exceptions.WebSocketBadStatusException: Handshake status 400 Bad Request

2018-08-02 23:15:06,848 - ERROR - Handshake status 429 Too Many Requests
2018-08-02 23:15:06,849 - ERROR - Traceback (most recent call last):
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_app.py", line 236, in run_forever
host=host, origin=origin)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_core.py", line 220, in connect
self.handshake_response = handshake(self.sock, *addrs, **options)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_handshake.py", line 69, in handshake
status, resp = _get_resp_headers(sock)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_handshake.py", line 135, in _get_resp_headers
raise WebSocketBadStatusException("Handshake status %d %s", status, status_message)
websocket._exceptions.WebSocketBadStatusException: Handshake status 429 Too Many Requests

2018-08-02 23:15:06,875 - ERROR - Handshake status 429 Too Many Requests
2018-08-02 23:15:06,875 - ERROR - Traceback (most recent call last):
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_app.py", line 236, in run_forever
host=host, origin=origin)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_core.py", line 220, in connect
self.handshake_response = handshake(self.sock, *addrs, **options)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_handshake.py", line 69, in handshake
status, resp = _get_resp_headers(sock)
File "/usr/local/python3.6/lib/python3.6/site-packages/websocket/_handshake.py", line 135, in _get_resp_headers
raise WebSocketBadStatusException("Handshake status %d %s", status, status_message)
websocket._exceptions.WebSocketBadStatusException: Handshake status 429 Too Many Requests
.
.
.
(The error 429 never stopped until I kill the process)

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