Comments (2)
Hi @anishsamant, this sounds like an issue with your RPC provider. Please check you are not being rate limited or similar
from liquidator-v3.
Were you using the solana endpoint (https://api.devnet.solana.com) instead of mango endpoint (https://mango.rpcpool.com/946ef7337da3f5b8d3e4a34e7f88) by any chance @anishsamant ?
I'm observing similar behavior when using the solana public endpoint. First getting
Error: Error reloading accounts: FetchError: request to https://api.mainnet-beta.solana.com/ failed, reason: socket hang up
at /Users/samlaf/devel/solana/mangomarkets/liquidator-v3/scripts/mangoAccounts.ts:37:15
at Generator.throw (<anonymous>)
at rejected (/Users/samlaf/devel/solana/mangomarkets/liquidator-v3/scripts/mangoAccounts.ts:6:65)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
and when I retry I get
Server responded with 429 Too Many Requests. Retrying after 500ms delay...
Server responded with 429 Too Many Requests. Retrying after 500ms delay...
Server responded with 429 Too Many Requests. Retrying after 500ms delay...
Server responded with 429 Too Many Requests. Retrying after 500ms delay...
Server responded with 429 Too Many Requests. Retrying after 500ms delay...
Server responded with 429 Too Many Requests. Retrying after 500ms delay...
......... (~ 100 times) ........... (and then)
/Users/samlaf/devel/solana/mangomarkets/liquidator-v3/scripts/mangoAccounts.ts:6
try {
^
Error: Error reloading accounts: FetchError: request to https://api.mainnet-beta.solana.com/ failed, reason: connect ECONNREFUSED 147.75.42.181:443
at /Users/samlaf/devel/solana/mangomarkets/liquidator-v3/scripts/mangoAccounts.ts:37:15
at Generator.throw (<anonymous>)
at rejected (/Users/samlaf/devel/solana/mangomarkets/liquidator-v3/scripts/mangoAccounts.ts:6:65)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
from liquidator-v3.
Related Issues (13)
- out of memory error HOT 1
- Error Question HOT 1
- Some error questions
- Error about 'data' of 'object null' as it is null HOT 1
- Failed to liquidate account error, this.connection.getLatestBlockhash is not a function HOT 3
- Question: Advanced orders handling in the code
- Error liquidating account: TypeError: Cannot read property 'readUIntLE' of undefined
- Issues with connecting to Mango
- Potential Bug in Liquidate Spot HOT 3
- Cannot Push this onto Heroku HOT 5
- Consistent Transaction Errors HOT 2
- Issue with liquidations HOT 5
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 liquidator-v3.