﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14168	JOSM not working with manual or system proxy settings	cmanughian@…	team	"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. 

"	defect	new	normal		Core	latest		proxy, manual, auto, system	
