Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

OSM applet doesn't work behind proxy's #360

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

OSM applet doesn't work behind proxy's #360

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: Andrew.Rowbottom[at]gmail.com
[Submitted to the original trac issue database at 12.20pm, Thursday, 14th December 2006]

The OSM applet doesn't seem to work for me, I suspect the problem is because I'm behind a proxy and the HTTPClient isn't being set-up to use the proxy. I've tried setting -Dhttp.proxyHost and -Dhttp.proxyPort for my applet JRE, but it still doesn't work.

It might be possible to use other system properties, for example performing a "dump system and deployment properties" in the java console (Java Plug-in 1.6.0-beta2) I get the following properties listed that look like they may be useful:

javaplugin.proxy.config.list = http=proxy.domain.com:80,https=proxy.domain.com:80,ftp=proxy.domain.com:80,gopher=proxy.domain.com:80

deployment.javaws.proxy.http = proxy.domain.com
deployment.javaws.proxy.httpport = 80

deployment.proxy.ftp.host = proxy.domain.com
deployment.proxy.ftp.port = 80

deployment.proxy.http.host = proxy.domain.com
deployment.proxy.http.port = 80

@openstreetmap-trac
Copy link
Author

Author: openstreetmap[at]gagravarr.org
[Added to the original trac issue at 1.20pm, Tuesday, 23rd January 2007]

I think what we want to do is query the browser's proxy configuration, and then pass that into HttpClient when we set it up.

Does anyone know how an applet goes about finding the proxy settings in a reliable way? I've seen talk of properties, and of environment variables, so I'm not sure quite how you'd check.

@openstreetmap-trac
Copy link
Author

Author: jukka.rahkonen[at]mmmtike.fi
[Added to the original trac issue at 11.26am, Wednesday, 24th January 2007]

I am not a programmer, but perhaps this article I found with search "java applet proxy set" from Altavista is handling something analogous?
http://forum.java.sun.com/thread.jspa?forumID=256&threadID=249345

@openstreetmap-trac
Copy link
Author

Author: osm[at]bcowan.fastmail.co.uk
[Added to the original trac issue at 6.39pm, Sunday, 25th November 2007]

Applet is gone.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant