Modify

Opened 14 years ago

Closed 10 years ago

#5475 closed defect (worksforme)

JOSM does not work behind proxy

Reported by: jsemail@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: proxy settings, broken Cc:

Description (last modified by Don-vip)

java.net.useSystemProxies=true in /etc/java-6-openjdk/net.properties is set but JOSM is unable to connect to the internet. Prune for example is also written in Java and works.
I also tried all kinds of other configurations in JOSM Proxy config menu but it still fails.

My version is: 3329

Attachments (0)

Change History (9)

comment:1 by stoecker, 14 years ago

Owner: changed from team to jsemail@…
Priority: blockernormal
Status: newneedinfo

Describe what exactly does not work, how your settings are, what OS you have and so on. You can assume JOSM works with proxies, so it is a problem special to your setup.

comment:2 by jsemail@…, 14 years ago

I am running Ubuntu 10.10 beta. I installed JOSM as an Ubuntu package.

I allready described how my settings are:
java.net.useSystemProxies=true in /etc/java-6-openjdk/net.properties is set
In JOSM I tried
-No proxy
-Manually configure a HTTP Proxy
-Use a socks Proxy
none of them worked.
-Use standard system settings is greyed out.

If I try to "Download from OSM..." it fails and tells me to check my Internet connection.

Any more information needed? Then tell me exactly what.

comment:3 by stoecker, 14 years ago

Ok. Some more questions:
What type of proxy do you have? Does it require authentication? What port does it use? External proxy or locally installed? You use OpenJDK: Does it work with Sun-Java?

Some harder questions:
Does josm connect to the proxy and fails or does it not use proxy settings at all? Do you know enough about internet protocols, so you can use a tool like wireshark to find out what is done on the line?.

Please report exact error messages. Run josm from console and see if there are more helpful messages.

Network connections can fail at many points. Sometimes it is not so easy to find out what's wrong and which software is responsible for it and if josm is the reason we need to find out the exact reason, so we can fix it.

comment:4 by jsemail@…, 14 years ago

Please report exact error messages. Run josm from console and see if there are more helpful messages.

This one is a little bit difficult since it is not possible to copy/paste text out of java gui applications :(

As of now I can give you the following details. Need to install wireshark when coming home and see if I can get more information. Furthermore I need to try with sun java.

  • I am staying in India in a university campus for this summer, the proxy is locally installed and does not require authentication.

comment:5 by anonymous, 14 years ago

I forgot the proxy is using port 8080.

comment:6 by anonymous, 14 years ago

Seems like a HTTP proxy I also had problems with letting (sun) java parse the system proxy variables, so use ethe manual HTTP proxy setting and you optinal username/password.

if you can't copy any text directly, copy over xclipboard should work.

comment:7 by jsemail@…, 14 years ago

With manual proxy configuration it works now. There was a JOSM update from ubuntu, maybe due to that. But I can't tick "Use standard system settings" so with that it is not working. But my opinion is that all Java Applications should get the settings from the net.properties file.

comment:8 by stoecker, 13 years ago

Owner: changed from jsemail@… to team
Status: needinfonew

comment:9 by Don-vip, 10 years ago

Description: modified (diff)
Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.