Connection rate limiting on ppa.launchpad.net?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NULL Project |
New
|
Undecided
|
Unassigned |
Bug Description
I have a bunch of PPAs installed, which were working great until recently. Now when I apt-get update, the first connection succeeds but the rest time out or just plain fail:
Hit:2 http://
...
Err:19 http://
Could not connect to ppa.launchpad.
Err:20 http://
Unable to connect to ppa.launchpad.
Err:21 http://
Unable to connect to ppa.launchpad.
If I comment out the first (mame) entry, then the airshipper entry succeeds and the next one fails.
It seems to me that I'm "connecting too often" but it's not clear how I can make apt be less aggressive, or even better, keep the connection to ppa.launchpad.net open as a polite HTTP client should.
https:/
Does anyone else have this problem, or perhaps some suggestions?
description: | updated |
It appears you’re encountering connection issues with the PPA repositories during apt-get update. This could be due to a number of reasons, including network issues, PPA server problems, or configuration settings. Here are some suggestions to troubleshoot and potentially resolve the issue:
Force IPv4: Sometimes, forcing apt-get to use IPv4 can resolve connection issues. You can do this by adding the following option to your apt-get command: :ForceIPv4= true
sudo apt-get update -o Acquire:
Increase Timeout and Retries: You can increase the timeout and the number of retries for apt-get to wait longer for the PPAs to respond and to retry more times in case of failure: :http:: Timeout= 120 -o Acquire::Retries=3
sudo apt-get update -o Acquire:
Check Network Configuration: Ensure that your network configuration allows connections to the PPA servers. If you’re behind a firewall or proxy, you may need to configure apt-get to use these. sources. list or the corresponding PPA list files in /etc/apt/ sources. list.d/ .
Remove Unresponsive PPAs: If certain PPAs are consistently failing, you might consider removing them or commenting them out in your /etc/apt/
Use a Different Network: If possible, try using a different network to rule out any issues with your current network.
Check PPA Status: Visit the PPA’s page on Launchpad to check if there are any known issues with the PPA itself.
I hope it's helpful for you.
Best Regard, /www.aarp- mahjongg. com
patrick521
https:/