Comments (12)
It seems that poloniex is returning captcha instead of json. In the past this has been because of the location/region of the IP address being used. The latest release of this repo has a new "proxies" argument for the poloniex.Poloniex
object:
from poloniex import Poloniex
Poloniex(proxies={'http': 'socks5://127.0.0.1:1080',
'https': 'socks5://127.0.0.1:1080'}).returnTicker()
You could try using a vpn or contact poloniex support and see if they can remove the captcha from your IP.
from python-poloniex.
my console says that proxies is an unexpected argument :(
from python-poloniex.
MIne too @phyzixmusic
from python-poloniex.
Hi,
I have the same problem like @Pankul94 discribed. But just since 18th March 2018 5:55 am UTC.
This works fine:
import urllib2
import json
ret = urllib2.urlopen(urllib2.Request('https://poloniex.com/public?command=returnTicker'))
The one below fails and gives me the following response as a html in the poloniex webpage design:
Connection Error. Please try again in a few minutes
from poloniex import Poloniex
Poloniex().returnTicker()
So I wonder why. I will have a look at the difference in communication and try to understand why this only fails now and did not before. Happy about any input if someone knows more.
from python-poloniex.
@dstaeger maybe they say that you were requesting too much and got a captcha for your ip,same thing happened to my tracker.Certain countries ip's have a captcha now.
from python-poloniex.
thanks for your input @Pac23
But if an IP related captcha is the case, then both requests (direct request or using the python module) should get that captcha, right? or do I understand something fundamentally wrong here?
from python-poloniex.
Even though I do not use this Python wrapper, I thought it might help mentioning that I also have problems starting at the same time as dstaeger, I'm using Profit Trailer instead.
The strange thing is, so far I've only seen 3 people (including myself) reporting problems at Twitter. I would've expected more if everyone is running into this.
from python-poloniex.
And just now the problem I described earlier:
I have the same problem like @Pankul94 discribed. But just since 18th March 2018 5:55 am UTC.
does not exist anymore on one of my computers (IP in Europe), but still exists on another (IP in US). Strange behavior, but certainly related to some specific change in response behavior of the servers of Poloniex, I cannot imagine anything else. The response behavior seems to depend on both ip and request details. What I can say is that nothing fundamentally changed in my requests recently so I assume its a technical problem on the side of Poloniex, thats the only thing I can think of at the moment.
from python-poloniex.
Well, still no change here (EU IP), although some servers could think I'm in the US due to my IPv6-tunnelprovider being located there, but I checked, the bots are using IPv4 and that address is registered in NL.
Someone from ProfitTrailer read my Tweets and has opened a support ticket. They are gonna look into this. If they find anything, I'll post it here.
from python-poloniex.
All of my IP's are good now. I will post back here anyways if I got to understand more about such events.
from python-poloniex.
The bots are running normally again here, since around 14:30/14:40 (GMT+1/Amsterdam) according to the logs.
Same here, if PT-support figures it out, I'll post the info here.
edit: Got a reply back, they say many people had this problem (while I only found 3 reports on Twitter) and that it wasn't going wrong on PT's end.
from python-poloniex.
My IP is in China if without VPN, I was initially use urllib2
to get the response from poloniex.com, but encountered the captcha
problem. Then I switched to this poloniex
module, and unexpectedly no captcha problem the first time or day I run it. But several days later( yesterday), I tried to download some data with poloniex
, then sadly a HTTP 403 Error came up, I think it's related to the Captcha.
So, my question is:
-
Could you add a proxy configuration to this
poloniex
class? I saw there was this option once before, but somehow it doesn't exist anymore, may I ask why? -
Could you provide some way to check if there is a Captcha returned, just pop up the Captcha picture, and let the end user( me) input the correct numbers/digits on the Captcha and send it back to the website, and get the data downloaded?
Much appreciated.
from python-poloniex.
Related Issues (20)
- additional trading parameters? HOT 1
- Retry delays: I don't know what I'm doing and it shows
- How to bypass recaptcha screen HOT 1
- Connection Timeout HOT 1
- Coach2 class HOT 1
- amount of lowest ask and highest bid HOT 2
- Error: Cannot import name 'Poloniex'
- self.coach=Coach() object is not callable
- New PoloniexSocketed Class HOT 1
- Invalid Json Returned: Poloniex in "Maintenance Mode"
- Data requested is too large. `resolution=auto` HOT 1
- Websocket Market Messages HOT 2
- websocket example not working HOT 2
- Websocket channel 1000 (account) give a empty message HOT 1
- 'Poloniex' object has no attribute 'api'
- returnCurrencies need includeMultiChainCurrencies = true flag HOT 2
- websocket not working as expeced for the latest version: _on_close() takes 2 positional arguments but 4 were given HOT 2
- Websocket ticker on_message exposes 2 arguments but receives 3 HOT 1
- withdrawal fee HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-poloniex.