You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
with new JOSM code (not committed yet). I think my request is correct, but I cannot tell for sure. Can you please tell me what's the reason of the error?
Here's my debug output:
INFO: POST http://api06.dev.openstreetmap.org/api/0.6/gpx/create...
DEBUG: --57482f97af80015157b18b8558285ad1
Content-Disposition: form-data; name="file"; filename="2011-08-20 0831 - edit3.gpx"
Content-Type: application/octet-stream
<?xml version='1.0' encoding='UTF-8'?>
<gpx version="1.1" creator="JOSM GPX export" xmlns="http://www.topografix.com/GPX/1/1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
(snip...)
</gpx>
--57482f97af80015157b18b8558285ad1
Content-Disposition: form-data; name="description"
test description
--57482f97af80015157b18b8558285ad1
Content-Disposition: form-data; name="tags"
test, gavarnie
--57482f97af80015157b18b8558285ad1
Content-Disposition: form-data; name="visibility"
private
--57482f97af80015157b18b8558285ad1--
DEBUG: Opening HTTP connection to http://api06.dev.openstreetmap.org/api/0.6/gpx/create
DEBUG: REQUEST: {Connection=[close], User-Agent=[JOSM/1.5 (8400 SVN en) Windows 8.1 64-Bit Java/1.8.0_45]}
INFO: Internal Server Error
WARNING: java.io.IOException: Server returned HTTP response code: 500 for URL: http://api06.dev.openstreetmap.org/api/0.6/gpx/create. Cause: java.io.IOException: Server returned HTTP response code: 500 for URL: http://api06.dev.openstreetmap.org/api/0.6/gpx/create
java.io.IOException: Server returned HTTP response code: 500 for URL: http://api06.dev.openstreetmap.org/api/0.6/gpx/create
...
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://api06.dev.openstreetmap.org/api/0.6/gpx/create
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1839)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
at java.net.HttpURLConnection.getResponseMessage(HttpURLConnection.java:546)
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:675)
... 9 more
ERROR: Error header: Errno::ENOENT: No such file or directory sys_fail2 - (/tmp/0.9949734825597144, /home/osm/traces/725.gpx)
DEBUG: RESPONSE: {Transfer-Encoding=[chunked], Status=[500 Internal Server Error], x-request-id=[0a2f5ae5-48a4-46bb-9393-2d8d0c5017e6], null=[HTTP/1.1 500 Internal Server Error], Server=[Apache/2.4.7 (Ubuntu)], vary=[Accept-Language,Origin], x-frame-options=[SAMEORIGIN], Connection=[close], error=[Errno::ENOENT: No such file or directory sys_fail2 - (/tmp/0.9949734825597144, /home/osm/traces/725.gpx)], Date=[Tue, 19 May 2015 23:47:51 GMT], x-content-type-options=[nosniff], x-xss-protection=[1; mode=block], x-runtime=[0.047028], cache-control=[no-cache], Content-Type=[text/plain; charset=utf-8], X-Powered-By=[Phusion Passenger 5.0.7], content-language=[en]}
ERROR: org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Header=<Errno::ENOENT: No such file or directory sys_fail2 - (/tmp/0.9949734825597144, /home/osm/traces/725.gpx)>
org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Header=<Errno::ENOENT: No such file or directory sys_fail2 - (/tmp/0.9949734825597144, /home/osm/traces/725.gpx)>
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:736)
at org.openstreetmap.josm.io.OsmApi.uploadGpx(OsmApi.java:946)
Thanks.
The text was updated successfully, but these errors were encountered:
Reporter: don-vip
[Submitted to the original trac issue database at 10.42pm, Monday, 11th May 2015]
Hi,
I face an HTTP 500 when trying to upload a GPX file to:
http://api06.dev.openstreetmap.org/api/0.6/gpx/create
with new JOSM code (not committed yet). I think my request is correct, but I cannot tell for sure. Can you please tell me what's the reason of the error?
Here's my debug output:
Thanks.
The text was updated successfully, but these errors were encountered: