Connection rate limiting on ppa.launchpad.net?

Bug #2065287 reported by christy hernandez
6
This bug affects 1 person
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://ppa.launchpad.net/c.falco/mame/ubuntu focal InRelease
...
Err:19 http://ppa.launchpad.net/frinksy/airshipper/ubuntu focal InRelease
  Could not connect to ppa.launchpad.net:80 (91.189.95.85), connection timed out [IP: 91.189.95.85 80]
Err:20 http://ppa.launchpad.net/gezakovacs/ppa/ubuntu focal InRelease
  Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.85 80]
Err:21 http://ppa.launchpad.net/hpjansson/chafa/ubuntu focal InRelease
  Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.85 80]
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://www.ny-stateofhealth.com

Does anyone else have this problem, or perhaps some suggestions?

Revision history for this message
Pattick Fritz (patrick521) wrote :

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:
sudo apt-get update -o Acquire::ForceIPv4=true

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:
sudo apt-get update -o Acquire::http::Timeout=120 -o Acquire::Retries=3

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.
Remove Unresponsive PPAs: If certain PPAs are consistently failing, you might consider removing them or commenting them out in your /etc/apt/sources.list or the corresponding PPA list files in /etc/apt/sources.list.d/.
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,
patrick521
https://www.aarp-mahjongg.com

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.