-
-
Notifications
You must be signed in to change notification settings - Fork 167
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
retry and default timeout #109
Comments
I have been noticing lots of new errors recently. I saw something similar to what you got I was trying to cancel a loan order and it 'failed' with a connection error, but poloniex actually received the request and
And again when trying to create a new loan offer:
I think poloniex has been having some network issues. I was running my loanbot all last night, and was getting errors almost the whole time. I have been getting the following errors (even after setting
And this one is new for me:
|
It looks like Poloniex is working on the problem, I got this new error recently:
|
after last DDoS on polo, for test, i set timeout 120sec. today many time i get error message "Connection timed out. Please try again." after 30 sec of "wait". polo programmers working on API? |
Yeah, I was running into this issue too. Even 10s resulted in some erroneous retries for me. Poloniex did just tweet about their insane user growth and DDoS attacks in the past little while. I guess that's the cause of all these issues. |
OK, so I submitted a ticket with polo support and here is the response:
So I am going to set the default timeout to 80 sec, and maybe work on an api key rotator... NOTE: nonces should not collide because the nonce is re-calculated before retrying (but this is probably what causes the duplicate requests when timeout is set low) |
@s4w3d0ff Are you going to archive a new version for the readme? New people installing the latest release will still get the timeout=1 which could cause issues for them. |
ya, I had done a few other small changes and wanted to make sure it functioned. Ill do a release now. |
OK v0.4.3 has been archived with 80 second timeout The above errors should be minimal now unless you are sending lots of requests that result in errors. |
I got this from Polo, after experiencing much the same thing. They suggested 130 second timeout.
|
You can also set |
i use default timeout value, 1 sec. ping to poloniex.com <2ms. place some sell order. sleep time between order places is 2 sec. coach set to 1 call/1sec. some time i found sell order duplicates in order list.
{'orderNumber': '76671857444', 'type': 'sell', 'total': '0.00231183', 'date': '2017-05-06 08:39:18', 'margin': 0, 'amount': '0.10391764', 'startingAmount': '0.10391764', 'rate': '0.02224676'}, {'orderNumber': '76671858443', 'type': 'sell', 'total': '0.00231183', 'date': '2017-05-06 08:39:18', 'margin': 0, 'amount': '0.10391764', 'startingAmount': '0.10391764', 'rate': '0.02224676'}
conclusion (for me) at this time for poloniex 1 second is not perfect timeout value!
The text was updated successfully, but these errors were encountered: