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

New Login Issue (Security answer hash) #361

Open kyco16 opened 6 years ago

kyco16 commented 6 years ago

There is a new security answer issue when logging in. Possibly due to FIFA updating their hashing over the answer. My friend and I have tried it on multiple accounts and the issue is still occurring. Here is what the error looks like

File "<input>", line 1, in <module>
  File "/Applications/PyCharm CE.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/kylecoleman/Downloads/FIFA-2/Main.py", line 17, in <module>
    api = fut.Core(user,password,security,platform,sms=sms,debug=debug)
  File "/Users/kylecoleman/Library/Python/2.7/lib/python/site-packages/fut/core.py", line 301, in __init__
    self.__launch__(email, passwd, secret_answer, platform=platform, code=code, totp=totp, sms=sms, emulate=emulate, proxies=proxies, anticaptcha_client_key=anticaptcha_client_key)
  File "/Users/kylecoleman/Library/Python/2.7/lib/python/site-packages/fut/core.py", line 627, in __launch__
    raise FutError(reason='Error during login process (%s).' % (rc['reason']))
FutError
oczkers commented 6 years ago

I cannot reproduce this error - everything is working like it used to and security answer hash is accepted by server. Can You provide more info?

invisible-defects commented 6 years ago

Having the same issue atm. @kyco16 have you found a solution?

invisible-defects commented 6 years ago

Clearing all the __pycache__ solved the problem upd: it's not about __pycache__, actually. you're probably writing multiple accounts' tokens & cookies in one .txt file, try to specify cookies=... & token=... args in fut.Core