Doker Image does not Connect to RDP

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Doker Image does not Connect to RDP

Douglas
Hello!

I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
Running
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:309)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:250)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString (WsRemoteEndpointImplBase.java:191)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText (WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction (GuacamoleWebSocketTunnelEndpoint.java:152)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access $ 200 (GuacamoleWebSocketTunnelEndpoint.java:53)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint $ 2.run (GuacamoleWebSocketTunnelEndpoint.java:253)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".


Whats wrong in my installation?

Thank you.

DRauber
Reply | Threaded
Open this post in threaded view
|

Re: Doker Image does not Connect to RDP

vnick
When you created the RDP connection, did you set the security parameters as required by the server, and did you try checking the "Ignore Certificate" box to see if it's an issue with certificate trust?

-Nick

On Wed, Jun 3, 2020 at 7:16 AM Douglas <[hidden email]> wrote:
Hello!

I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
Running
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:309)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:250)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString (WsRemoteEndpointImplBase.java:191)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText (WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction (GuacamoleWebSocketTunnelEndpoint.java:152)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access $ 200 (GuacamoleWebSocketTunnelEndpoint.java:53)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint $ 2.run (GuacamoleWebSocketTunnelEndpoint.java:253)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".


Whats wrong in my installation?

Thank you.

DRauber
Reply | Threaded
Open this post in threaded view
|

Re: Doker Image does not Connect to RDP

Douglas
Yes Nick!

I have filled:
Name: TestRDP
Protocol:RDP
Network:Hostname: <IP of the server>
Network:Port: 5432
Network:Username: Administrator
Network:Password: myPassword
Network:Security mode: Any / I have tried NLA too
Ignore server certificate: Checked
No more fields touched.

In desktop environment (out of docker containers) i ran: xfreerdp +clipboard /u:Administrator /v:<IP of the server> /p:myPassword
And the connection is established.

Thanks in advance.

DRauber

Em qua., 3 de jun. de 2020 às 09:17, Nick Couchman <[hidden email]> escreveu:
When you created the RDP connection, did you set the security parameters as required by the server, and did you try checking the "Ignore Certificate" box to see if it's an issue with certificate trust?

-Nick

On Wed, Jun 3, 2020 at 7:16 AM Douglas <[hidden email]> wrote:
Hello!

I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
Running
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:309)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:250)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString (WsRemoteEndpointImplBase.java:191)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText (WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction (GuacamoleWebSocketTunnelEndpoint.java:152)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access $ 200 (GuacamoleWebSocketTunnelEndpoint.java:53)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint $ 2.run (GuacamoleWebSocketTunnelEndpoint.java:253)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".


Whats wrong in my installation?

Thank you.

DRauber
Reply | Threaded
Open this post in threaded view
|

Re: Doker Image does not Connect to RDP

Ghost_Knight
Are you using the 1.2.0-staging changes or 1.1.0?

There are some issues that may not yield proper logging that have been fixed in 1.2.0-staging.

On Wed, Jun 3, 2020 at 9:05 AM Douglas <[hidden email]> wrote:
Yes Nick!

I have filled:
Name: TestRDP
Protocol:RDP
Network:Hostname: <IP of the server>
Network:Port: 5432
Network:Username: Administrator
Network:Password: myPassword
Network:Security mode: Any / I have tried NLA too
Ignore server certificate: Checked
No more fields touched.

In desktop environment (out of docker containers) i ran: xfreerdp +clipboard /u:Administrator /v:<IP of the server> /p:myPassword
And the connection is established.

Thanks in advance.

DRauber

Em qua., 3 de jun. de 2020 às 09:17, Nick Couchman <[hidden email]> escreveu:
When you created the RDP connection, did you set the security parameters as required by the server, and did you try checking the "Ignore Certificate" box to see if it's an issue with certificate trust?

-Nick

On Wed, Jun 3, 2020 at 7:16 AM Douglas <[hidden email]> wrote:
Hello!

I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
Running
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:309)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:250)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString (WsRemoteEndpointImplBase.java:191)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText (WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction (GuacamoleWebSocketTunnelEndpoint.java:152)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access $ 200 (GuacamoleWebSocketTunnelEndpoint.java:53)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint $ 2.run (GuacamoleWebSocketTunnelEndpoint.java:253)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".


Whats wrong in my installation?

Thank you.

DRauber
Reply | Threaded
Open this post in threaded view
|

Re: Doker Image does not Connect to RDP

Douglas
I don't know Time! 

I have not make version choice at any time. And tried to find it on web interface, but can't find.
How i can find it?

Thanks

DRauber

Em qua., 3 de jun. de 2020 às 10:10, Tim Worcester <[hidden email]> escreveu:
Are you using the 1.2.0-staging changes or 1.1.0?

There are some issues that may not yield proper logging that have been fixed in 1.2.0-staging.

On Wed, Jun 3, 2020 at 9:05 AM Douglas <[hidden email]> wrote:
Yes Nick!

I have filled:
Name: TestRDP
Protocol:RDP
Network:Hostname: <IP of the server>
Network:Port: 5432
Network:Username: Administrator
Network:Password: myPassword
Network:Security mode: Any / I have tried NLA too
Ignore server certificate: Checked
No more fields touched.

In desktop environment (out of docker containers) i ran: xfreerdp +clipboard /u:Administrator /v:<IP of the server> /p:myPassword
And the connection is established.

Thanks in advance.

DRauber

Em qua., 3 de jun. de 2020 às 09:17, Nick Couchman <[hidden email]> escreveu:
When you created the RDP connection, did you set the security parameters as required by the server, and did you try checking the "Ignore Certificate" box to see if it's an issue with certificate trust?

-Nick

On Wed, Jun 3, 2020 at 7:16 AM Douglas <[hidden email]> wrote:
Hello!

I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
Running
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:309)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:250)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString (WsRemoteEndpointImplBase.java:191)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText (WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction (GuacamoleWebSocketTunnelEndpoint.java:152)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access $ 200 (GuacamoleWebSocketTunnelEndpoint.java:53)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint $ 2.run (GuacamoleWebSocketTunnelEndpoint.java:253)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".


Whats wrong in my installation?

Thank you.

DRauber
Reply | Threaded
Open this post in threaded view
|

Re: Doker Image does not Connect to RDP

Ghost_Knight
Fastest way I know is to open the Guacamole web page, open a developer console and run `Guacamole.API_VERSION`.

On Wed, Jun 3, 2020 at 9:17 AM Douglas <[hidden email]> wrote:
I don't know Time! 

I have not make version choice at any time. And tried to find it on web interface, but can't find.
How i can find it?

Thanks

DRauber

Em qua., 3 de jun. de 2020 às 10:10, Tim Worcester <[hidden email]> escreveu:
Are you using the 1.2.0-staging changes or 1.1.0?

There are some issues that may not yield proper logging that have been fixed in 1.2.0-staging.

On Wed, Jun 3, 2020 at 9:05 AM Douglas <[hidden email]> wrote:
Yes Nick!

I have filled:
Name: TestRDP
Protocol:RDP
Network:Hostname: <IP of the server>
Network:Port: 5432
Network:Username: Administrator
Network:Password: myPassword
Network:Security mode: Any / I have tried NLA too
Ignore server certificate: Checked
No more fields touched.

In desktop environment (out of docker containers) i ran: xfreerdp +clipboard /u:Administrator /v:<IP of the server> /p:myPassword
And the connection is established.

Thanks in advance.

DRauber

Em qua., 3 de jun. de 2020 às 09:17, Nick Couchman <[hidden email]> escreveu:
When you created the RDP connection, did you set the security parameters as required by the server, and did you try checking the "Ignore Certificate" box to see if it's an issue with certificate trust?

-Nick

On Wed, Jun 3, 2020 at 7:16 AM Douglas <[hidden email]> wrote:
Hello!

I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
Running
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:309)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:250)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString (WsRemoteEndpointImplBase.java:191)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText (WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction (GuacamoleWebSocketTunnelEndpoint.java:152)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access $ 200 (GuacamoleWebSocketTunnelEndpoint.java:53)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint $ 2.run (GuacamoleWebSocketTunnelEndpoint.java:253)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".


Whats wrong in my installation?

Thank you.

DRauber
Reply | Threaded
Open this post in threaded view
|

Re: Doker Image does not Connect to RDP

Douglas
Yes, "1.1.0".

How i can upgrade to 1.2.0-staging? Or it have docker images for desired version?

thanks

Em qua., 3 de jun. de 2020 às 10:41, Tim Worcester <[hidden email]> escreveu:
Fastest way I know is to open the Guacamole web page, open a developer console and run `Guacamole.API_VERSION`.

On Wed, Jun 3, 2020 at 9:17 AM Douglas <[hidden email]> wrote:
I don't know Time! 

I have not make version choice at any time. And tried to find it on web interface, but can't find.
How i can find it?

Thanks

DRauber

Em qua., 3 de jun. de 2020 às 10:10, Tim Worcester <[hidden email]> escreveu:
Are you using the 1.2.0-staging changes or 1.1.0?

There are some issues that may not yield proper logging that have been fixed in 1.2.0-staging.

On Wed, Jun 3, 2020 at 9:05 AM Douglas <[hidden email]> wrote:
Yes Nick!

I have filled:
Name: TestRDP
Protocol:RDP
Network:Hostname: <IP of the server>
Network:Port: 5432
Network:Username: Administrator
Network:Password: myPassword
Network:Security mode: Any / I have tried NLA too
Ignore server certificate: Checked
No more fields touched.

In desktop environment (out of docker containers) i ran: xfreerdp +clipboard /u:Administrator /v:<IP of the server> /p:myPassword
And the connection is established.

Thanks in advance.

DRauber

Em qua., 3 de jun. de 2020 às 09:17, Nick Couchman <[hidden email]> escreveu:
When you created the RDP connection, did you set the security parameters as required by the server, and did you try checking the "Ignore Certificate" box to see if it's an issue with certificate trust?

-Nick

On Wed, Jun 3, 2020 at 7:16 AM Douglas <[hidden email]> wrote:
Hello!

I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
Running
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:309)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:250)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString (WsRemoteEndpointImplBase.java:191)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText (WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction (GuacamoleWebSocketTunnelEndpoint.java:152)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access $ 200 (GuacamoleWebSocketTunnelEndpoint.java:53)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint $ 2.run (GuacamoleWebSocketTunnelEndpoint.java:253)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".


Whats wrong in my installation?

Thank you.

DRauber
Reply | Threaded
Open this post in threaded view
|

Re: Doker Image does not Connect to RDP

Ghost_Knight
The latest that I see on docker hub is 1.1.0: https://hub.docker.com/r/guacamole/guacamole/tags

Unless someone else here knows where to get a more recent image on a public registry you may need to make your own docker image by pulling the latest code from https://github.com/apache/guacamole-server and compiling it.

On Wed, Jun 3, 2020 at 9:45 AM Douglas <[hidden email]> wrote:
Yes, "1.1.0".

How i can upgrade to 1.2.0-staging? Or it have docker images for desired version?

thanks

Em qua., 3 de jun. de 2020 às 10:41, Tim Worcester <[hidden email]> escreveu:
Fastest way I know is to open the Guacamole web page, open a developer console and run `Guacamole.API_VERSION`.

On Wed, Jun 3, 2020 at 9:17 AM Douglas <[hidden email]> wrote:
I don't know Time! 

I have not make version choice at any time. And tried to find it on web interface, but can't find.
How i can find it?

Thanks

DRauber

Em qua., 3 de jun. de 2020 às 10:10, Tim Worcester <[hidden email]> escreveu:
Are you using the 1.2.0-staging changes or 1.1.0?

There are some issues that may not yield proper logging that have been fixed in 1.2.0-staging.

On Wed, Jun 3, 2020 at 9:05 AM Douglas <[hidden email]> wrote:
Yes Nick!

I have filled:
Name: TestRDP
Protocol:RDP
Network:Hostname: <IP of the server>
Network:Port: 5432
Network:Username: Administrator
Network:Password: myPassword
Network:Security mode: Any / I have tried NLA too
Ignore server certificate: Checked
No more fields touched.

In desktop environment (out of docker containers) i ran: xfreerdp +clipboard /u:Administrator /v:<IP of the server> /p:myPassword
And the connection is established.

Thanks in advance.

DRauber

Em qua., 3 de jun. de 2020 às 09:17, Nick Couchman <[hidden email]> escreveu:
When you created the RDP connection, did you set the security parameters as required by the server, and did you try checking the "Ignore Certificate" box to see if it's an issue with certificate trust?

-Nick

On Wed, Jun 3, 2020 at 7:16 AM Douglas <[hidden email]> wrote:
Hello!

I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
Running
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:309)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:250)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString (WsRemoteEndpointImplBase.java:191)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText (WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction (GuacamoleWebSocketTunnelEndpoint.java:152)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access $ 200 (GuacamoleWebSocketTunnelEndpoint.java:53)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint $ 2.run (GuacamoleWebSocketTunnelEndpoint.java:253)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".


Whats wrong in my installation?

Thank you.

DRauber
Reply | Threaded
Open this post in threaded view
|

Re: Doker Image does not Connect to RDP

Douglas
But, in previous versions it does not work?

Thanks

Em qua., 3 de jun. de 2020 às 11:17, Tim Worcester <[hidden email]> escreveu:
The latest that I see on docker hub is 1.1.0: https://hub.docker.com/r/guacamole/guacamole/tags

Unless someone else here knows where to get a more recent image on a public registry you may need to make your own docker image by pulling the latest code from https://github.com/apache/guacamole-server and compiling it.

On Wed, Jun 3, 2020 at 9:45 AM Douglas <[hidden email]> wrote:
Yes, "1.1.0".

How i can upgrade to 1.2.0-staging? Or it have docker images for desired version?

thanks

Em qua., 3 de jun. de 2020 às 10:41, Tim Worcester <[hidden email]> escreveu:
Fastest way I know is to open the Guacamole web page, open a developer console and run `Guacamole.API_VERSION`.

On Wed, Jun 3, 2020 at 9:17 AM Douglas <[hidden email]> wrote:
I don't know Time! 

I have not make version choice at any time. And tried to find it on web interface, but can't find.
How i can find it?

Thanks

DRauber

Em qua., 3 de jun. de 2020 às 10:10, Tim Worcester <[hidden email]> escreveu:
Are you using the 1.2.0-staging changes or 1.1.0?

There are some issues that may not yield proper logging that have been fixed in 1.2.0-staging.

On Wed, Jun 3, 2020 at 9:05 AM Douglas <[hidden email]> wrote:
Yes Nick!

I have filled:
Name: TestRDP
Protocol:RDP
Network:Hostname: <IP of the server>
Network:Port: 5432
Network:Username: Administrator
Network:Password: myPassword
Network:Security mode: Any / I have tried NLA too
Ignore server certificate: Checked
No more fields touched.

In desktop environment (out of docker containers) i ran: xfreerdp +clipboard /u:Administrator /v:<IP of the server> /p:myPassword
And the connection is established.

Thanks in advance.

DRauber

Em qua., 3 de jun. de 2020 às 09:17, Nick Couchman <[hidden email]> escreveu:
When you created the RDP connection, did you set the security parameters as required by the server, and did you try checking the "Ignore Certificate" box to see if it's an issue with certificate trust?

-Nick

On Wed, Jun 3, 2020 at 7:16 AM Douglas <[hidden email]> wrote:
Hello!

I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
Running
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:309)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:250)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString (WsRemoteEndpointImplBase.java:191)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText (WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction (GuacamoleWebSocketTunnelEndpoint.java:152)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access $ 200 (GuacamoleWebSocketTunnelEndpoint.java:53)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint $ 2.run (GuacamoleWebSocketTunnelEndpoint.java:253)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".


Whats wrong in my installation?

Thank you.

DRauber
Reply | Threaded
Open this post in threaded view
|

Re: Doker Image does not Connect to RDP

Ghost_Knight
1.1.0 introduced the update to FreeRDP 2.0 which was not a trivial change.  There have been issues documented and fixed.

I supposed you could try 1.0.0 and see if that works for you for now :)

