Pio pkg install [Throttled/Blocked]

Morning All,

I have a suspicion that my IP has been blocked by the pio registry/CDN? I do have CI running which has the potential to install packages however most of the time this SHOULD be cached. While it is possible that I’ve missed something, and do apologise if so, some 24 hours later I still can not install packages from this IP. I’m curious to know what your policies are in this regard (How long will I be blocked for) and what recourse there is to be removed from the block. Happy to make what ever changes I can to be a good citizen but the HTTPClientError from pio is a little opaque and I just want to be 100% sure it is a Block/Abuse mechanism. I can curl registry.platformio.org find but downloads through pio seems to fail after around 3-4kB

Kind Regards

Any suggestions welcome

D

CC @ivankravets possible block

1 Like

How do you run PIO Core? Do you use Docker? If yes, you need to mount the PLATFORMIO_CORE_DIR directory to your container. The packages will be cached. Otherwise, every new project compilation will re-download gigabytes of data and face the limits.

Thanks Ivan. For those playing at home, We were indeed caching vast majority of libs in internal docker image but I have found that mklittlefs was not being cached. Surprised that trigger the limit but so be it. It did take days for the block to be lifted which also surprised. Hope this is of some use to others who might hit this.