Comments (5)
It looks like Poloniex is fiddling with API call throttling. We've seen this before and things returned to normal after a while.
Nevertheless, here are steps you can follow when this specific error is seen:
-
Make sure you don't have other scripts running towards the same Poloniex account or any other linked accounts. Linked accounts share the API limit. Any API use will contribute to the limit, even if it's from a different IP address or using a different API key.
-
Update poloLender Pro config parameters
maxApiCallsPerDuration
andapiCallsDurationMS
(default values aremaxApiCallsPerDuration = 8
andapiCallsDurationMS = 1000
, which means max 8 API calls every 1000 milliseconds). You can try decreasingmaxApiCallsPerDuration
(e.g. to a value between 7 and 4) and/or increasing apiCallsDurationMS (e.g. to a value between 1100 and 3000).Note: config parameters are stored in
config.json
file when running the bot locally or on mongodb database when running on Heroku (look for mlab add-on)
from pololender.
So I still have the same issue even when dropping down the API Calls to 4:
"maxApiCallsPerDuration": 4,
"apiCallsDurationMS": 1500,
"advancedSettings": {
"parallelApiExecution": false,
"nonceDelay": 500,
"muteNonceErrors": false
},
It starts off fine, but after the initial loan offer/ taken/canceled section on startup, it starts to send API limit errors.
I also am seeing consistent crashes every day or so while running the code on an AWS node:
Killed
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR! [email protected] start: `node -r babel-register app.js`
npm ERR! Exit status 137
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /../../../_logs/2017-10-02T21_12_30_011Z-debug.log
from pololender.
Will look into adding some debug info to display the api call numbers.
The crashes seem to happen due to out of memory. When browser is open, output lines are being added to the logtrail and eventually the system runs out of memory.
I will implement discarding older logtrail messages in the next revision; in the meantime, as a workaround, keep your browser closed when not needed for longer periods or time.
from pololender.
Both good revisions. I actually am running the deployment mostly headless on an ec2, and it is sending telegram messages via api, which might be the cause. I only have used the browser for initial setup on the newer version.
from pololender.
Please use v1.3.4 and set the environment variable DEBUG=pololender
to get the API call debug log.
It indicates the time and number of API calls per second, which can help in troubleshooting and/or reporting the issue to Poloniex.
from pololender.
Related Issues (20)
- Excessive API polling? HOT 3
- Can I disabling Offer day HOT 1
- Live tab values not refreshing HOT 8
- CLAM not being monitored? HOT 1
- XMR monitoring HOT 2
- ESOCKETTIMEDOUT HOT 2
- More lending days for higher rate?
- XMR HOT 1
- CLAM coin is not supported HOT 1
- pololender auto start debian? HOT 1
- Application crashing at start HOT 5
- I want to add a certain coin in poloLender. HOT 1
- XRP HOT 1
- bitfinex Support
- BCN HOT 1
- safe-hollows.crypto.zone HOT 1
- Adding USDT and USDC HOT 1
- Web interface not running? HOT 1
- bfxPublic.ticker Error 429 HOT 3
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 pololender.