Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

lot of timeouts / very slow API #5388

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

lot of timeouts / very slow API #5388

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: malenki
[Submitted to the original trac issue database at 2.30am, Tuesday, 23rd February 2016]

Using the OSM API since several weeks I get often repeated timeouts for down- or uploads Using JOSM to the point where it affects seriously my will to contribute to OSM.

Sometimes I get five timeouts in a row when trying just to open one object.

Downloads with wget are affected, too (have a look below). Access to the website itself works fine.

Until another person reported the same issue on IRC I thought it may be just a problem in my local setup somewhere but finally I dared to report this.

I would be very glad if this behaviour would be fixed.

in #openstreetmap on freenode on 2016-02-24:
[21:10:41] Hi im facing a ugly issue with my josm
[21:12:08] each time I try to upload changes I get an api error stream closed
[21:14:16] my connection to https://www.openstreetmap.org/ works without any issues :-(

time wget http://www.openstreetmap.org/api/0.6/changeset/37377131/download
--2016-02-24 22:11:03--  http://www.openstreetmap.org/api/0.6/changeset/37377131/download
Auflsen des Hostnamens www.openstreetmap.org (www.openstreetmap.org)  2001:630:12:500:219:bbff:fe39:3d9e, 2001:630:12:500:219:bbff:fe39:8aba, 2001:630:12:500:21a:4bff:fea5:fd2a, ...
Verbindungsaufbau zu www.openstreetmap.org (www.openstreetmap.org)|2001:630:12:500:219:bbff:fe39:3d9e|:80  fehlgeschlagen: Die Wartezeit fr die Verbindung ist abgelaufen.
Verbindungsaufbau zu www.openstreetmap.org (www.openstreetmap.org)|2001:630:12:500:219:bbff:fe39:8aba|:80  verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet  200 OK
Lnge: nicht spezifiziert [text/xml]
Wird in download.3 gespeichert.

download.3                                 [ <=>                                                                         ]  30,29K  --.-KB/s    in 0,04s   

2016-02-24 22:13:10 (738 KB/s) - download.3 gespeichert [31019]


real	2m7.780s
user	0m0.003s
sys	0m0.003s

time wget http://www.openstreetmap.org/api/0.6/changeset/37377131/download
--2016-02-24 22:13:26--  http://www.openstreetmap.org/api/0.6/changeset/37377131/download
Auflsen des Hostnamens www.openstreetmap.org (www.openstreetmap.org)  2001:630:12:500:219:bbff:fe39:3d9e, 2001:630:12:500:21a:4bff:fea5:fd2a, 2001:630:12:500:219:bbff:fe39:8aba, ...
Verbindungsaufbau zu www.openstreetmap.org (www.openstreetmap.org)|2001:630:12:500:219:bbff:fe39:3d9e|:80  fehlgeschlagen: Die Wartezeit fr die Verbindung ist abgelaufen.
Verbindungsaufbau zu www.openstreetmap.org (www.openstreetmap.org)|2001:630:12:500:21a:4bff:fea5:fd2a|:80  verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet  200 OK
Lnge: nicht spezifiziert [text/xml]
Wird in download.4 gespeichert.

download.4                                 [ <=>                                                                         ]  30,29K  --.-KB/s    in 0,04s   

2016-02-24 22:15:34 (713 KB/s) - download.4 gespeichert [31019]


real	2m7.746s
user	0m0.003s
sys	0m0.003s

time wget http://www.openstreetmap.org/api/0.6/changeset/37377131/download
--2016-02-24 22:15:42--  http://www.openstreetmap.org/api/0.6/changeset/37377131/download
Auflsen des Hostnamens www.openstreetmap.org (www.openstreetmap.org)  2001:630:12:500:219:bbff:fe39:3d9e, 2001:630:12:500:21a:4bff:fea5:fd2a, 2001:630:12:500:219:bbff:fe39:8aba, ...
Verbindungsaufbau zu www.openstreetmap.org (www.openstreetmap.org)|2001:630:12:500:219:bbff:fe39:3d9e|:80  verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet  200 OK
Lnge: nicht spezifiziert [text/xml]
Wird in download.5 gespeichert.

download.5                                 [ <=>                                                                         ]  30,29K  --.-KB/s    in 0,04s   

2016-02-24 22:15:42 (716 KB/s) - download.5 gespeichert [31019]


real	0m0.402s
user	0m0.000s
sys	0m0.007s

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 10.28pm, Wednesday, 24th February 2016]

I'm sure you would be glad if it was fixed, and if it is a problem at our end then we'd love to fix it.

Unfortunately on the basis of this report there's very little we can do. I'm not doubting that what you're seeing is real, but unless it happens to me in a reproducible way then there's not much I can do.

Given that nobody else has reported similar problems it's very likely that it's a network issue somewhere closer to you and outside our control anyway.

@openstreetmap-trac
Copy link
Author

Author: SimonPoole
[Added to the original trac issue at 10.38pm, Wednesday, 24th February 2016]

See https://lists.openstreetmap.org/pipermail/josm-dev/2015-December/007592.html for likely cause.

@openstreetmap-trac
Copy link
Author

Author: malenki
[Added to the original trac issue at 7.13pm, Thursday, 25th February 2016]

Indeed it seems to be a buggy IPv6 although I didn't bother with it (except the usual software updates). Disabling IPv6 helps solving the issue. Sorry for bothering you.

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

No branches or pull requests

1 participant