MikaLendingBot
MikaLendingBot copied to clipboard
Error: HTTP Error 403: Forbidden Requesting returnOpenLoanOffers.
Hello, getting this error when opening lendingbot.py:
2017-06-26 18:55:08 Error: HTTP Error 403: Forbidden Requesting returnOpenLoanOffers. Poloniex reports: '
check you KEY/SECRET, make sure you haeve IP filtering set correctly
I have checked KEY/SECRET, they are both correct. IP filtering has been set off. I am sitll getting the same error.
Try creating a new Key/Secret.
The "Nonce Error"-Section from https://www.poloniexlendingbot.com/docs/states-and-errors could be included in the Wiki
https://github.com/BitBotFactory/poloniexlendingbot/blob/master/lendingbot.py#L96 Nonce should be handled here.
yes it should. would be interesting if it works now and if he message appeared in his log
This Nonce issue has been plaguing me for a while, Yesterday I done a git pull and setup a brand new key, but still getting Nonce issues. If I restart the service then all good and it carries on, but for how long..
Any ideas?
Basically if you are using the bot only once with it's own KEY/Secret you shouldn't have any noance issues...
The noance is an increasing number that should always go up between API calls on an API key, a single bot handles this without issues.
I actually found the issue. I was logging in from a VPN because I was in China and Poloniex required my computer to complete a Captcha test for the API request. The bot has been working fine in Hong Kong where no VPN is required.
"Poloniex required my computer to complete a Captcha test for the API request" what a dump thing, can you send the response you received, maybe we can somehow indicate to the user. Did you manage to resolve it?
I have the same problem.
@arruah follow the thread, not a bot issue.
this is a captcha check error,
polonex is asking fill the captcha
2017-07-21 15:30:16 Error: HTTP Error 403: Forbidden Requesting returnActiveLoans. Poloniex reports: '
how to solve this error
https://bitcointalk.org/index.php?topic=2026472.0 might be the key
does the nonce have to be sequential? else, one could just add nonce+math.random() to achieve a higher nonce, or am i wrong. not sure if would help. But also, concerning the bitcointalk discussion, we just had a PR that handled more cloudflare errors, but i think 403 was not one of them.
Nonce most be sequential. This bug is not because of the nonce, but related to Poloniex captcha.
Even I get this error urllib.error.HTTPError: HTTP Error 403: Forbidden
I am using the below code exactly and using the correct key have checked it multiple times. https://pastebin.com/fbkheaRb
Please any help will be really appreciated.
Error HTTP Error 403: Forbidden Requesting returnActiveLoans. Poloniex reports: I am also getting the same issue. Did anyone find a way to fix this?
The issue is not seen when I try the API from a United States IP address. Guess Poloniex have region based IP restrictions
Try connecting to a VPN
https://poloniex.com/public?command=returnTicker
You can use this link to check if you current IP address is restricted or not. If your IP is restricted, the above page will ask you to fill a captcha, if not blocked a JSON response will be returned