Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout error #15

Closed
dchambai opened this issue Oct 22, 2021 · 4 comments
Closed

Timeout error #15

dchambai opened this issue Oct 22, 2021 · 4 comments

Comments

@dchambai
Copy link

When I try to run the command I get a "getting auth token" but then get a timeout error. What am I doing wrong?

@athrowaway2021
Copy link
Owner

Not sure, I can't replicate this issue. What region are you using the tool in, what region is your Amazon account from if different, and are you using a VPN? Could you also post the full console output, and censor any private information.

@dchambai
Copy link
Author

I have managed to solve the timeout error by using a VPN, but I now have a new error:

{"response": {"error": {"code": "CredentialError", "message": "The input credential is invalid."}}, "request_id": "1b3ef928-fc03-4f7d-aab3-759d9a9eb39d"}
Traceback (most recent call last):
File "D:\comix-main\comix.py", line 142, in
cmx = Cmx(None)
File "D:\comix-main\comix.py", line 23, in init
self.auth_token = amazon_auth.login(config.EMAIL, config.PASSWORD, config.DEVICE_ID)["access_token"]
TypeError: 'NoneType' object is not subscriptable

@comment-account
Copy link

Regarding your new error... I ran into that as well. The solution, at least for me, was to turn off two-step verification in the Amazon settings. Longer version: I noticed while trying to run the script a few times that I kept receiving confirmation texts from Amazon, as its system was viewing this as login attempts from an unrecognized device. Not knowing what else to do (it's not as if the script has a built-in way to enter a confirmation number), I turned off two-step verification, and the error went away.

@dchambai
Copy link
Author

dchambai commented Nov 9, 2021

Thanks I finally got it to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants