Talk:JOSM/RemoteControl

From OpenStreetMap Wiki
Jump to: navigation, search

Discuss JOSM/Plugins/RemoteControl here:


Opera browser

Note regarding issues related to remote control operations from Opera — "remote edit link not working in opera" (OSM-Talk). --ceyockey 16:00, 24 December 2010 (UTC)

Bottom line: To make JOSM remote control work, check Allow Cross Network Navigation here: opera:config#Cross%20Network (copy and paste to your address bar)

"Experimental"

Can we remove the "Experimental" specification may change message? Or at least put it further down the page. -- Harry Wood 13:58, 4 January 2011 (UTC)

it did not change the last years and is contained in core. With the availability of the version command a change in the protocol version is easy to detect by the clients. Removed experimental. --Stephankn 19:08, 7 January 2011 (UTC)

Linux

It appears that the remote control plug-in does not work on Linux ... but that is not a great surprise, really. --Ceyockey 05:15, 8 January 2013 (UTC)

I cannot confirm this. The remote control feature (it's no longer a plugin) works well on my Ubuntu machines. --Tordanik 09:55, 8 January 2013 (UTC)

Disabled by default

I found it disabled, not enabled, by default as of 2017-04-02 (stable version 11826). Jidanni (talk) 07:10, 24 April 2017 (UTC)

Actual working example of GET /version

$ echo -e GET /version\\n | nc localhost 8111; echo
2017-04-24 16:14:03.184 INFO: RemoteControl received: GET /version
HTTP/1.1 200 OK
Date: Mon Apr 24 16:14:03 CST 2017
Server: JOSM RemoteControl
Content-type: application/json; charset=utf-8
Access-Control-Allow-Origin: *
Content-length: 82

{"protocolversion": {"major": 1, "minor": 7}, "application": "JOSM RemoteControl"}
$ uname -a
Linux jidanni3 4.9.0-2-686-pae #1 SMP Debian 4.9.18-1 (2017-03-30) i686 GNU/Linux

Jidanni (talk) 08:16, 24 April 2017 (UTC)

GET http://localhost:8111/version works too.

Jidanni (talk) 01:49, 29 April 2017 (UTC)