... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Connection refused
#1
Exclamation 
Hallo,
beim Versuch aus dem Firmennetzwerk eine Verbindung aufzubauen schlägt mit folgender Fehlermeldung fehl:

SCHWERWIEGEND: Failed to download content from https://api.routeconverter.com/v1/mapser...format=xml: Connect to api.routeconverter.com:443 [api.routeconverter.com/81.169.158.228] failed: Connection refused: connect org.apache.http.conn.HttpHostConnectException: Connect to api.routeconverter.com:443 [api.routeconverter.com/81.169.158.228] failed: Connection refused: connect
 at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:159)
 at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
 at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:394)

Gibt es eine Möglichkeit zu erkennen, ob sich RC den richtigen Proxy-Server aus der Wpad Datei gezogen hat?

Über IE kann ich die einzelnen Adressen direkt aufrufen.

Sonst eine Idee wie ich das Problem weiter eingrenzen kann?

Danke und Gruß
Ingo
Reply
#2
(02.04.2019, 12:56)Asdfaa Wrote: Gibt es eine Möglichkeit zu erkennen, ob sich RC den richtigen Proxy-Server aus der Wpad Datei gezogen hat?

Ja, im Log steht etwas wie

Using proxy 1.2.3.4 for /bla/die/blubb

(02.04.2019, 12:56)Asdfaa Wrote: Sonst eine Idee wie ich das Problem weiter eingrenzen kann?

Als erstes Hilfe/Sende Fehlerbericht....
--
Christian
Reply
#3
Den Fehlerbericht kann ich leider nicht senden, es taucht nur eine Fehlermeldung auf:
   

In meinem Log kann ich leider keinen Hinweis auf einen Proxy-Server finden. So etwas wie Using Proxy oder so ist leider nicht vorhanden. Ich habe das entsprechende Logfile abgehängt.


Attached Files
.log   RouteConverter.log (Size: 47.88 KB / Downloads: 537)
Reply
#4
Hallo Ingo,

damit wir da weiterkommen habe ich ein kleines Programm geschrieben, dass die Proxies ausgibt und für 2 URLs einen Verbindungsversuch unternimmt. Du findest es hier:
http://static.routeconverter.com/downloa...kProxy.jar

Sourcecode hier:
https://github.com/cpesch/RouteConverter...Proxy.java

Wenn Du das startest kommt etwas heraus wie

Code:
$ java -jar proxy-tools/target/CheckProxy.jar
Apr. 04, 2019 1:02:46 NACHM. slash.navigation.rest.tools.CheckProxy run
INFO: ProxySelector sun.net.spi.DefaultProxySelector@4678c730
Apr. 04, 2019 1:02:46 NACHM. slash.navigation.rest.tools.CheckProxy checkProxy
INFO: Checking proxy for https://api.routeconverter.com/v1/mapservers/?format=xml
Apr. 04, 2019 1:02:46 NACHM. slash.navigation.rest.tools.CheckProxy findProxies
INFO: 0. proxy DIRECT
Apr. 04, 2019 1:02:46 NACHM. slash.navigation.rest.tools.CheckProxy request
INFO: Request to https://api.routeconverter.com/v1/mapservers/?format=xml with proxy DIRECT
Apr. 04, 2019 1:02:47 NACHM. slash.navigation.rest.tools.CheckProxy request
INFO: Response HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 04 Apr 2019 11:02:47 GMT, Server: Apache/2.4.7, Content-Language: en, Vary: Accept,Accept-Language,Cookie,Accept-Encoding, Last-Modified: Tue, 05 Mar 2019 09:14:35 GMT, ETag: "63f9f4ed94e37be06609b710fbf25297f75db29bfc45bb3b08493e478b45f997-gzip", Allow: GET, HEAD, OPTIONS, Keep-Alive: timeout=15, max=200, Connection: Keep-Alive, Transfer-Encoding: chunked, Content-Type: application/xml; charset=utf-8] org.apache.http.client.entity.DecompressingEntity@31ea9581}
Apr. 04, 2019 1:02:47 NACHM. slash.navigation.rest.tools.CheckProxy checkProxy
INFO: Checking proxy for https://static.routeconverter.com/maps/world.map
Apr. 04, 2019 1:02:47 NACHM. slash.navigation.rest.tools.CheckProxy findProxies
INFO: 0. proxy DIRECT
Apr. 04, 2019 1:02:47 NACHM. slash.navigation.rest.tools.CheckProxy request
INFO: Request to https://static.routeconverter.com/maps/world.map with proxy DIRECT
Apr. 04, 2019 1:02:47 NACHM. slash.navigation.rest.tools.CheckProxy request
INFO: Response HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 04 Apr 2019 11:02:47 GMT, Server: Apache/2.4.7, Last-Modified: Sun, 11 May 2014 11:13:28 GMT, ETag: "1569ae-4f91deb8b8600", Accept-Ranges: bytes, Content-Length: 1403310, Keep-Alive: timeout=15, max=200, Connection: Keep-Alive] ResponseEntityProxy{[Content-Length: 1403310,Chunked: false]}}

Könntest Du das bei Dir starten und mir die Ausgabe schicken? Vielleicht lieber per Mail (siehe FAQ), da sensitive Informationen enthalten sein könnten.
--
Christian
Reply
#5
Hallo Christian, 

vielen Dank für deine Unterstützung, hier findest die Ausgabe. Steht ja nicht viel Geheimes drinnen.

