Xenial ppa.launchpad timed out

Asked by Daniel Krzewina

Hello together,

i have a problem regarding several ppa repositories.

Heres the log:

Err:5 http://ppa.launchpad.net/libreoffice/ppa/ubuntu xenial InRelease
Could not connect to ppa.launchpad.net:80 (91.189.95.85), connection timed out
Fetched 465 kB in 2min 0s (3,873 B/s)
Reading package lists... Done
W: Failed to fetch http://ppa.launchpad.net/libreoffice/ppa/ubuntu/dists/xenial/InRelease Could not connect to ppa.launchpad.net:80 (91.189.95.85), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.

Theres no firewall installed on the server and it can also ping ppa.launchpad.net and curl the given url, which makes me wonder why it fails with apt.

curl -O /dev/null http://ppa.launchpad.net/libreoffice/ppa/ubuntu/dists/xenial/InRelease
curl: (3) <url> malformed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Origin: LP-PPA-libreoffice
Label: LibreOffice Fresh
Suite: xenial
Version: 16.04
Codename: xenial
Date: Fri, 11 Oct 2019 21:59:57 UTC
Architectures: amd64 arm64 armhf i386 powerpc ppc64el s390x
Components: main
Description: Ubuntu Xenial 16.04
MD5Sum:

Any ideas what could be wrong? Any Known Issues? Any help is appreciated.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

All. I can suggest is ty later. Possibly some maintenance work or similar

Revision history for this message
Daniel Krzewina (tarasque1337) said :
#2

Waited for quite some time now, is there really a maintenance?

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Everything in your original posting points towards a network problem (e.g. "connection timed out" and a very low speed of "3,873 B/s")

What output do you currently receive for the command

sudo apt update

(You are free to redact the output if there are parts that you want to keep secret, as long as the gist of the information stays readable.)

Revision history for this message
Dwi A JT (jtdoank) said :
#4

I am facing the same thing, my vps is on singapore

any update regarding this matter?

Thanks

Revision history for this message
cristian datculescu (cristian-datculescu) said :
#5

Hi. I have been having this issue since december 22nd and it is still not working properly for us. This affects quite a lot of docker builds that we have running over night.

Please let me know if i can provide some additional information.

Revision history for this message
cristian datculescu (cristian-datculescu) said :
#6

One thing i can add, the issue is really intermittent. This is combined with intermittent failures (timeouts) on security.ubuntu.com as well as archive.ubuntu.com. Those are easy to change to localised mirrors, however the i haven't found a way to change ppa.launchpad.net to a localised mirror.

Successful apt update:
root@326bda5e8e61:/# apt update
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
Get:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Fetched 216 kB in 0s (321 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

Failed apt update:
root@326bda5e8e61:/# apt update
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Get:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Err:5 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
  Could not connect to ppa.launchpad.net:80 (91.189.95.85), connection timed out
Fetched 216 kB in 3s (71.9 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/xenial/InRelease Could not connect to ppa.launchpad.net:80 (91.189.95.85), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.

Even worse apt update:
root@326bda5e8e61:/# apt update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Err:2 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
  Could not connect to ppa.launchpad.net:80 (91.189.95.85), connection timed out
Err:3 http://archive.ubuntu.com/ubuntu xenial InRelease
  Could not connect to archive.ubuntu.com:80 (91.189.88.152), connection timed out [IP: 91.189.88.152 80]
Err:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
  Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.152 80]
Err:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
  Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.152 80]
