Modify

Opened 5 years ago

Closed 5 years ago

#12521 closed defect (fixed)

On Overpass API error OSM API gets blamed

Reported by: malenki Owned by: team
Priority: minor Milestone: 16.02
Component: Core Version: latest
Keywords: template_report Cc:

Description (last modified by malenki)

I had a ressource consuming Overpass API query running and because of this this API refused to deliver JOSM any data (I saw this on the shell¹). So far, so well known – but the JOSM error message confused me by telling:

Communication with the OSM server 'https://api.openstreetmap.org/api/0.6/' timed out. Please try again later

It would be nice to see the correct reason for the error as message.

¹
Shell output:

INFO: GET http://overpass-api.de/api/map?bbox=9.2733934,48.8055332,9.2799791,48.8096115 -> 429 (478 B)
ERROR: org.openstreetmap.josm.io.OsmApiException: ResponseCode=429, Error Header=<runtime error: open64: 0 Success /osm3s_v0.7.51_osm_base Dispatcher_Client::request_read_and_idx::rate_limited. Another request from your IP is still running.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" lang="en"/>
  <title>OSM3S Response</title>
</head>
<body>

<p>The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.</p>
<p><strong style="color:#FF0000">Error</strong>: runtime error: open64: 0 Success /osm3s_v0.7.51_osm_base Dispatcher_Client::request_read_and_idx::rate_limited. Another request from your IP is still running.
 </p>

</body>
</html>>
org.openstreetmap.josm.io.OsmApiException: ResponseCode=429, Error Header=<runtime error: open64: 0 Success /osm3s_v0.7.51_osm_base Dispatcher_Client::request_read_and_idx::rate_limited. Another request from your IP is still running.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8" lang="en"/>
  <title>OSM3S Response</title>
</head>
<body>

<p>The data included in this document is from www.openstreetmap.org. The data is made available under ODbL.</p>
<p><strong style="color:#FF0000">Error</strong>: runtime error: open64: 0 Success /osm3s_v0.7.51_osm_base Dispatcher_Client::request_read_and_idx::rate_limited. Another request from your IP is still running.
 </p>

</body>
</html>>
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:168)
	at org.openstreetmap.josm.io.OverpassDownloadReader.getInputStreamRaw(OverpassDownloadReader.java:95)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:97)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:61)
	at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:44)
	at org.openstreetmap.josm.io.BoundingBoxDownloader.parseOsm(BoundingBoxDownloader.java:184)
	at org.openstreetmap.josm.io.OverpassDownloadReader.parseOsm(OverpassDownloadReader.java:149)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.parseDataSet(DownloadOsmTask.java:325)
	at org.openstreetmap.josm.actions.downloadtasks.DownloadOsmTask$DownloadTask.realRun(DownloadOsmTask.java:333)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:161)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

JOSM details:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-02-10 01:28:32 +0100 (Wed, 10 Feb 2016)
Build-Date:2016-02-10 02:33:35
Revision:9776
Relative:URL: ^/trunk

Identification: JOSM/1.5 (9776 en) Linux Debian GNU/Linux stretch/sid
Memory Usage: 815 MB / 2222 MB (406 MB allocated, but free)
Java version: 1.8.0_72-internal-b15, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Dsun.java2d.opengl=false]
Dataset consistency test: No problems found

Plugins:
- FastDraw (31895)
- FixAddresses (31772)
- HouseNumberTaggingTool (31772)
- ImportImagePlugin (31772)
- InfoMode (31772)
- Mapillary (32040)
- OpeningHoursEditor (31772)
- PicLayer (31895)
- RoadSigns (31895)
- ShapeTools (1000)
- apache-commons (31895)
- apache-http (31895)
- buildings_tools (31895)
- contourmerge (1014)
- download_along (31772)
- ejml (31895)
- ext_tools (31772)
- geotools (31895)
- gson (31895)
- imagery_offset_db (32046)
- jts (31772)
- log4j (31895)
- mapdust (31772)
- measurement (31895)
- opendata (31937)
- photo_geotagging (31895)
- photoadjust (32016)
- reltoolbox (31895)
- reverter (32005)
- tag2link (31910)
- tageditor (31772)
- terracer (31895)
- todo (29154)
- turnrestrictions (31895)
- undelete (31895)
- utilsplugin2 (32018)
- waydownloader (31772)
- wikipedia (32058)

Last errors/warnings:
- W: Unable to undelete node 240,101,996. Object has likely been redacted
- W: Unable to undelete node 240,108,925. Object has likely been redacted
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=429, Error Header=<runtime error: open64: 0 Success /osm3s_v0.7.51_osm_base Dispatcher_Client::request_read_and_idx::rate_limited. Another request from your IP is still running.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=429, Error Header=<runtime error: open64: 0 Success /osm3s_v0.7.51_osm_base Dispatcher_Client::request_read_and_idx::rate_limited. Another request from your IP is still running.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>
- E: org.openstreetmap.josm.io.OsmApiException: ResponseCode=429, Error Header=<runtime error: open64: 0 Success /osm3s_v0.7.51_osm_base Dispatcher_Client::request_read_and_idx::rate_limited. Another request from your IP is still running.>, Error Body=<<?xml version="1.0" encoding="UTF-8"?>

Attachments (1)

2016-02-10_220015_scr.png (17.1 KB) - added by malenki 5 years ago.
OSM API Error window while Overpass is to blame

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by malenki

Attachment: 2016-02-10_220015_scr.png added

OSM API Error window while Overpass is to blame

comment:1 Changed 5 years ago by malenki

Description: modified (diff)

comment:2 Changed 5 years ago by simon04

Milestone: 16.02

comment:3 Changed 5 years ago by simon04

Resolution: fixed
Status: newclosed

In 9876/josm:

fix #12521 - On Overpass API error OSM API gets blamed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.