Modify

Opened 7 years ago

Last modified 7 years ago

#14168 new defect

JOSM not working with manual or system proxy settings

Reported by: cmanughian@… Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: proxy, manual, auto, system Cc:

Description

Hi,

I've followed instructions from a few other tickets here regarding setting proxy settings when running JOSM but none of them work for me. I'm trying to use the matsim network plugin but plugins give a connection error from the proxy.

Using windows 7, used josm-latest.jar, josm-tested.jar, josm.nplm, and ran josm.exe by installing josm via josm installer

Steps to replicate:

  1. download latest release of josm (josm-latest.jar)
  2. run latest release in cmd.exe (windows 7) by any of the following commands:

java -Djava.net.useSystemProxies=true -jar -josm-latest.jar

java -Dhttp.proxyHost=myproxynamehere

-Dhttp.proxyPort=8080
-Dhttp.proxyUser=myproxyusername
-Dhttp.proxyPassword=proxypass -jar -josm-latest.jar

josm.exe -Dhttp.proxyHost=myproxynamehere

-Dhttp.proxyPort=8080
-Dhttp.proxyUser=myproxyusername
-Dhttp.proxyPassword=proxypass

etc...
My system proxy variables are set for the java control panel under network settings with my proxy name,port, user, pass for all types.

I get this error every time I initially run JOSM or try to download a plugin in JOSM preferences:
One pop up says:
Error initializing test ApiCapabilitiesTesT:
org.openstreetmap.josm.oi.OsmApiInitializationException: org.openstreetmap.josm.io.OsmTransferException: java.net.ConnectionException: Connection refused: connect
Pop up below that says:
JOSM tried to access the following resources:
https://api.openstreetmap.org/api/.......
but failed to do so because of the following proxy erros:
java.net.UnknownHostException: myuser:mypas@myproxy

Now I didn't write the specific user/pass/proxy name/port in this post, but its in there in my settings.

Attachments (0)

Change History (1)

comment:1 by Klumbumbus, 7 years ago

Component: Core bugreportCore

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to cmanughian@….
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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