You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Gerd Hoerst <ge...@hoerst.net> on 2021/09/16 05:40:50 UTC

change guacamol-server from 1.3.0 to git

Hi !

Regarding my other problem which i posted here and got (unfortunately) 
no response.

I tried to change my setup from 1.3.0. to git so i had a running 1.3.0 
before.

i compiled everything and i can login as before, but trying to use any 
connection i get this in apache log:

[Wed Sep 15 17:04:05.376868 2021] [proxy:error] [pid 1543157] 
(111)Connection refused: AH00957: HTTP: attempt to connect to 
127.0.0.1:8080 (localhost) failed
[Wed Sep 15 17:04:05.376957 2021] [proxy_http:error] [pid 1543157] 
[client 62.159.242.114:45060] AH01114: HTTP: failed to make connection 
to backend: localhost

point is i changed nothing on apache/tomcat9 setup i only changed the 
guacamole part. What did i wrong in my thinking


Ciao Gerd


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org


Re: change guacamol-server from 1.3.0 to git

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Sep 16, 2021 at 10:17 AM Gerd Hoerst <ge...@hoerst.net> wrote:

> Hi !
> Am 16.09.21 um 13:52 schrieb Nick Couchman:
>
> On Thu, Sep 16, 2021 at 1:41 AM Gerd Hoerst <ge...@hoerst.net> wrote:
>
>> Hi !
>>
>> Regarding my other problem which i posted here and got (unfortunately)
>> no response.
>>
>> I tried to change my setup from 1.3.0. to git so i had a running 1.3.0
>> before.
>>
>> i compiled everything and i can login as before, but trying to use any
>> connection i get this in apache log:
>>
>> [Wed Sep 15 17:04:05.376868 2021] [proxy:error] [pid 1543157]
>> (111)Connection refused: AH00957: HTTP: attempt to connect to
>> 127.0.0.1:8080 (localhost) failed
>> [Wed Sep 15 17:04:05.376957 2021] [proxy_http:error] [pid 1543157]
>> [client 62.159.242.114:45060] AH01114: HTTP: failed to make connection
>> to backend: localhost
>>
>> point is i changed nothing on apache/tomcat9 setup i only changed the
>> guacamole part. What did i wrong in my thinking
>>
>>
> You haven't provided a lot of detail about how things are set up, but it
> looks like either Tomcat is not running, or, if you're running it through
> Docker, it isn't forwarding the port as expected. The message here is
> fairly straight-forward - whatever the proxy is cannot connect on port 8080
> (Tomcat's normal port). Make sure that Tomcat is running and is listening
> on the expected port - and, if you're using Docker, that the container
> configuration makes that port available.
>
> -Nick
>
> system is ubuntu 20.04 i told you i had 1.3.0 running....(only with the
> here written ssh problem , vnc and rdp were working) and i changed nothing
> on tomcat/apache2 side.
>
> Also i compiled
>    1391 ?        Ssl    2:39 /usr/lib/jvm/default-java/bin/java
> -Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.awt.headless=true -Djdk.tls.ephemeralDHKeySize=2048
> -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
> -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
> -Dignore.endorsed.dirs= -classpath
> /usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar
> -Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9
> -Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start
>
> and telnet localhost 8080 shows a connect..
>
> also server comiplation was done with same options
>
> ./configure --prefix=/usr --with-systemd-dir=/etc/systemd/system
>
> Ciao Gerd
>
Okay, but the error you posted clearly shows that the proxy cannot connect
to localhost:8080. This isn't really a Guacamole issue, this is an issue
with the Proxy (Apache httpd, I guess?) being able to contact Tomcat. Once
you figure out why that isn't working you should be able to use Guacamole,
again.

-NIck

Re: change guacamol-server from 1.3.0 to git

Posted by Gerd Hoerst <ge...@hoerst.net>.
Hi !

Am 16.09.21 um 13:52 schrieb Nick Couchman:
> On Thu, Sep 16, 2021 at 1:41 AM Gerd Hoerst <gerd@hoerst.net 
> <ma...@hoerst.net>> wrote:
>
>     Hi !
>
>     Regarding my other problem which i posted here and got
>     (unfortunately)
>     no response.
>
>     I tried to change my setup from 1.3.0. to git so i had a running
>     1.3.0
>     before.
>
>     i compiled everything and i can login as before, but trying to use
>     any
>     connection i get this in apache log:
>
>     [Wed Sep 15 17:04:05.376868 2021] [proxy:error] [pid 1543157]
>     (111)Connection refused: AH00957: HTTP: attempt to connect to
>     127.0.0.1:8080 <http://127.0.0.1:8080> (localhost) failed
>     [Wed Sep 15 17:04:05.376957 2021] [proxy_http:error] [pid 1543157]
>     [client 62.159.242.114:45060 <http://62.159.242.114:45060>]
>     AH01114: HTTP: failed to make connection
>     to backend: localhost
>
>     point is i changed nothing on apache/tomcat9 setup i only changed the
>     guacamole part. What did i wrong in my thinking
>
>
> You haven't provided a lot of detail about how things are set up, but 
> it looks like either Tomcat is not running, or, if you're running it 
> through Docker, it isn't forwarding the port as expected. The message 
> here is fairly straight-forward - whatever the proxy is cannot connect 
> on port 8080 (Tomcat's normal port). Make sure that Tomcat is running 
> and is listening on the expected port - and, if you're using Docker, 
> that the container configuration makes that port available.
>
> -Nick

system is ubuntu 20.04 i told you i had 1.3.0 running....(only with the 
here written ssh problem , vnc and rdp were working) and i changed 
nothing on tomcat/apache2 side.

Also i compiled

    1391 ?        Ssl    2:39 /usr/lib/jvm/default-java/bin/java 
-Djava.util.logging.config.file=/var/lib/tomcat9/conf/logging.properties 
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager 
-Djava.awt.headless=true -Djdk.tls.ephemeralDHKeySize=2048 
-Djava.protocol.handler.pkgs=org.apache.catalina.webresources 
-Dorg.apache.catalina.security.SecurityListener.UMASK=0027 
-Dignore.endorsed.dirs= -classpath 
/usr/share/tomcat9/bin/bootstrap.jar:/usr/share/tomcat9/bin/tomcat-juli.jar 
-Dcatalina.base=/var/lib/tomcat9 -Dcatalina.home=/usr/share/tomcat9 
-Djava.io.tmpdir=/tmp org.apache.catalina.startup.Bootstrap start

and telnet localhost 8080 shows a connect..

also server comiplation was done with same options

./configure --prefix=/usr --with-systemd-dir=/etc/systemd/system

Ciao Gerd


Re: change guacamol-server from 1.3.0 to git

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Sep 16, 2021 at 1:41 AM Gerd Hoerst <ge...@hoerst.net> wrote:

> Hi !
>
> Regarding my other problem which i posted here and got (unfortunately)
> no response.
>
> I tried to change my setup from 1.3.0. to git so i had a running 1.3.0
> before.
>
> i compiled everything and i can login as before, but trying to use any
> connection i get this in apache log:
>
> [Wed Sep 15 17:04:05.376868 2021] [proxy:error] [pid 1543157]
> (111)Connection refused: AH00957: HTTP: attempt to connect to
> 127.0.0.1:8080 (localhost) failed
> [Wed Sep 15 17:04:05.376957 2021] [proxy_http:error] [pid 1543157]
> [client 62.159.242.114:45060] AH01114: HTTP: failed to make connection
> to backend: localhost
>
> point is i changed nothing on apache/tomcat9 setup i only changed the
> guacamole part. What did i wrong in my thinking
>
>
You haven't provided a lot of detail about how things are set up, but it
looks like either Tomcat is not running, or, if you're running it through
Docker, it isn't forwarding the port as expected. The message here is
fairly straight-forward - whatever the proxy is cannot connect on port 8080
(Tomcat's normal port). Make sure that Tomcat is running and is listening
on the expected port - and, if you're using Docker, that the container
configuration makes that port available.

-Nick