On Wed, Jun 3, 2020 at 10:44 AM Douglas <[hidden email]> wrote:
But, in previous versions it does not work?

Thanks

Em qua., 3 de jun. de 2020 às 11:17, Tim Worcester <[hidden email]> escreveu:
The latest that I see on docker hub is 1.1.0: https://hub.docker.com/r/guacamole/guacamole/tags

Unless someone else here knows where to get a more recent image on a public registry you may need to make your own docker image by pulling the latest code from https://github.com/apache/guacamole-server and compiling it.

On Wed, Jun 3, 2020 at 9:45 AM Douglas <[hidden email]> wrote:
Yes, "1.1.0".

How i can upgrade to 1.2.0-staging? Or it have docker images for desired version?

thanks

Em qua., 3 de jun. de 2020 às 10:41, Tim Worcester <[hidden email]> escreveu:
Fastest way I know is to open the Guacamole web page, open a developer console and run `Guacamole.API_VERSION`.

On Wed, Jun 3, 2020 at 9:17 AM Douglas <[hidden email]> wrote:
I don't know Time! 

I have not make version choice at any time. And tried to find it on web interface, but can't find.
How i can find it?

Thanks

DRauber

Em qua., 3 de jun. de 2020 às 10:10, Tim Worcester <[hidden email]> escreveu:
Are you using the 1.2.0-staging changes or 1.1.0?

There are some issues that may not yield proper logging that have been fixed in 1.2.0-staging.

On Wed, Jun 3, 2020 at 9:05 AM Douglas <[hidden email]> wrote:
Yes Nick!

I have filled:
Name: TestRDP
Protocol:RDP
Network:Hostname: <IP of the server>
Network:Port: 5432
Network:Username: Administrator
Network:Password: myPassword
Network:Security mode: Any / I have tried NLA too
Ignore server certificate: Checked
No more fields touched.

In desktop environment (out of docker containers) i ran: xfreerdp +clipboard /u:Administrator /v:<IP of the server> /p:myPassword
And the connection is established.

Thanks in advance.

DRauber

Em qua., 3 de jun. de 2020 às 09:17, Nick Couchman <[hidden email]> escreveu:
When you created the RDP connection, did you set the security parameters as required by the server, and did you try checking the "Ignore Certificate" box to see if it's an issue with certificate trust?

-Nick

On Wed, Jun 3, 2020 at 7:16 AM Douglas <[hidden email]> wrote:
Hello!

I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
Running
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:309)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:250)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString (WsRemoteEndpointImplBase.java:191)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText (WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction (GuacamoleWebSocketTunnelEndpoint.java:152)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access $ 200 (GuacamoleWebSocketTunnelEndpoint.java:53)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint $ 2.run (GuacamoleWebSocketTunnelEndpoint.java:253)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".


Whats wrong in my installation?

Thank you.

DRauber
Reply | Threaded
Open this post in threaded view
|

Re: Doker Image does not Connect to RDP

Douglas
Hello friends!

I installed version 1.0.0 and it was possible to connect as I needed!

Thanks a lot for the help!

DRauber

Em qua., 3 de jun. de 2020 às 12:24, Tim Worcester <[hidden email]> escreveu:
1.1.0 introduced the update to FreeRDP 2.0 which was not a trivial change.  There have been issues documented and fixed.

I supposed you could try 1.0.0 and see if that works for you for now :)

