I am trying to edit some data and I am getting the following error message upon hitting the edit tab:
I have JOSM loaded, but not sure how or where, to enable the 'remote control option'.
This question is marked "community wiki".
asked 15 Jan '11, 01:13 Bennet Campo... aseerel4c26 ♦
showing 5 of 6
show 1 more comments
|
also, if you're started having problems in April of 2014 or later, it could be the HTTPS certificate problem, as OpenStreetMap "Edit with remote control" started using HTTPS port on TCP/8112 (it used plaintext HTTP on TCP/8111 before, so there was no certificate and no problem). To fix it, go to https://127.0.0.1:8112/ and accept invalid certificate. See github issue 740 for more info answered 09 Jun '14, 18:50 Matija Nalis 2
Thanks, your answer help me to deal with that problem. I tried since a week and nothing in the JOSM wiki page Help/Preferences/RemoteControl helps to resolve that.
(30 Jul '14, 19:15)
FabienT
@FabienT you should probably report that to JOSM help web page maintainer (or fix it yourself if you have wiki account there)
(31 Jul '14, 13:49)
Matija Nalis
1
@Matija Nalis and @FabienT: I just have added a paragraph to this wiki page.
(31 Jul '14, 14:06)
aseerel4c26 ♦
|
In the JOSM menu select Edit/Preferences.../ or press F12 Click on the remote control icon Select "Enable Remote Control" and click OK. (If you have a JOSM version older than 3715, then RemoteControl is only available as a plugin. You can either get the plugin, or update JOSM.) answered 15 Jan '11, 09:40 gnurk Frederik Ramm ♦ I think JOSM should come with the remote control turned ON by default (maybe it already does since I my configuration files are quite old, I only update the program file).
(30 Dec '11, 10:07)
Kozuch
In my experience on Ubuntu and MacOS, JOSM has to be up and running for the remote control to work. So I start JOSM, go back to the browser and then select edit in remote control with JOSM.
(02 Aug '13, 15:16)
stf
does anybody have a .jar file of the old remote control plugin? I am trying to get this working on an old Java 5 system running JOSM 3377, and the automatic plugin downloading no longer works. thanks
(29 Jan '15, 18:14)
M Toups
|
If the problem is NoScript then you can to allow the request through the ABE blocker rules as follows: 1) Open the NoScripts options dialog,
answered 02 Aug '13, 12:55 Joe E 2
If one does not like wildcards and likes also other OSM-related sites to be able to call JOSM, use something like this:
(03 Aug '13, 00:41)
aseerel4c26 ♦
You may also run into this problem when using the JOSM remote control links from maproulette.org.
placed in front of the general DENY rule will help here too.
(30 Mar '14, 16:14)
Chaos99
|
If you are using Opera there are also security issues in the browser that you need to address. The warning it would normally show is hidden in an invisible iframe so the edit option silently fails. To overcome this you can go into Preferences (Ctrl-F12), Advanced, Security, Trusted Websites, Secure Internal Hosts and add 127.0.0.1 (openstreetmap.org edit option) and localhost (OSM Inspector). I guess there may be security issues that permanently flagging the sites as secure may raise, but as the links work with other browsers I don't think that it can be a major risk. answered 15 Jan '11, 12:34 EdLoach ♦ |
I had another problem with remote control not working today. Here is what I did to troubleshoot it: First, I started JOSM, and verified it had "Enable remote control" and "Enable HTTPS support" enabled. It was, so I didn't need to enable it and restart JOSM. Next I did in shell:
if it said the following:
Then it would mean that JOSM, networking and local firewall on the machine are working, and that the problem is somewhere in the web browser (for which I'd then try to open "https://localhost:8112/" to debug further, whitelist certicates etc). But in my case it hanged after "Trying 127.0.0.1..." and never showed "Connected to 127.0.0.1", which indicated that the problem is either JOSM or network/firewall. Then I did:
to verify if JOSM is listening (that is on Debian GNU/Linux,on MS-windows it would be something like "netstat -a"?): It should output something like:
to indicate JOSM is listening on both port 8111 and 8112. But in my case the list was empty. If it wasn't empty, it would strongly indicate problem in local firewall, so I'd try disabling firewall and trying "telnet" again. But as it was empty, it indicated that problem is that JOSM didn't listen on that port - which is either problem in JOSM (less likely, as I was running stable version and lots of people would be making noise about it) or a problem in local machine networking. I found a log in ~/.xsession-errors, and it contained:
then I started JOSM manually under strace with:
and it showed:
"EADDRNOTAVAIL" means that no network interface on computer has requested address (127.0.0.1 in this case). I did "ip addr show" and found out that my computer really did not have "127.0.0.1" as the "lo" interface was down due to some other problem. So simple "/etc/init.d/networking start" fixed it (which is unlikely to be anybody elses problem, but hopefully those troubleshooting steps would help to narrow down problem). answered 02 Oct '17, 16:56 Matija Nalis |
What browser do you use? The noscript addon for Firefox will interfere with remote control.
The thing in NoScript that interferes with JOSM remote control is the ABE, the Application Boundaries Enforcer. The ABE by default prevents pages on the internet from fiddling around with your local computer. You will find the ABE settings under the Advanced tab in the NoScript options dialog. Either you may disable the ABE completely (lazy, but somewhat bad idea) or write a customized ruleset that lets the commands to JOSM pass through.
The documentation is found here: http://noscript.net/abe/
… for this NoScript issue see an answer below.
I had the same problem and this is my solution: I changed the system-ABE from
Site LOCAL Accept from LOCAL Deny
to
Site LOCAL Accept from LOCAL Accept from *.openstreetmap.org Deny
I have the exact same error message: "Editing failed - make sure JOSM or Merkaartor is loaded and the remote control option is enabled", and I see the answer:
Site LOCAL Accept from LOCAL Deny to Site LOCAL Accept from LOCAL Accept from *.openstreetmap.org Deny
However, as non-expert I do not know in what file to make this change and where this file resides. A search in my computer (windows 7) for the extension ".abe" returns nothing.
Can some one please tell me in detail how to get this editor started?
max
@maxwyss, you do not edit file, that is an option in NoScript dialogs... see other answers like this https://help.openstreetmap.org/answer_link/24836/