Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool manager fails to use alternate mirror when downloading packages/tools #5062

Open
YukiSuter opened this issue Jan 9, 2025 · 1 comment

Comments

@YukiSuter
Copy link

I'm not in Poland, but similar issue with unresolved package mirror. It appears to only want to use usc1.contabostorage.com. I think this is a core bug since it never tries a different mirror. I can confirm manually trying this URL in browser fails, but a different mirror (https://dl.registry.nm1.platformio.org/) functions perfectly fine and downloads the relevant tool. It's also worth noting even when downloaded and placed into .platformio/packages, it doesnt recognise this and attempts to download from contabo aswell. (I'm in the UK I have no idea why it thinks usc1 is the fastest)


Tool Manager: Warning! Package Mirror: HTTPSConnectionPool(host='usc1.contabostorage.com', port=443): Max retries exceeded with url: /250040e607e8431abaff8727621872f9:pioregmirrorus/tools/07/a1/2ec67e82f538756d6aa62fa3519435fdd266e9cc16eec52fd6a36e1db113/tool-mkfatfs-windows_amd64-2.0.1.tar.gz (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D23B0C2C90>: Failed to resolve 'usc1.contabostorage.com' ([Errno 11001] getaddrinfo failed)"))
Tool Manager: Looking for another mirror...
Tool Manager: Error: Please read https://bit.ly/package-manager-ioerror
Tool Manager: Warning! Package Mirror: HTTPSConnectionPool(host='usc1.contabostorage.com', port=443): Max retries exceeded with url: /250040e607e8431abaff8727621872f9:pioregmirrorus/tools/07/a1/2ec67e82f538756d6aa62fa3519435fdd266e9cc16eec52fd6a36e1db113/tool-mkfatfs-windows_amd64-2.0.1.tar.gz (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D23B0D5190>: Failed to resolve 'usc1.contabostorage.com' ([Errno 11001] getaddrinfo failed)"))
Tool Manager: Looking for another mirror...
Tool Manager: Error: Please read https://bit.ly/package-manager-ioerror
Tool Manager: Warning! Package Mirror: HTTPSConnectionPool(host='usc1.contabostorage.com', port=443): Max retries exceeded with url: /250040e607e8431abaff8727621872f9:pioregmirrorus/tools/07/a1/2ec67e82f538756d6aa62fa3519435fdd266e9cc16eec52fd6a36e1db113/tool-mkfatfs-windows_amd64-2.0.1.tar.gz (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D23B0D10D0>: Failed to resolve 'usc1.contabostorage.com' ([Errno 11001] getaddrinfo failed)"))
Tool Manager: Looking for another mirror...
Tool Manager: Error: Please read https://bit.ly/package-manager-ioerror
Tool Manager: Warning! Package Mirror: HTTPSConnectionPool(host='usc1.contabostorage.com', port=443): Max retries exceeded with url: /250040e607e8431abaff8727621872f9:pioregmirrorus/tools/07/a1/2ec67e82f538756d6aa62fa3519435fdd266e9cc16eec52fd6a36e1db113/tool-mkfatfs-windows_amd64-2.0.1.tar.gz (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D23B033090>: Failed to resolve 'usc1.contabostorage.com' ([Errno 11001] getaddrinfo failed)"))
Tool Manager: Looking for another mirror...
Tool Manager: Error: Please read https://bit.ly/package-manager-ioerror
Tool Manager: Warning! Package Mirror: HTTPSConnectionPool(host='usc1.contabostorage.com', port=443): Max retries exceeded with url: /250040e607e8431abaff8727621872f9:pioregmirrorus/tools/07/a1/2ec67e82f538756d6aa62fa3519435fdd266e9cc16eec52fd6a36e1db113/tool-mkfatfs-windows_amd64-2.0.1.tar.gz (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D23B0D3950>: Failed to resolve 'usc1.contabostorage.com' ([Errno 11001] getaddrinfo failed)"))
Tool Manager: Looking for another mirror...
Tool Manager: Error: Please read https://bit.ly/package-manager-ioerror
Tool Manager: Warning! Package Mirror: HTTPSConnectionPool(host='usc1.contabostorage.com', port=443): Max retries exceeded with url: /250040e607e8431abaff8727621872f9:pioregmirrorus/tools/07/a1/2ec67e82f538756d6aa62fa3519435fdd266e9cc16eec52fd6a36e1db113/tool-mkfatfs-windows_amd64-2.0.1.tar.gz (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x000001D23B0D6610>: Failed to resolve 'usc1.contabostorage.com' ([Errno 11001] getaddrinfo failed)"))
Tool Manager: Looking for another mirror...

Originally posted by @YukiSuter in #5034 (comment)

@YukiSuter
Copy link
Author

For some more context, I'm attempting to upload code (which builds perfectly fine) to an ESP32-S3-Devkitc-1 board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant