On 01/28/2016 06:23 PM, Frank Thommen wrote:
Hi Clemens

On 01/28/2016 03:25 PM, Clemens Klein-Robbenhaar wrote:

[...]

[...]
2016-01-28 13:36:53,762 [Active Installs Ping Thread] WARN 
a.i.c.ActiveInstallsPingThread - Failed to send Active Installation ping to 
[http://extensions.xwiki.org/activeinstalls]. Error = [ConnectException: 
Connection timed out]. Will retry in [86400] seconds...
[...]


I don't know what an "Active Installation ping" is, but in fact while I seem to 
be able to access this webpage:

$ curl http://extensions.xwiki.org/activeinstalls
{
    "status" : 200,
    "name" : "Bobster",
    "version" : {
      "number" : "1.1.1",
      "build_hash" : "f1585f096d3f3985e73456debdc1a0745f512bbc",
      "build_timestamp" : "2014-04-16T14:27:12Z",
      "build_snapshot" : false,
      "lucene_version" : "4.7"
    },
    "tagline" : "You Know, for Search"
}
$


I cannot `ping` it:

$ ping extensions.xwiki.org
PING www.xwiki.org (104.31.71.57) 56(84) bytes of data.
^C
--- www.xwiki.org ping statistics ---
76 packets transmitted, 0 received, 100% packet loss, time 75445ms

$

Does the Distribution Manager execute a real "ping" command even though the 
webpages are accessible?  And if yes, how can I avoid this?  I doubt that our networking 
dept. will adapt any gateway configuration to to make a single software installation 
possible :-}


No, there is no ping or such; well, it relies on the library: "HTTP 
Components":  https://hc.apache.org/ to do the job.
I have to admit that I do not know exactly if this library does or does not 
send a ping first, but I do not think it does.
Even if it were so, it is not the case of the problem, as I cannot ping 
extensions.xwiki.org either, and install works from here.


The "timeout" error message seems to indicate that the connection never gets an 
error but is simply dropped somewhere.
I do not think extensions.xwiki.org drops the connection - as you can get there 
via curl ...


Any chance the application server uses some proxy settings, as described at the 
following link, but they happen to be incorrect?

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningXWikibehindproxy-server

That might explain the timeout despite the server being able to reach the 
installation repositories normally (i.e. via curl).

The application server doesn't use any proxy settings: I haven't set any
and I doubt that they are configured by default :-).  However I'm
currently trying to find out, if our network has any limitations
regarding outgoing network traffic


I have to admit that if it is not the proxy-settings then I am getting somewhat 
desperate about how to diagnose the problem.
I guess one could try to get stack traces from the server while it is starting 
up
and use the java option "-Djavax.net.debug=all" (dumps lots of stuff to the 
standard output) to see if it tries to open connections to extensions.xwiki.org
but I guess all one can get from that is that the server opens connections and 
then it waits till timeout ...

I've done this through setting the environment variable $JAVA_OPTS to
"-Djavax.net.debug=all" prior to running $tomcat_home/bin/catalina.sh.
Is that the right place?  I also set the following loggin levels in
$tomcat_home/conf/logging.properties:

java.util.logging.ConsoleHandler.level = FINEST
1catalina.org.apache.juli.AsyncFileHandler.level = FINEST

Also added

java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter
org.apache.http.level = FINEST
org.apache.http.wire.level = SEVERE

to $tomcat_home/conf/logging.properties (according to https://hc.apache.org/httpcomponents-client-ga/logging.html) but still not seeing the wire output. where should I find it?

frank
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to