[OSM-dev] Handling 500 errors
Håkon Enger
hakon.enger at fys.uio.no
Fri Aug 31 10:01:29 BST 2007
On Fri, 31 Aug 2007, Tom Hughes wrote:
> It looks like the answer is they are causing by MySQL detecting
> deadlocks and causing an exception to be thrown.
>
> I will need to investigate further...
Right now I'm getting lots of 500 errors on attempted uploads. It may be a
coincidence, but all the errors appeared when attempting to modify (i.e,
move) an existing node. Creating new nodes, segments, and ways,
and modifying existing ways as well as deleting segments seemed
unproblematic. Probably unrelated, at the same time Potlatch does not seem
to be able to download any ways at all. Some examples of JOSM output:
upload to: http://www.openstreetmap.org/api/0.4/node/15849146
got return: 500 with id 15849146
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.4' generator='JOSM'>
<node id='15849146' timestamp='2006-09-17 18:11:49' user='Håkon'
visible='true' lat='59.946348663103485' lon='10.764852433686558'>
<tag k='created_by' v='JOSM' />
</node>
</osm>
upload to: http://www.openstreetmap.org/api/0.4/node/79250
got return: 500 with id 79250
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.4' generator='JOSM'>
<node id='79250' timestamp='2007-06-29 10:41:18' user='Håkon'
visible='true' lat='59.946728979405684' lon='10.764601017155277' />
</osm>
upload to: http://www.openstreetmap.org/api/0.4/node/15833909
got return: 500 with id 15833909
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.4' generator='JOSM'>
<node id='15833909' timestamp='2006-09-17 21:15:51' user='Håkon'
visible='true' lat='59.945938922360035' lon='10.765142457357502' />
</osm>
Håkon
More information about the dev
mailing list