Giter Site home page Giter Site logo

Comments (13)

hwki avatar hwki commented on September 3, 2024

Can you try recreating one of the widgets to see if it works? I think due to a prior bug fix any of the "partially supported" coins that work only on Coingecko might require being recreated.

from simplebitcoinwidget.

nhct0 avatar nhct0 commented on September 3, 2024

Deleted, then recreated the widgets for RPL and Nexo (using the "Current Price" widget), still no prices are displayed from CoinGecko.

As a further test, added from scratch a large market cap coin I'd never selected in this app before (XRP), works great for other exchanges but fails with CoinGecko.

from simplebitcoinwidget.

hwki avatar hwki commented on September 3, 2024

I'm unable to reproduce, everything works fine for me. What country are you in?
I do see that CoinGecko has restricted calls to 30 per minute. Do you maybe have a lot of widgets?

from simplebitcoinwidget.

nhct0 avatar nhct0 commented on September 3, 2024

In the US. Simple Crypto Widget is the only one being used.

I don't suppose you could consider adding, say, Kraken, Coinbase / Pro or any other exchange to RPL, at least?

To stake ETH, I operate a couple of Rocket Pool minipools, so the RPL/ETH ratio is essential to keep an eye on at all times.

from simplebitcoinwidget.

hwki avatar hwki commented on September 3, 2024

@nhct0 The app has "full" support for a number of coins, where it knows about them and can pull them down from multiple exchanges. The rest are "partially" supported, where the list is pulled dynamically from coingecko. There are just too many crypto coins to add them all to the app.

For Rocket Pool, it is not supported on Kraken or Coinbase. The only exchange I integrate with that it is listed on aside from Coingecko is Binance: https://www.coingecko.com/en/coins/rocket-pool

That being said, I can look into adding it as well as support for some of the other exchanges listed there.
I can also add full support for Kaspa as well.

Regarding this issue though, I can't reproduce it for the life of me. Does it still happen if you do a fresh install of the app? If so is there any other configuration set up aside from the default? Do you see a value if you try to hit the API directly? (Just paste this url in a browser)
https://api.coingecko.com/api/v3/simple/price?ids=rocket-pool&vs_currencies=usd

from simplebitcoinwidget.

nhct0 avatar nhct0 commented on September 3, 2024

Thanks to your link, the mystery is solved: my IP has been blocked by CoinGecko API. Laptop screenshot

Although I'd never used their API explicitly, as it happens, on Nov. 13th I played around a bit with the prominently featured, conspicuously warning-free "Export as .csv" button on their ETH historical data page, while helping a Reddit user get some clean daily data going back a few years.

Apparently, no good deed goes unpunished... the omnipotent Cloudflare gods were not amused.

But since your app's CoinGecko-sourced coins didn't break on my phone until a couple days later, I failed to connect the dots, until now, with your link. Still surprised to see the IP block remain in effect this long, 4-5 days and counting. Let's see if it's a lifetime ban, lol.

The block is on my home internet public IP, not any specific device, so easy workarounds exist even @home — e.g., disable wifi, tap coins to update, enable wifi, all's well. Please consider the issue closed.

Thanks again for your help and the excellent app.

from simplebitcoinwidget.

hwki avatar hwki commented on September 3, 2024

Thanks. I have received reports from other users showing the same thing, blocked by the API.

I pushed out an update yesterday that should play a little bit nicer with CoinGecko. Might help avoid getting blocked but not sure. I did add RocketPool and Nexo, so I would recommend switching them over to another exchange for now.

Leaving this issue open as I'm sure this isn't the last time this will be a problem. I might have to remove CoinGecko altogether in the future.

from simplebitcoinwidget.

nhct0 avatar nhct0 commented on September 3, 2024

Got it, thanks. Updated to 8.4.2, CoinGecko is the only exchange available for RPL and Nexo, is that correct?

from simplebitcoinwidget.

hwki avatar hwki commented on September 3, 2024

No it shouldn't be. Can you please try again with a new widget?

from simplebitcoinwidget.

nhct0 avatar nhct0 commented on September 3, 2024

Did that now, Nexo does have 5 exchanges to choose from (!), RPL CoinGecko only.

from simplebitcoinwidget.

nhct0 avatar nhct0 commented on September 3, 2024

Sorry, never mind, deleted all (two) RPL, then recreated, seeing 20+ exchanges now. Fantastic, thanks!

from simplebitcoinwidget.

hwki avatar hwki commented on September 3, 2024

I've implemented some improvements that should hopefully stop Coingecko from rate limiting in most cases, at least for now.
Release 8.5.0

from simplebitcoinwidget.

nhct0 avatar nhct0 commented on September 3, 2024

Great, thanks.

from simplebitcoinwidget.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.