Fetched 109 kB in 6s (18.2 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial/InRelease Could not connect to archive.ubuntu.com:80 (91.189.88.152), connection timed out [IP: 91.189.88.152 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.152 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease Unable to connect to archive.ubuntu.com:http: [IP: 91.189.88.152 80]
W: Failed to fetch http://ppa.launchpad.net/ondrej/php/ubuntu/dists/xenial/InRelease Could not connect to ppa.launchpad.net:80 (91.189.95.85), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.

Revision history for this message
Manfred Hampl (m-hampl) said :
#7
Revision history for this message
cristian datculescu (cristian-datculescu) said :
#8

Cannot use a browser from there as it is a server however it fails almost the same:

Successful archive.ubuntu.com:

curl -vv --ipv4 http://archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease > /dev/null
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 91.189.88.152...
* TCP_NODELAY set
* Connected to archive.ubuntu.com (91.189.88.152) port 80 (#0)
> GET /ubuntu/dists/xenial-backports/InRelease HTTP/1.1
> Host: archive.ubuntu.com
> User-Agent: curl/7.52.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Tue, 05 Jan 2021 09:48:27 GMT
< Server: Apache/2.4.29 (Ubuntu)
< Last-Modified: Tue, 05 Jan 2021 09:20:00 GMT
< ETag: "1a148-5b823b5fa5000"
< Accept-Ranges: bytes
< Content-Length: 106824
< Cache-Control: max-age=92, proxy-revalidate
< Expires: Tue, 05 Jan 2021 09:50:00 GMT
<
{ [1006 bytes data]
* Curl_http_done: called premature == 0
100 104k 100 104k 0 0 1252k 0 --:--:-- --:--:-- --:--:-- 1256k
* Connection #0 to host archive.ubuntu.com left intact

Failed archive.ubuntu.com:
curl -vv --ipv4 -m30 http://archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease > /dev/null
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 91.189.88.152...
* TCP_NODELAY set
  0 0 0 0 0 0 0 0 --:--:-- 0:00:14 --:--:-- 0* After 14997ms connect time, move on!
* connect to 91.189.88.152 port 80 failed: Connection timed out
* Trying 91.189.88.142...
* TCP_NODELAY set
  0 0 0 0 0 0 0 0 --:--:-- 0:00:22 --:--:-- 0* After 7388ms connect time, move on!
* connect to 91.189.88.142 port 80 failed: Connection timed out
* Failed to connect to archive.ubuntu.com port 80: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to archive.ubuntu.com port 80: Connection timed out

Success ppa.launchpad.net:
curl -vv --ipv4 -m30 http://ppa.launchpad.net/ondrej/php/ubuntu/dists/xenial/InRelease > /dev/null
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 91.189.95.85...
* TCP_NODELAY set
* Connected to ppa.launchpad.net (91.189.95.85) port 80 (#0)
> GET /ondrej/php/ubuntu/dists/xenial/InRelease HTTP/1.1
> Host: ppa.launchpad.net
> User-Agent: curl/7.52.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Tue, 05 Jan 2021 09:51:43 GMT
< Server: Apache/2.4.18 (Ubuntu)
< Last-Modified: Fri, 01 Jan 2021 13:54:01 GMT
< ETag: "5d45-5b7d7129414cb"
< Accept-Ranges: bytes
< Content-Length: 23877
< Cache-Control: max-age=0, s-maxage=270, proxy-revalidate
< Expires: Tue, 05 Jan 2021 09:51:43 GMT
< Connection: close
<
{ [1112 bytes data]
* Curl_http_done: called premature == 0
100 23877 100 23877 0 0 633k 0 --:--:-- --:--:-- --:--:-- 647k
* Closing connection 0

Failed ppa.launchpad.net:
curl -vv --ipv4 -m30 http://ppa.launchpad.net/ondrej/php/ubuntu/dists/xenial/InRelease > /dev/null
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 91.189.95.85...
* TCP_NODELAY set
  0 0 0 0 0 0 0 0 --:--:-- 0:00:29 --:--:-- 0* Connection timed out after 30001 milliseconds
* Curl_http_done: called premature == 1
* stopped the pause stream!
  0 0 0 0 0 0 0 0 --:--:-- 0:00:30 --:--:-- 0
* Closing connection 0
curl: (28) Connection timed out after 30001 milliseconds

The issues are super random. Additionally, sometimes it succeeds after taking a rather long time to connect (10-12 seconds). But this is not very often.

The issue is happening much more often for ppa.launchpad.net than for archive or security.

I have eliminated the output, please let me know if there is something relevant. I think just the headers should do.

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

I am puzzled - the question was asked by Daniel Krzewina but my request for more information is replied to by Cristian Datculescu?

Revision history for this message
Daniel Krzewina (tarasque1337) said :
#10

Well, it seems that i am not the single one that experiences this issue.
For the time being, i am able to workaround the timeout by using IPv6 instead of IPv4, so i guess it
does not have to do with slow bandwith.

Revision history for this message
cristian datculescu (cristian-datculescu) said :
#11

Yeah. I am not the original poster, but i also encounter quite a lot of issues regarding this.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#12

Considering Xenial has very little support left it may be a good idea to upgrade to Bionic (at least)

Revision history for this message
Manfred Hampl (m-hampl) said :
#13

@Cristian Datculescu:
Please do not pollute the question document of somebody else with your output. This is confusing any may lead to wrong conclusions, e.g. in case that your problem (although perhaps looking similar) is caused by a different reason.

Please create a question document of your own.

Revision history for this message
cristian datculescu (cristian-datculescu) said :
#14

@Manfred Hampl sorry, was not aware that the rules are to open every time a new thread.

Can you help with this problem?

Provide an answer of your own, or ask Daniel Krzewina for more information if necessary.

To post a message you must log in.