futapi / fut

fut is a simple library for managing Fifa 19 Ultimate Team.
GNU General Public License v3.0
317 stars 138 forks source link

relist #203

Open converge opened 8 years ago

converge commented 8 years ago

hi,

when I try to use the relist() function, I get this return:

Erro: Traceback (most recent call last): File "/opt/fut_bot/main.py", line 1040, in initialize updateTradePile() File "/opt/fut_bot/main.py", line 304, in updateTradePile fut.relist() File "/opt/fut_bot/fut/core.py", line 765, in relist self.put(self.urls['fut']['SearchAuctionsReListItem']) File "/opt/fut_bot/fut/core.py", line 456, in put return self.request('PUT', url, _args, *_kwargs) File "/opt/fut_bot/fut/core.py", line 426, in request raise InternalServerError(err_code, err_reason, err_string) InternalServerError

I checked the url, it's correct: https://utas.external.s2.fut.ea.com:443/ut/game/fifa17/auctionhouse/relist

Checked in the WebApp, it's relisting (relist all).

any idea ?

oczkers commented 8 years ago

Is it relisting successfully any card or simply crashing every time?

Anyone could provide original request to compare?

converge commented 8 years ago

@oczkers it's crashing everytime.

How could I provide original request ?

oczkers commented 8 years ago

@converge use fiddler2.com to sniff request and response

http://www.asjava.com/tools/fiddler-tutorial-how-to-use-fiddler/

luke14free commented 8 years ago

+1 confirm that I have this issue as well. will try to see if I can find a patch

converge commented 8 years ago

just found out that updating "requests" package to 2.11 fix the problem.

The problem occurred in requests 2.4.3-6 (debian jessie)

converge commented 8 years ago

The problem is back in requests 2.11

ebdaf commented 8 years ago

I'm having the issue now as well. relist suddenly stopped working during my last connection

ebdaf commented 8 years ago

Issue resolved for me after I removed cookies.txt

converge commented 8 years ago

@ebdaf did you fixed it not using the cookie option in your connection statement ?

ebdaf commented 8 years ago

@converge not sure if I understand you correctly. I do define cookies in my opening connection. I deleted the actual .txt file. I did not make any adjustments to the connection statement.

oczkers commented 8 years ago

Guys can You compare failing request & response to correct one so we could work on fix?

converge commented 8 years ago

@oczkers sure, I'm aware. I didn't do it yet because now it's hard to catch the problem, it happens sometimes.