On Wed, Jun 3, 2020 at 10:44 AM Douglas <[hidden email]> wrote:
But, in previous versions it does not work?

Thanks

Em qua., 3 de jun. de 2020 às 11:17, Tim Worcester <[hidden email]> escreveu:
The latest that I see on docker hub is 1.1.0: https://hub.docker.com/r/guacamole/guacamole/tags

Unless someone else here knows where to get a more recent image on a public registry you may need to make your own docker image by pulling the latest code from https://github.com/apache/guacamole-server and compiling it.

On Wed, Jun 3, 2020 at 9:45 AM Douglas <[hidden email]> wrote:
Yes, "1.1.0".

How i can upgrade to 1.2.0-staging? Or it have docker images for desired version?

thanks

Em qua., 3 de jun. de 2020 às 10:41, Tim Worcester <[hidden email]> escreveu:
Fastest way I know is to open the Guacamole web page, open a developer console and run `Guacamole.API_VERSION`.

On Wed, Jun 3, 2020 at 9:17 AM Douglas <[hidden email]> wrote:
I don't know Time! 

I have not make version choice at any time. And tried to find it on web interface, but can't find.
How i can find it?

Thanks

DRauber

Em qua., 3 de jun. de 2020 às 10:10, Tim Worcester <[hidden email]> escreveu:
Are you using the 1.2.0-staging changes or 1.1.0?