Code:
Apr 04, 2019 1:53:33 PM slash.navigation.rest.tools.CheckProxy run
INFORMATION: ProxySelector sun.net.spi.DefaultProxySelector@144bcfa
Apr 04, 2019 1:53:33 PM slash.navigation.rest.tools.CheckProxy checkProxy
INFORMATION: Checking proxy for https://api.routeconverter.com/v1/mapservers/?format=xml
Apr 04, 2019 1:53:33 PM slash.navigation.rest.tools.CheckProxy findProxies
INFORMATION: 0. proxy DIRECT
Apr 04, 2019 1:53:33 PM slash.navigation.rest.tools.CheckProxy request
INFORMATION: Request to https://api.routeconverter.com/v1/mapservers/?format=xml with proxy DIRECT
Apr 04, 2019 1:53:35 PM slash.navigation.rest.tools.CheckProxy request
INFORMATION: Failed to request https://api.routeconverter.com/v1/mapservers/?format=xml with proxy DIRECT: org.apache.http.conn.HttpHostConnectException: Connect to api.routeconverter.com:443 [api.routeconverter.com/81.169.158.228] failed: Connection refused: connec
Apr 04, 2019 1:53:35 PM slash.navigation.rest.tools.CheckProxy checkProxy
INFORMATION: Checking proxy for https://static.routeconverter.com/maps/world.map
Apr 04, 2019 1:53:35 PM slash.navigation.rest.tools.CheckProxy findProxies
INFORMATION: 0. proxy DIRECT
Apr 04, 2019 1:53:35 PM slash.navigation.rest.tools.CheckProxy request
INFORMATION: Request to https://static.routeconverter.com/maps/world.map with proxy DIRECT
Apr 04, 2019 1:53:37 PM slash.navigation.rest.tools.CheckProxy request
INFORMATION: Failed to request https://static.routeconverter.com/maps/world.map with proxy DIRECT: org.apache.http.conn.HttpHostConnectException: Connect to static.routeconverter.com:443 [static.routeconverter.com/81.169.158.228] failed: Connection refused: connect
Reply
#6
Hiernach https://docs.oracle.com/javase/8/docs/te...oxies.html solltest Du obigen Aufruf ergänzen zu

java -Djava.net.useSystemProxies=true -jar CheckProxy.jar

Ändert das etwas an der Ausgabe?
--
Christian
Reply
#7
Hmm, auf den ersten Blick hätte ich gesagt, es ändert sich nichts.

Code:
D:\TEST>java -Djava.net.useSystemProxies=true -jar CheckProxy.jar
Apr 05, 2019 7:07:38 AM slash.navigation.rest.tools.CheckProxy run
INFORMATION: ProxySelector sun.net.spi.DefaultProxySelector@6474c2
Apr 05, 2019 7:07:38 AM slash.navigation.rest.tools.CheckProxy checkProxy
INFORMATION: Checking proxy for https://api.routeconverter.com/v1/mapservers/?format=xml
Apr 05, 2019 7:07:38 AM slash.navigation.rest.tools.CheckProxy findProxies
INFORMATION: 0. proxy DIRECT
Apr 05, 2019 7:07:38 AM slash.navigation.rest.tools.CheckProxy request
INFORMATION: Request to https://api.routeconverter.com/v1/mapservers/?format=xml with proxy DIRECT
Apr 05, 2019 7:07:39 AM slash.navigation.rest.tools.CheckProxy request
INFORMATION: Failed to request https://api.routeconverter.com/v1/mapservers/?format=xml with proxy DIRECT: org.apache.http.conn.HttpHostConnectException: Connect to api.routeconverter.com:443 [api.routeconverter.com/81.169.158.228] failed: Connection refused: connect
Apr 05, 2019 7:07:39 AM slash.navigation.rest.tools.CheckProxy checkProxy
INFORMATION: Checking proxy for https://static.routeconverter.com/maps/world.map
Apr 05, 2019 7:07:39 AM slash.navigation.rest.tools.CheckProxy findProxies
INFORMATION: 0. proxy DIRECT
Apr 05, 2019 7:07:39 AM slash.navigation.rest.tools.CheckProxy request
INFORMATION: Request to https://static.routeconverter.com/maps/world.map with proxy DIRECT
Apr 05, 2019 7:07:40 AM slash.navigation.rest.tools.CheckProxy request
INFORMATION: Failed to request https://static.routeconverter.com/maps/world.map with proxy DIRECT: org.apache.http.conn.HttpHostConnectException: Connect to static.routeconverter.com:443 [static.routeconverter.com/81.169.158.228] failed: Connection refused: connect
Reply
#8
Eigentlich müsste Java mit -Djava.net.useSystemProxies=true die im System zentral hinterlegten Proxies verwenden...

Quote:On recent Windows systems ... it is possible to tell the default ProxySelector to use the system proxy settings (... recent versions of Windows ... let you set proxies globally through their user interface). If the system property java.net.useSystemProxies is set to true (by default it is set to false for compatibility sake), then the default ProxySelector will try to use these settings.

Was ist denn bei Dir konfiguriert? Hier steht wie man bei Windows 10 daran kommt: https://helpdeskgeek.com/networking/inte...-settings/
--
Christian
Reply
#9
So ist meine Einstellung, an der Skriptadresse steht die entsprechende Wpad Datei. Diese kann ich auch über den Browser aufrufen und mir anzeigen lassen.
   
Reply
#10
Und was sagt dies hier bei Dir? https://java.com/de/download/help/proxy_setup.xml
--
Christian
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)