Opened 3 years ago

Closed 3 years ago

#5417 closed defect (invalid)

remote control loaded multiple times

Reported by: fkv Owned by: rails-dev@…
Priority: minor Milestone:
Component: website Version:
Keywords: remote control, Merkaartor Cc:

Description

Until some months ago, the "Edit With Remote Control (JOSM or Merkaartor)" link worked well not only with JOSM, but also with Merkaartor, except for the strange error message "Editing failed - make sure JOSM or Merkaartor is loaded and the remote control option is enabled" that occurred no matter what - even when Merkaartor successfully downloaded the OSM data.

Now the error massage is gone, but Merkaartor loads the OSM data 10 times. It seems that the JS from the openstreetmap.org website is either confused by Merkaartor's feedback, or that the timeout is much too short. Apparently, the error handling was changed from the immediate error message to multiple retries recently. These retries are even more nasty than the error message, because they make Merkaartor pop up 10 massage boxes and insert 10 download layers.

Change History (1)

comment:1 Changed 3 years ago by Tom Hughes

Resolution: invalid
Status: newclosed

Absolutely nothing has been changed in that code on the OSM end in a long time.

We don't retry anything, indeed it's not even in our power to do so because all we do it set the URL on a hidden frame and leave the browser to load that frame.

The "editing failed" message fires if the browser doesn't get a 200 OK response from the editor within a second. I don't really want to make it any longer than that because it really should take long for an editor to respond and having a long delay leads to an awkward delayed error when there really isn't an editor running.

I have no idea what your problem is, but it's not in our control. I would look at your browser and what plugins you have that might be interfering with network loads. Things like anti-virus software can also interfere with such things in problematic ways.

Note: See TracTickets for help on using tickets.