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

remote control loaded multiple times #5415

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

remote control loaded multiple times #5415

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: fkv
[Submitted to the original trac issue database at 8.49pm, Tuesday, 30th August 2016]

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.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 11.54pm, Sunday, 4th September 2016]

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.

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