helium-tax icon indicating copy to clipboard operation
helium-tax copied to clipboard

Rate limiting preventing download

Open DTB-K opened this issue 2 years ago • 4 comments

Since we have to pull a HNT price for every single row, it's almost impossible to do this without slowing down to glacial speed, or downloads failing because the Helium API starts returning HTTP 429s.

A partial solution was #83.

When I have time I'll update the code to use that where possible, and then fail over to the API again for missing blocks.


Original report by @dtb-k:

Hello.

After clicking "Do some taxes" I can see the numbers crunching but then no download is offered then the numbers finish crunching.

DTB-K avatar Apr 01 '22 13:04 DTB-K

@DTB-K yep it looks like this is related to Helium rate limiting their API, I will investigate further.

davetapley avatar Apr 01 '22 16:04 davetapley

@DTB-K okay try again now 🤞🏻

davetapley avatar Apr 01 '22 20:04 davetapley

@DTB-K okay try again now 🤞🏻

Thank you. It seems a little intermittent still but I managed to get the export yesterday evening. I've sent a little HNT in thanks.

DTB-K avatar Apr 02 '22 14:04 DTB-K

Glad you got it to export, thanks for the HNT. Just as an FYI see also: https://github.com/davetapley/helium-tax/discussions/81#discussioncomment-2526514

davetapley avatar Apr 07 '22 20:04 davetapley