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

ConnectionError when downloading zip archive from github.com #190

Open
milahu opened this issue Sep 20, 2024 · 0 comments
Open

ConnectionError when downloading zip archive from github.com #190

milahu opened this issue Sep 20, 2024 · 0 comments

Comments

@milahu
Copy link

milahu commented Sep 20, 2024

this happens when qBittorrent is running with unlimited number of connections

$ sudo waydroid-script -a 11 install libndk
INFO: Downloading libndktranslation.zip now to /home/user/.cache/waydroid-script/downloads/libndktranslation.zip .....

OSError: [Errno 16] Device or resource busy   

The above exception was the direct cause of the following exception:

urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f1daf3b8290>: Failed to establish a new connection: [Errno 16] Device or resource busy

The above exception was the direct cause of the following exception:

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /supremegamers/vendor_google_proprietary_ndk_translation-prebuilt/archive/9324a8914b649b885dad6f2bfd14a67e5d1520bf.zip (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f1daf3b8290>: Failed to establish a new connection: [Errno 16] Device or resource busy'))

Max retries exceeded

maybe it should retry more often

workaround: in qBittorrent, limit the number of connections

workaround: use curl to download the zip file

mkdir -p /home/user/.cache/waydroid-script/downloads
curl -L https://github.com/supremegamers/vendor_google_proprietary_ndk_translation-prebuilt/archive/9324a8914b649b885dad6f2bfd14a67e5d1520bf.zip -o /home/user/.cache/waydroid-script/downloads/libndktranslation.zip
sudo waydroid-script -a 11 install libndk
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