I got following error stack when sending item to tradepile:
[FUTAutobuyer]: Current request count: 72/500, 72/5000
https://utas.external.s2.fut.ea.com:443/ut/game/fifa18/auctionhouse?sku_b=FFT18
{"buyNowPrice": 2100, "startingBid": 2000, "duration": 3600, "itemData": {"id": 305282966753}}
{'sku_b': 'FFT18'}
{'Date': 'Sun, 20 May 2018 16:32:34 GMT', 'Access-Control-Expose-Headers': 'Retry-After', 'X-UnzippedLength': '0', 'Content-Encoding': 'gzip', 'Content-Length': '20', 'Server': 'Jetty(9.4.7.v20170914)'}
403
<RequestsCookieJar[]>
b''
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request
httplib_response = conn.getresponse()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 1009, in recv_into
return self.read(nbytes, buffer)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 871, in read
return self._sslobj.read(len, buffer)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 631, in read
v = self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 54] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/adapters.py", line 440, in send
timeout=timeout
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/util/retry.py", line 357, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/packages/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "<string>", line 2, in raise_from
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request
httplib_response = conn.getresponse()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py", line 258, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/socket.py", line 586, in readinto
return self._sock.recv_into(b)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 1009, in recv_into
return self.read(nbytes, buffer)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 871, in read
return self._sslobj.read(len, buffer)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ssl.py", line 631, in read
v = self._sslobj.read(len, buffer)
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 86, in start_menu
except requests.exceptions.ConnectionError:
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 99, in main_menu_loop
except UnicodeDecodeError:
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 184, in main_menu
self.login(self.account)
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 147, in menu_loop
self.menu_loop(accounts, search_options)
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 343, in logout
def logout(self):
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/futapi/fut/core.py", line 813, in logout
self.r.delete('https://%s/ut/auth' % self.fut_host, timeout=self.timeout)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/sessions.py", line 587, in delete
return self.request('DELETE', url, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/requests/adapters.py", line 490, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(54, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "menu.py", line 49, in <module>
autoBuyer.start_menu(credentials, search_options)
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 91, in start_menu
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 99, in main_menu_loop
except UnicodeDecodeError:
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 184, in main_menu
self.login(self.account)
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 129, in menu_loop
except UnicodeDecodeError:
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 255, in menu
self.slogger.log('new search options are:')
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 1075, in buy_loop
if listed_player_id and search_options['relistPlayer']:
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/autobuyer_lib/autobuyer.py", line 992, in sell_player
self.save_requests()
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/futapi/fut/core.py", line 1245, in sell
rc = self.__request__(method, url, data=json.dumps(data), params={'sku_b': self.sku_b})
File "/Users/soeren/IdeaProjects/fifa18-autobuyer/futapi/fut/core.py", line 759, in __request__
raise UnknownError(rc.content)
futapi.fut.exceptions.UnknownError: b''
Hello,
I got following error stack when sending item to tradepile: