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

Running locally returns 403 #17

Open
vahanhov opened this issue May 14, 2023 · 6 comments
Open

Running locally returns 403 #17

vahanhov opened this issue May 14, 2023 · 6 comments

Comments

@vahanhov
Copy link

vahanhov commented May 14, 2023

Running use_ac.py returns a correct looking response in get_aws_config, but then the response in get_market_token returns 403 status code. Any ideas how to fix it?

@xmsley614
Copy link
Owner

Check your network status, maybe using a proxy will fix it.

@vahanhov
Copy link
Author

Thanks! I can query other websites and the initial query in get_aws_config works. Is there anything specific about the get_market_token query that would require a proxy?

@xmsley614
Copy link
Owner

It depends on your network enviornment. In most cases, there is no need to care about.

@ldwnt
Copy link

ldwnt commented Jun 12, 2023

tried with ip in both cn and us, use_ac.py returns 403 while use_ac2.py times out. does ac change their verification again?

@xmsley614
Copy link
Owner

tried with ip in both cn and us, use_ac.py returns 403 while use_ac2.py times out. does ac change their verification again?

use_ac2.py need to update with the request headers and it will work. But, due to Akamai risk control, single IP only can retrive limited results and get 403 after requests exceeding.

@raphaelg
Copy link

raphaelg commented Aug 3, 2023

Tried with different IPs, same problem.
use_ac2.py return 403 while use_ac.py returns nothing.
What do you mean by " use_ac2.py need to update with the request headers " ?
Where can I update those ?

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

4 participants