-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
Ropsten API seems to produce 403 Bad Response? #110
Comments
I'm not for sure exactly... I'm trying to work it out.. thank you for your
help in advance. I'll see what I can figure out with it.
…On Mon, Aug 23, 2021, 7:21 AM walesdata ***@***.***> wrote:
Hello!
I would like to use your library to access the Ropsten network. I saw that
the main change to switch networks was the base URL. I cloned your repo,
and added a flag to the Account and Client *init* functions for
use_ropsten=False. Then added an if in the init to change the URL if that
is true. Testing this produced a 403 error.
I then put the Account class back to its original state, and replaced
client.py with client.ropsten.py and tried again. Again, this produced a
403 bad response.
Have you encountered this issue before, and do you know the root cause of
it? If I can get this working, I will submit the code.
Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#110>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATAXCVOI6KFI2CTALXQ6D4LT6JDOTANCNFSM5CUSMV5A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
U robbd me |
hello I meet the same problem error 403. Essentially Etherscan is blocking requests that don't provide a User-agent so add a User-agent header property if using the Python requests module. ----https://stackoverflow.com/questions/52343308/how-to-run-shell-script-file-on-ipython-at-google-colabthat might help you. Thank you! |
Hello!
I would like to use your library to access the Ropsten network. I saw that the main change to switch networks was the base URL. I cloned your repo, and added a flag to the Account and Client init functions for use_ropsten=False. Then added an if in the init to change the URL if that is true. Testing this produced a 403 error.
I then put the Account class back to its original state, and replaced client.py with client.ropsten.py and tried again. Again, this produced a 403 bad response.
Have you encountered this issue before, and do you know the root cause of it? If I can get this working, I will submit the code.
Thank you!
The text was updated successfully, but these errors were encountered: