CoinGecko-API
CoinGecko-API copied to clipboard
API request timeout
The following error is encountered sometimes.
Error: CoinGecko API request timed out. Current timeout is: 30000 milliseconds
Is there a way to set a default timeout or auto-retry on timeout?
Hello do you still need help ?
Yes
I have a web API hosted on Vercel and it's throwing the same error. Any tips on how to solve it?
@guidospadavecchia may i know which endpoint is that?
@guidospadavecchia may i know which endpoint is that?
It's the one that fetches the cryptocurrencies coin list.
@guidospadavecchia , the payload size is quite big (750kb) might have challenge to be returned within 30sec. but i tried to query this directly on browser and it works: https://api.coingecko.com/api/v3/coins/list
@guidospadavecchia , the payload size is quite big (750kb) might have challenge to be returned within 30sec. but i tried to query this directly on browser and it works: https://api.coingecko.com/api/v3/coins/list
I understand, it works on my computer as well. But I'm trying to host my API on Vercel and there it fails with this error. Is there any way to make the timeout longer?