I am not able to connect the Websocket connections because of the following
errors : -
Machine : Centos 7
Gucamole Version : 0.13
*Errors in Catalina.out *
>
> [Thread-65] DEBUG o.a.g.w.GuacamoleWebSocketTunnelEndpoint - Connection to
> guacd closed.
> org.apache.guacamole.GuacamoleConnectionClosedException: Connection to
> guacd is closed.
> at
> org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:185)
> ~[guacamole-common-0.9.10-incubating.jar:na]
> at
> org.apache.guacamole.io.ReaderGuacamoleReader.readInstruction(ReaderGuacamoleReader.java:197)
> ~[guacamole-common-0.9.10-incubating.jar:na]
> at
> org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:83)
> ~[guacamole-common-0.9.10-incubating.jar:na]
> at
> org.apache.guacamole.protocol.FilteredGuacamoleReader.readInstruction(FilteredGuacamoleReader.java:83)
> ~[guacamole-common-0.9.10-incubating.jar:na]
> at
> org.apache.guacamole.protocol.FilteredGuacamoleReader.read(FilteredGuacamoleReader.java:66)
> ~[guacamole-common-0.9.10-incubating.jar:na]
> at
> org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:162)
> ~[guacamole-common-0.9.10-incubating.jar:na]
> Caused by: java.net.SocketException: Socket closed
> at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.7.0_51]
> at java.net.SocketInputStream.read(SocketInputStream.java:152)
> ~[na:1.7.0_51]
> at java.net.SocketInputStream.read(SocketInputStream.java:122)
> ~[na:1.7.0_51]
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
> ~[na:1.7.0_51]
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) ~[na:1.7.0_51]
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) ~[na:1.7.0_51]
> at java.io.InputStreamReader.read(InputStreamReader.java:184)
> ~[na:1.7.0_51]
> at
> org.apache.guacamole.io.ReaderGuacamoleReader.read(ReaderGuacamoleReader.java:171)
> ~[guacamole-common-0.9.10-incubating.jar:na]
> ... 5 common frames omitted
*Errors in Syslog :*
Oct 26 11:13:45 hysecuresslvpn guacd[4035]: Creating new client for
> protocol "rdp"
> Oct 26 11:13:45 hysecuresslvpn guacd: guacd[4035]: INFO: Creating new
> client for protocol "rdp"
> Oct 26 11:13:45 hysecuresslvpn guacd: guacd[4035]: INFO: Connection ID is
> "$234cbf85-7cfe-47f8-8269-7e7dfbeea05a"
> Oct 26 11:13:45 hysecuresslvpn guacd[4035]: Connection ID is
> "$234cbf85-7cfe-47f8-8269-7e7dfbeea05a"
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: No security mode specified.
> Defaulting to RDP.
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: No security
> mode specified. Defaulting to RDP.
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Resize method:
> none
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: User
> "@7eda383e-1312-4db7-9f1a-6a6afb3d7ce1" joined connection
> "$234cbf85-7cfe-47f8-8269-7e7dfbeea05a" (1 users now present)
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Resize method: none
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: User
> "@7eda383e-1312-4db7-9f1a-6a6afb3d7ce1" joined connection
> "$234cbf85-7cfe-47f8-8269-7e7dfbeea05a" (1 users now present)
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Loading keymap "base"
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Loading keymap
> "base"
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Loading keymap
> "en-us-qwerty"
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Loading keymap "en-us-qwerty"
> Oct 26 11:13:46 hysecuresslvpn guacd[12333]: Internal RDP client
> disconnected
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12333]: INFO: Internal RDP
> client disconnected
> Oct 26 11:13:46 hysecuresslvpn guacd: connected to 172.16.1.75:3389
> Oct 26 11:13:46 hysecuresslvpn guacd[4035]: Connection
> "$006194f8-cc75-4fae-8a20-19723d4e1b05" removed.
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[4035]: INFO: Connection
> "$006194f8-cc75-4fae-8a20-19723d4e1b05" removed.
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: guacdr connected.
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: guacdr
> connected.
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: guacsnd connected.
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: guacsnd
> connected.
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Connected to RDPDR 1.12 as
> client 0x0006
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Connected to
> RDPDR 1.12 as client 0x0006
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Ignoring server capability
> set type=0x0001, length=44
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Ignoring server
> capability set type=0x0001, length=44
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Ignoring server
> capability set type=0x0002, length=8
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Ignoring server
> capability set type=0x0003, length=8
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Ignoring server
> capability set type=0x0004, length=8
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Ignoring server
> capability set type=0x0005, length=8
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Sending
> capabilities...
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Capabilities
> sent.
> Oct 26 11:13:46 hysecuresslvpn guacd: guacd[12346]: INFO: Client ID
> confirmed
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Ignoring server capability
> set type=0x0002, length=8
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Ignoring server capability
> set type=0x0003, length=8
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Ignoring server capability
> set type=0x0004, length=8
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Ignoring server capability
> set type=0x0005, length=8
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Sending capabilities...
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Capabilities sent.
> Oct 26 11:13:46 hysecuresslvpn guacd[12346]: Client ID confirmed
> Oct 26 11:14:26 hysecuresslvpn guacd[4035]: Creating new client for
> protocol "rdp"
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[4035]: INFO: Creating new
> client for protocol "rdp"
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[4035]: INFO: Connection ID is
> "$b84311a5-9750-40fb-b4f9-ae5dac86d322"
> Oct 26 11:14:26 hysecuresslvpn guacd[4035]: Connection ID is
> "$b84311a5-9750-40fb-b4f9-ae5dac86d322"
> Oct 26 11:14:26 hysecuresslvpn guacd[12363]: No security mode specified.
> Defaulting to RDP.
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[12363]: INFO: No security
> mode specified. Defaulting to RDP.
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[12363]: INFO: Resize method:
> none
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[12363]: INFO: User
> "@6181ce35-5af7-4bf6-9c0d-120f6067f16e" joined connection
> "$b84311a5-9750-40fb-b4f9-ae5dac86d322" (1 users now present)
> Oct 26 11:14:26 hysecuresslvpn guacd[12363]: Resize method: none
> Oct 26 11:14:26 hysecuresslvpn guacd[12363]: User
> "@6181ce35-5af7-4bf6-9c0d-120f6067f16e" joined connection
> "$b84311a5-9750-40fb-b4f9-ae5dac86d322" (1 users now present)
> Oct 26 11:14:26 hysecuresslvpn guacd[12363]: Loading keymap "base"
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[12363]: INFO: Loading keymap
> "base"
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[12363]: INFO: Loading keymap
> "en-us-qwerty"
> Oct 26 11:14:26 hysecuresslvpn guacd[12363]: Loading keymap "en-us-qwerty"
> Oct 26 11:14:26 hysecuresslvpn guacd[12363]: guacdr connected.
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[12363]: INFO: guacdr
> connected.
> Oct 26 11:14:26 hysecuresslvpn guacd[12363]: guacsnd connected.
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[12363]: INFO: guacsnd
> connected.
> Oct 26 11:14:26 hysecuresslvpn guacd[12363]: User
> "@6181ce35-5af7-4bf6-9c0d-120f6067f16e" disconnected (0 users remain)
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[12363]: INFO: User
> "@6181ce35-5af7-4bf6-9c0d-120f6067f16e" disconnected (0 users remain)
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[12363]: INFO: Last user of
> connection "$b84311a5-9750-40fb-b4f9-ae5dac86d322" disconnected
> Oct 26 11:14:26 hysecuresslvpn guacd[12363]: Last user of connection
> "$b84311a5-9750-40fb-b4f9-ae5dac86d322" disconnected
> Oct 26 11:14:26 hysecuresslvpn guacd[12363]: Internal RDP client
> disconnected
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[12363]: INFO: Internal RDP
> client disconnected
> Oct 26 11:14:26 hysecuresslvpn guacd[4035]: Connection
> "$b84311a5-9750-40fb-b4f9-ae5dac86d322" removed.
> Oct 26 11:14:26 hysecuresslvpn guacd: connected to 172.16.1.75:3389
> Oct 26 11:14:26 hysecuresslvpn guacd: guacd[4035]: INFO: Connection
> "$b84311a5-9750-40fb-b4f9-ae5dac86d322" removed.
> Oct 26 11:14:27 hysecuresslvpn guacd[4035]: Creating new client for
> protocol "rdp"
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[4035]: INFO: Creating new
> client for protocol "rdp"
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[4035]: INFO: Connection ID is
> "$ed90798d-9911-44b7-bd48-07af434fff44"
> Oct 26 11:14:27 hysecuresslvpn guacd[4035]: Connection ID is
> "$ed90798d-9911-44b7-bd48-07af434fff44"
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: No security mode specified.
> Defaulting to RDP.
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: No security
> mode specified. Defaulting to RDP.
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Resize method:
> none
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: User
> "@3c530702-2544-410e-8f94-c23ee0cdced2" joined connection
> "$ed90798d-9911-44b7-bd48-07af434fff44" (1 users now present)
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Resize method: none
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: User
> "@3c530702-2544-410e-8f94-c23ee0cdced2" joined connection
> "$ed90798d-9911-44b7-bd48-07af434fff44" (1 users now present)
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Loading keymap "base"
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Loading keymap
> "base"
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Loading keymap
> "en-us-qwerty"
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Loading keymap "en-us-qwerty"
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: guacsnd connected.
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: guacsnd
> connected.
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: guacdr connected.
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: guacdr
> connected.
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Connected to RDPDR 1.12 as
> client 0x0007
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Connected to
> RDPDR 1.12 as client 0x0007
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Ignoring server capability
> set type=0x0001, length=44
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Ignoring server
> capability set type=0x0001, length=44
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Ignoring server
> capability set type=0x0002, length=8
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Ignoring server
> capability set type=0x0003, length=8
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Ignoring server
> capability set type=0x0004, length=8
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Ignoring server
> capability set type=0x0005, length=8
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Sending
> capabilities...
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Capabilities
> sent.
> Oct 26 11:14:27 hysecuresslvpn guacd: guacd[12375]: INFO: Client ID
> confirmed
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Ignoring server capability
> set type=0x0002, length=8
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Ignoring server capability
> set type=0x0003, length=8
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Ignoring server capability
> set type=0x0004, length=8
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Ignoring server capability
> set type=0x0005, length=8
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Sending capabilities...
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Capabilities sent.
> Oct 26 11:14:27 hysecuresslvpn guacd[12375]: Client ID confirmed
> Oct 26 11:14:28 hysecuresslvpn guacd[12375]: Connected to RDPDR 1.12 as
> client 0x0002
> Oct 26 11:14:28 hysecuresslvpn guacd: guacd[12375]: INFO: Connected to
> RDPDR 1.12 as client 0x0002
> Oct 26 11:14:28 hysecuresslvpn guacd[12375]: Ignoring server capability
> set type=0x0001, length=44
> Oct 26 11:14:28 hysecuresslvpn guacd: guacd[12375]: INFO: Ignoring server
> capability set type=0x0001, length=44
> Oct 26 11:14:28 hysecuresslvpn guacd: guacd[12375]: INFO: Ignoring server
> capability set type=0x0002, length=8
> Oct 26 11:14:28 hysecuresslvpn guacd: guacd[12375]: INFO: Ignoring server
> capability set type=0x0003, length=8
> Oct 26 11:14:28 hysecuresslvpn guacd: guacd[12375]: INFO: Ignoring server
> capability set type=0x0004, length=8
> Oct 26 11:14:28 hysecuresslvpn guacd: guacd[12375]: INFO: Ignoring server
> capability set type=0x0005, length=8
> Oct 26 11:14:28 hysecuresslvpn guacd: guacd[12375]: INFO: Sending
> capabilities...
> Oct 26 11:14:28 hysecuresslvpn guacd: guacd[12375]: INFO: Capabilities
> sent.
> Oct 26 11:14:28 hysecuresslvpn guacd: guacd[12375]: INFO: Client ID
> confirmed
> Oct 26 11:14:28 hysecuresslvpn guacd[12375]: Ignoring server capability
> set type=0x0002, length=8
> Oct 26 11:14:28 hysecuresslvpn guacd[12375]: Ignoring server capability
> set type=0x0003, length=8
> Oct 26 11:14:28 hysecuresslvpn guacd[12375]: Ignoring server capability
> set type=0x0004, length=8
> Oct 26 11:14:28 hysecuresslvpn guacd[12375]: Ignoring server capability
> set type=0x0005, length=8
> Oct 26 11:14:28 hysecuresslvpn guacd[12375]: Sending capabilities...
> Oct 26 11:14:28 hysecuresslvpn guacd[12375]: Capabilities sent.
> Oct 26 11:14:28 hysecuresslvpn guacd[12375]: Client ID confirmed
> Oct 26 11:14:28 hysecuresslvpn guacd[12375]: User logged on
> Oct 26 11:14:28 hysecuresslvpn guacd: guacd[12375]: INFO: User logged on
> Oct 26 11:14:28 hysecuresslvpn guacd: guacd[12375]: INFO: All supported
> devices sent.
> Oct 26 11:14:28 hysecuresslvpn guacd[12375]: All supported devices sent.
> Oct 26 11:14:34 hysecuresslvpn guacd[12346]: User is not responding.
> Oct 26 11:14:34 hys
> ecuresslvpn guacd: guacd[12346]: ERROR: User is not responding.
> Oct 26 11:14:34 hysecuresslvpn guacd[12346]: User
> "@7eda383e-1312-4db7-9f1a-6a6afb3d7ce1" disconnected (0 users remain)
> Oct 26 11:14:34 hysecuresslvpn guacd: guacd[12346]: INFO: User
> "@7eda383e-1312-4db7-9f1a-6a6afb3d7ce1" disconnected (0 users remain)
> Oct 26 11:14:34 hysecuresslvpn guacd: guacd[12346]: INFO: Last user of
> connection "$234cbf85-7cfe-47f8-8269-7e7dfbeea05a" disconnected
> Oct 26 11:14:34 hysecuresslvpn guacd[12346]: Last user of connection
> "$234cbf85-7cfe-47f8-8269-7e7dfbeea05a" disconnected
> Oct 26 11:14:35 hysecuresslvpn guacd[12346]: Internal RDP client
> disconnected
> Oct 26 11:14:35 hysecuresslvpn guacd: guacd[12346]: INFO: Internal RDP
> client disconnected
> Oct 26 11:14:35 hysecuresslvpn guacd: connected to 172.16.1.75:3389
> Oct 26 11:14:35 hysecuresslvpn guacd[4035]: Connection
> "$234cbf85-7cfe-47f8-8269-7e7dfbeea05a" removed.
> Oct 26 11:14:35 hysecuresslvpn guacd: guacd[4035]: INFO: Connection
> "$234cbf85-7cfe-47f8-8269-7e7dfbeea05a" removed.
> Oct 26 11:20:01 hysecuresslvpn systemd: Started Session 220 of user root.
> Oct 26 11:20:01 hysecuresslvpn systemd: Starting Session 220 of user root.
*Requests in Developer Tools : -*
*General : *
1. Request URL:
wss://
172.16.1.180/accops-rdp/websocket-tunnel?token=1692775E387ECB3F6D2BCA9127CB3E02D712147F40233C4273B98BB597341852&GUAC_DATA_SOURCE=default&GUAC_ID=ACCOPS&GUAC_TYPE=c&GUAC_WIDTH=1920&GUAC_HEIGHT=468&GUAC_DPI=96&GUAC_AUDIO=audio%2FL8&GUAC_AUDIO=audio%2FL16&GUAC_IMAGE=image%2Fjpeg&GUAC_IMAGE=image%2Fpng&GUAC_IMAGE=image%2Fwebp
2. Request Method:
GET
3. Status Code:
101 Switching Protocols
4.
* Response Headers :*
1. Connection:
Upgrade
2. Cookie:
JSESSIONID=4A40BA2EC18DB0201EE726C2AED9EE3B;
GUAC_AUTH=%7B%22authToken%22%3A%221692775E387ECB3F6D2BCA9127CB3E02D712147F40233C4273B98BB597341852%22%2C%22username%22%3A%22Amarjeet%20Singh%22%2C%22dataSource%22%3A%22default%22%2C%22availableDataSources%22%3A%Np4vXlCikOuA7+dV1+Csw41Cb2Q=
3. Sec-WebSocket-Accept:
Np4vXlCikOuA7+dV1+Csw41Cb2Q=
4. Sec-WebSocket-Protocol:
guacamole
5. Upgrade:
WebSocket
6.
7. *Request Headers : *
8.
1. Accept-Encoding:
gzip, deflate, br
2. Accept-Language:
en-US,en;q=0.9
3. Cache-Control:
no-cache
4. Connection:
Upgrade
5. Cookie:
JSESSIONID=4A40BA2EC18DB0201EE726C2AED9EE3B;
GUAC_AUTH=%7B%22authToken%22%3A%221692775E387ECB3F6D2BCA9127CB3E02D712147F40233C4273B98BB597341852%22%2C%22username%22%3A%22Amarjeet%20Singh%22%2C%22dataSource%22%3A%22default%22%2C%22availableDataSources%22%3A%5B%22default%22%5D%7D
6. Host:
172.16.1.180
7. Origin:
https://172.16.1.180
8. Pragma:
no-cache
9. Sec-WebSocket-Extensions:
permessage-deflate; client_max_window_bits
10. Sec-WebSocket-Key:
X0rp7ejmdYaF60V3Y9yqUA==
11. Sec-WebSocket-Protocol:
guacamole
12. Sec-WebSocket-Version:
13
13. Upgrade:
websocket
14.
15.
1. Query Parameters :
2.
3. token:
1692775E387ECB3F6D2BCA9127CB3E02D712147F40233C4273B98BB597341852
4. GUAC_DATA_SOURCE:
default
5. GUAC_ID:
ACCOPS
6. GUAC_TYPE:
c
7. GUAC_WIDTH:
1920
8. GUAC_HEIGHT:
468
9. GUAC_DPI:
96
10. GUAC_AUDIO:
audio/L8
11. GUAC_AUDIO:
audio/L16
12. GUAC_IMAGE:
image/jpeg
13. GUAC_IMAGE:
image/png
14. GUAC_IMAGE:
image/webp
15.
16.
17.
18. Please look into the issue and do the needfull.
19. Thanks and Regards,
20. Amarjeet Singh