Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#9743 closed defect (othersoftware)

Plugin malforms https-URL

Reported by: malenki Owned by: ToeBee
Priority: normal Milestone:
Component: Core notes Version:
Keywords: https api github Cc:

Description

(This bug is here just for completeness - if people search for it in this bugtracker. The bug will be worked at https://github.com/iandees/josm-notes/issues/18)

I've set JOSM to use as API url this one:
https:/api.openstreetmap.org/api/0.6/

Now JOSM does not display OSM notes anymore, instead the log at the CLI reads like this:

GET https:/api.openstreetmap.org/api/0.6/notes?bbox=13.4251141,50.6542056,13.5074831,50.6973713... GET https:/api.openstreetmap.org/api/0.6/notes?bbox=13.4251141,50.6542056,13.5074831,50.6973713... GET https:/api.openstreetmap.org/api/0.6/notes?bbox=13.4251141,50.6542056,13.5074831,50.6973713... GET https:/api.openstreetmap.org/api/0.6/notes?bbox=13.4251141,50.6542056,13.5074831,50.6973713... GET https:/api.openstreetmap.org/api/0.6/notes?bbox=13.4251141,50.6542056,13.5074831,50.6973713... GET https:/api.openstreetmap.org/api/0.6/notes?bbox=13.4251141,50.6542056,13.5074831,50.6973713... org.openstreetmap.josm.io.OsmTransferException: java.net.ConnectException: Connection refused
	at org.openstreetmap.josm.plugins.notes.api.util.NotesApi.sendRequest(NotesApi.java:364)
	at org.openstreetmap.josm.plugins.notes.api.util.NotesApi.getNotesInBoundingBox(NotesApi.java:61)
	at org.openstreetmap.josm.plugins.notes.api.DownloadAction.execute(DownloadAction.java:54)
	at org.openstreetmap.josm.plugins.notes.NotesPlugin.updateData(NotesPlugin.java:174)
	at org.openstreetmap.josm.plugins.notes.NotesPlugin$DownloadNotesTask.run(NotesPlugin.java:308)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
Caused by: java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:579)
	at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
	at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
	at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
	at org.openstreetmap.josm.plugins.notes.api.util.NotesApi.sendRequest(NotesApi.java:289)
	... 6 more

Attachments (0)

Change History (4)

comment:1 by Don-vip, 10 years ago

Keywords: https api added

comment:2 by Don-vip, 10 years ago

Keywords: github added

comment:3 by Don-vip, 10 years ago

Resolution: othersoftware
Status: newclosed

Closing tickets for external Github-hosted plugins as "othersoftware". Bug report is done on Github, see above.

comment:4 by Don-vip, 10 years ago

Ticket #9777 has been marked as a duplicate of this ticket.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain ToeBee.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.