There are some issues that may not yield proper logging that have been fixed in 1.2.0-staging.

On Wed, Jun 3, 2020 at 9:05 AM Douglas <[hidden email]> wrote:
Yes Nick!

I have filled:
Name: TestRDP
Protocol:RDP
Network:Hostname: <IP of the server>
Network:Port: 5432
Network:Username: Administrator
Network:Password: myPassword
Network:Security mode: Any / I have tried NLA too
Ignore server certificate: Checked
No more fields touched.

In desktop environment (out of docker containers) i ran: xfreerdp +clipboard /u:Administrator /v:<IP of the server> /p:myPassword
And the connection is established.

Thanks in advance.

DRauber

Em qua., 3 de jun. de 2020 às 09:17, Nick Couchman <[hidden email]> escreveu:
When you created the RDP connection, did you set the security parameters as required by the server, and did you try checking the "Ignore Certificate" box to see if it's an issue with certificate trust?

-Nick

On Wed, Jun 3, 2020 at 7:16 AM Douglas <[hidden email]> wrote:
Hello!

I am totally new to using Apache Guacamole. I installed the Docker images using:
$ sudo docker run --name some-guacd -d guacamole / guacd
$ sudo docker run --name some-guacamole --link some-guacd: guacd -e $ POSTGRES_DATABASE = guacamole_db -e POSTGRES_USER = postgres -e POSTGRES_PASSWORD = asus -e POSTGRES_HOSTNAME = 192.168.138.5 -e POSTGRES_ : 8080 guacamole / guacamole
$ sudo docker run --rm guacamole / guacamole /opt/guacamole/bin/initdb.sh --postgres> initdb.sql
I ran the initdb.sql command on postgres.
I can connect through the browser, and created two connections, one to an SSH server and one to an MS RDP server.
The SSH server connects and works perfectly.
The connection to the RDP server features:
'Connected to Guacamole. Waiting for response ... '
and right after.
The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs.
Reconnect in xxxx ...
Running
$ sudo docker logs some-guacamole
I get ...
11: 12: 26.880 [http-nio-8080-exec-4] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
Exception in thread "Thread-6" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart (WsRemoteEndpointImplBase.java:424)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:309)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock (WsRemoteEndpointImplBase.java:250)
at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString (WsRemoteEndpointImplBase.java:191)
at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText (WsRemoteEndpointBasic.java:37)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction (GuacamoleWebSocketTunnelEndpoint.java:152)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access $ 200 (GuacamoleWebSocketTunnelEndpoint.java:53)
at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint $ 2.run (GuacamoleWebSocketTunnelEndpoint.java:253)
11: 12: 41.907 [http-nio-8080-exec-3] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15022 milliseconds
11: 12: 57.053 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".
11: 13: 12.082 [http-nio-8080-exec-6] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" disconnected from connection "2". Duration: 15029 milliseconds
11: 13: 28.179 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to connection "2".


Whats wrong in my installation?

Thank you.

DRauber