... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RC and http proxy with authorization fails
#1
At home, RC runs totally fine, and I'm very glad I found it.

At the office, I have to use a http proxy with authentification as part of our security policy.
RC (netstart) does not run well in this environment:
- JRE is up to date (last update in last Tuesday)
- When starting, three instances of "Sicherheitsausnahmefehler" - java.net.MalformedURLException: unknown protocol: socket" appear
- after clicking "ok", RC powers up, but:
-- map view on the left side does not appear
-- when using right click -> Add coords, the same error appears again, and additional a message from RC: "Can't connect to SOCKS proxy:Connection refused: connect" appears

In Firefox (my default browser), the proxy parameters are set and work fine. In Java systemtray, network options are set to "use browser configuration".

I think the problem may be the authorization to the proxy because that is not part of the browser configuration, and RC or Java does not ask for username / pw.
Reply
#2
(12.08.2010, 09:06)Andreas Wrote: At the office, I have to use a http proxy with authentification as part of our security policy.

I have the same problem here. I've solved it with manually logging in to the security solution in the Internet Explorer before starting RouteConverter. Maybe this helps for your problem, too?

(12.08.2010, 09:06)Andreas Wrote: - When starting, three instances of "Sicherheitsausnahmefehler" - java.net.MalformedURLException: unknown protocol: socket" appear

Please dump them here in the forum, I'd like to have a look at them.

(12.08.2010, 09:06)Andreas Wrote: - after clicking "ok", RC powers up, but:
-- map view on the left side does not appear

That's the job of the security solution: blocking access if it's HTTP Proxy is not used to enforce it is used. Thus the connection to Google Maps from RouteConverter is blocked.

(12.08.2010, 09:06)Andreas Wrote: -- when using right click -> Add coords, the same error appears again, and additional a message from RC: "Can't connect to SOCKS proxy:Connection refused: connect" appears

Funny, an exception from the console would be helpful. Have a look a the FAQ how to locate the log file.

(12.08.2010, 09:06)Andreas Wrote: In Firefox (my default browser), the proxy parameters are set and work fine.

RouteConverter always uses the IE on Windows since Firefox is not embeddable.

(12.08.2010, 09:06)Andreas Wrote: I think the problem may be the authorization to the proxy because that is not part of the browser configuration, and RC or Java does not ask for username / pw.

That is my guess, too.
--
Christian
Reply
#3
Find attached my RC.log.

Logging in using IE is not an option for me because IE has been deinstalled as far as possible from our business computers for security reasons. Therefore, I even don't see a chance to configure anything about my proxy settings of IE, not mentioned logging in into the proxy.

Anyway, I'm in the office for working, not for creating recreational gpx-routes, so it's ok for me.

But perhaps you are interested in the proxy-auth-problem.


Attached Files
.zip   RouteConverter.zip (Size: 4.81 KB / Downloads: 797)
Reply
#4
(12.08.2010, 13:13)Andreas Wrote: Logging in using IE is not an option for me because IE has been deinstalled as far as possible from our business computers for security reasons.

So there is no iexplore.exe somewhere hidden on your machine? The COM components with the browser core cannot be removed as several Windows features are based on them.

(12.08.2010, 13:13)Andreas Wrote: Therefore, I even don't see a chance to configure anything about my proxy settings of IE, not mentioned logging in into the proxy.

You can always configure the proxy with regedit: http://support.microsoft.com/kb/819961

I'm not sure how the Java proxy settings are related to this (I guess they would affect the HTTP calls to the RouteCatalog server). And then there is the Eclipse SWT based browser component - dunno how that is affected.

There have been several users that have posted about HTTP proxies though.

(12.08.2010, 13:13)Andreas Wrote: But perhaps you are interested in the proxy-auth-problem.

Working around it would mean I had to give the user a possibility to login a security solution before loading the routeconverter.html for the map. And I'm simply too lazy to debug this as the startup is already quite complicated. If anyone is willing to make this possible: the source is open and I'm accepting patches.
--
Christian
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)