('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Traceback
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 462, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/adapters.py", line 589, in send
resp = conn.urlopen(
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 801, in urlopen
retries = retries.increment(
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/util/retry.py", line 552, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 715, in urlopen
httplib_response = self._make_request(
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 462, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse
response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 287, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/django_project/dgf/management/commands/fetch_pdga_data.py", line 20, in update_friend
pdga.update_friend_tournaments(friend, pdga_api)
File "/home/ubuntu/django_project/dgf/pdga/main.py", line 14, in update_friend_tournaments
update_tournament_results(pdga_api, friend, player_page_soup)
File "/home/ubuntu/django_project/dgf/pdga/results.py", line 50, in update_tournament_results
add_tournament_results(pdga_api, friend, link)
File "/home/ubuntu/django_project/dgf/pdga/results.py", line 43, in add_tournament_results
tournament = add_tournament(pdga_api, pdga_id=tournament_id)
File "/home/ubuntu/django_project/dgf/pdga/common.py", line 28, in add_tournament
pdga_tournament = pdga_api.get_event(tournament_id=pdga_id)
File "/home/ubuntu/django_project/dgf/pdga/api.py", line 140, in get_event
event = self.query_event(tournament_id=tournament_id)
File "/home/ubuntu/django_project/dgf/pdga/api.py", line 137, in query_event
return self._query_pdga('event', query_parameters)
File "/home/ubuntu/django_project/dgf/pdga/api.py", line 160, in _query_pdga
response = requests.get(f'{settings.PDGA_BASE_URL}/{url}?{query}',
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/adapters.py", line 604, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
ConnectionError
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Traceback
http.client.RemoteDisconnected: Remote end closed connection without response
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/adapters.py", line 589, in send resp = conn.urlopen(
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 801, in urlopen retries = retries.increment(
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/util/retry.py", line 552, in increment raise six.reraise(type(error), error, _stacktrace)
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/packages/six.py", line 769, in reraise raise value.with_traceback(tb)
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 715, in urlopen httplib_response = self._make_request(
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 467, in _make_request six.raise_from(e, None)
File "", line 3, in raise_from
File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/connectionpool.py", line 462, in _make_request httplib_response = conn.getresponse()
File "/usr/lib/python3.10/http/client.py", line 1375, in getresponse response.begin()
File "/usr/lib/python3.10/http/client.py", line 318, in begin version, status, reason = self._read_status()
File "/usr/lib/python3.10/http/client.py", line 287, in _read_status raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/django_project/dgf/management/commands/fetch_pdga_data.py", line 20, in update_friend pdga.update_friend_tournaments(friend, pdga_api)
File "/home/ubuntu/django_project/dgf/pdga/main.py", line 14, in update_friend_tournaments update_tournament_results(pdga_api, friend, player_page_soup)
File "/home/ubuntu/django_project/dgf/pdga/results.py", line 50, in update_tournament_results add_tournament_results(pdga_api, friend, link)
File "/home/ubuntu/django_project/dgf/pdga/results.py", line 43, in add_tournament_results tournament = add_tournament(pdga_api, pdga_id=tournament_id)
File "/home/ubuntu/django_project/dgf/pdga/common.py", line 28, in add_tournament pdga_tournament = pdga_api.get_event(tournament_id=pdga_id)
File "/home/ubuntu/django_project/dgf/pdga/api.py", line 140, in get_event event = self.query_event(tournament_id=tournament_id)
File "/home/ubuntu/django_project/dgf/pdga/api.py", line 137, in query_event return self._query_pdga('event', query_parameters)
File "/home/ubuntu/django_project/dgf/pdga/api.py", line 160, in _query_pdga response = requests.get(f'{settings.PDGA_BASE_URL}/{url}?{query}',
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs)
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs)
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs)
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs)
File "/home/ubuntu/env/lib/python3.10/site-packages/requests/adapters.py", line 604, in send raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))