Created
August 7, 2015 00:20
-
-
Save CptSpaceToaster/c349397a2a43e78380cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 372, in _make_request | |
httplib_response = conn.getresponse(buffering=True) | |
TypeError: getresponse() got an unexpected keyword argument 'buffering' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 544, in urlopen | |
body=body, headers=headers) | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 374, in _make_request | |
httplib_response = conn.getresponse() | |
File "/usr/lib/python3.4/http/client.py", line 1147, in getresponse | |
response.begin() | |
File "/usr/lib/python3.4/http/client.py", line 351, in begin | |
version, status, reason = self._read_status() | |
File "/usr/lib/python3.4/http/client.py", line 313, in _read_status | |
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") | |
File "/usr/lib/python3.4/socket.py", line 371, in readinto | |
return self._sock.recv_into(b) | |
ConnectionResetError: [Errno 104] Connection reset by peer | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line 370, in send | |
timeout=timeout | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 597, in urlopen | |
_stacktrace=sys.exc_info()[2]) | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/util/retry.py", line 245, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/packages/six.py", line 309, in reraise | |
raise value.with_traceback(tb) | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 544, in urlopen | |
body=body, headers=headers) | |
File "/usr/local/lib/python3.4/dist-packages/requests/packages/urllib3/connectionpool.py", line 374, in _make_request | |
httplib_response = conn.getresponse() | |
File "/usr/lib/python3.4/http/client.py", line 1147, in getresponse | |
response.begin() | |
File "/usr/lib/python3.4/http/client.py", line 351, in begin | |
version, status, reason = self._read_status() | |
File "/usr/lib/python3.4/http/client.py", line 313, in _read_status | |
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") | |
File "/usr/lib/python3.4/socket.py", line 371, in readinto | |
return self._sock.recv_into(b) | |
requests.packages.urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "./main.py", line 111, in <module> | |
response = get_room_chat("L5629499534213120", cfg["marker"]) | |
File "./main.py", line 53, in get_room_chat | |
return s.get("http://www.playinitium.com/chat?roomId={0}&marker={1}".format(roomID, init_marker)) | |
File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 477, in get | |
return self.request('GET', url, **kwargs) | |
File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 465, in request | |
resp = self.send(prep, **send_kwargs) | |
File "/usr/local/lib/python3.4/dist-packages/requests/sessions.py", line 573, in send | |
r = adapter.send(request, **kwargs) | |
File "/usr/local/lib/python3.4/dist-packages/requests/adapters.py", line 415, in send | |
raise ConnectionError(err, request=request) | |
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment