This issue seems to happen randomly/intermittently. I can run my script and it will work fine and then wait a minute before running it again and this error is produced. Any clue? I am on the most recently version.
self._wowapi = WowApi(CLIENT_ID, CLIENT_SECRET)
self._auction_header = self._wowapi.get_auctions(self._region_prefix, self._realm_slug, locale='en_US')
data_url = self._auction_header['files'][0]['url']
self._auction_data = self._wowapi.get_data_resource(data_url, self._region_prefix)
Traceback (most recent call last):
File "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
chunked=chunked)
File "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\urllib3\connectionpool.py", line 384, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\urllib3\connectionpool.py", line 380, in _make_request
httplib_response = conn.getresponse()
File "C:\Users\Muffin\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 1321, in getresponse
response.begin()
File "C:\Users\Muffin\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 296, in begin
version, status, reason = self._read_status()
File "C:\Users\Muffin\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 265, 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 "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\urllib3\connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\urllib3\util\retry.py", line 367, in increment
raise six.reraise(type(error), error, _stacktrace)
File "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\urllib3\packages\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\urllib3\connectionpool.py", line 600, in urlopen
chunked=chunked)
File "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\urllib3\connectionpool.py", line 384, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\urllib3\connectionpool.py", line 380, in _make_request
httplib_response = conn.getresponse()
File "C:\Users\Muffin\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 1321, in getresponse
response.begin()
File "C:\Users\Muffin\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 296, in begin
version, status, reason = self._read_status()
File "C:\Users\Muffin\AppData\Local\Programs\Python\Python37\lib\http\client.py", line 265, 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 "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\wowapi\api.py", line 74, in _handle_request
response = self._session.get(url, **kwargs)
File "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\requests\sessions.py", line 546, in get
return self.request('GET', url, **kwargs)
File "E:\Dropbox\Projects\TradeSkillMaster\PyBackend\env\lib\site-packages\requests\sessions.py", line 533, in request