Huynh Minh Ngon created GUACAMOLE-796:
-----------------------------------------

             Summary: Guacamole failed with TS Gateway
                 Key: GUACAMOLE-796
                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-796
             Project: Guacamole
          Issue Type: Bug
          Components: guacamole-client
    Affects Versions: 1.0.0
         Environment: Ubuntu 18.04
            Reporter: Huynh Minh Ngon
         Attachments: guac-install.sh, image-2019-05-16-15-54-33-606.png

Dear guacamole team,
 * I'm need your help about TS Gateway on Guacamole 1.0.0.
 * I have setup Apache Guacamole on Ubuntu 18.04 *(IP 10.16.248.120)*. And I 
have problem with TS Gateway on that server.
 * I installed Guacamole from script file attached.
 * I setting connections with Remote Desktop Gateway option:

Hostname: rdgateway

Port: 443

Username: my domain username
 Password: my password
 Domain: my domain
 * The connection connected to TS Gateway and disconnect immediately.
 * This is my log when connection *through TS Gateway (It's not Good):*

*cat /var/log/syslog*

May 16 14:54:51 fovguac guacd[1007]: Creating new client for protocol "rdp"

May 16 14:54:51 fovguac guacd[1007]: Connection ID is 
"$a4173f0e-4d82-40a6-87a7-fad606c245d6"

May 16 14:54:51 fovguac guacd[14295]: Security mode: TLS

May 16 14:54:51 fovguac guacd[14295]: Resize method: none

May 16 14:54:51 fovguac guacd[14295]: User 
"@ac38d61d-b0be-42f8-b750-56b1bf4296d7" joined connection 
"$a4173f0e-4d82-40a6-87a7-fad606c245d6" (1 users now present)

May 16 14:54:51 fovguac guacd[14295]: Loading keymap "base"

May 16 14:54:51 fovguac guacd[14295]: Loading keymap "en-us-qwerty"

*May 16 14:55:21 fovguac guacd[14295]: User is not responding.*

May 16 14:55:21 fovguac guacd[14295]: User 
"@ac38d61d-b0be-42f8-b750-56b1bf4296d7" disconnected (0 users remain)

May 16 14:55:21 fovguac guacd[14295]: Last user of connection 
"$a4173f0e-4d82-40a6-87a7-fad606c245d6" disconnected

May 16 14:55:26 fovguac guacd[14295]: Client did not terminate in a timely 
manner. Forcibly terminating client and any child processes.

May 16 14:55:26 fovguac guacd[1007]: Connection 
"$a4173f0e-4d82-40a6-87a7-fad606c245d6" removed.

*cat /var/log/tomcat8/catalina.out*

15:19:14.797 [http-nio-8080-exec-9] INFO  o.a.g.tunnel.TunnelRequestService - 
User "guacadmin" connected to connection "1".

15:19:29.859 [Thread-239] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - 
Connection to guacd terminated abnormally: Connection to guacd timed out.

15:19:29.860 [Thread-239] INFO  o.a.g.tunnel.TunnelRequestService - User 
"guacadmin" disconnected from connection "1". Duration: 15063 milliseconds

15:19:45.913 [http-nio-8080-exec-5] INFO  o.a.g.tunnel.TunnelRequestService - 
User "guacadmin" connected to connection "1".

15:20:00.971 [Thread-241] ERROR *o.a.g.w.GuacamoleWebSocketTunnelEndpoint - 
Connection to guacd terminated abnormally: Connection to guacd timed out.*

15:20:00.972 [Thread-241] INFO  o.a.g.tunnel.TunnelRequestService - User 
"guacadmin" disconnected from connection "1". Duration: 15059 milliseconds

*TS Gateway log:*

The user "FOV\ngonhm", on client computer "10.16.248.120", met connection 
authorization policy requirements and was therefore authorized to access the RD 
Gateway server. The authentication method used was: "NTLM" and connection 
protocol used: "RPC-HTTP".

The user "FOV\ngonhm", on client computer "10.16.248.120", met resource 
authorization policy requirements and was therefore authorized to connect to 
resource "fovadmcen.fujikuravn.com".

*The user "FOV\ngonhm", on client computer "10.16.248.120", connected to 
resource "fovadmcen.fujikuravn.com". Connection protocol used: "RPC-HTTP".*

*The user "FOV\ngonhm", on client computer "10.16.248.120", disconnected from 
the following network resource: "fovadmcen.fujikuravn.com". Before the user 
disconnected, the client transferred 293 bytes and received 0 bytes. The client 
session duration was 0 seconds. Connection protocol used: "RPC-HTTP".*

  !image-2019-05-16-15-54-33-606.png!
 * This is my log when connection *not through TS Gateway**(It's Good):*

 *cat /var/log/syslog*

May 16 15:29:01 fovguac guacd[1007]: Creating new client for protocol "rdp"

May 16 15:29:01 fovguac guacd[1007]: Connection ID is 
"$588c5538-ee7b-47c7-973d-8b32c6a9ce1f"

May 16 15:29:01 fovguac guacd[14466]: Security mode: TLS

May 16 15:29:01 fovguac guacd[14466]: Resize method: none

May 16 15:29:01 fovguac guacd[14466]: User 
"@02635c3f-6d0b-4760-837f-1c032290b237" joined connection 
"$588c5538-ee7b-47c7-973d-8b32c6a9ce1f" (1 users now present)

May 16 15:29:01 fovguac guacd[14466]: Loading keymap "base"

May 16 15:29:01 fovguac guacd[14466]: Loading keymap "en-us-qwerty"

May 16 15:29:01 fovguac guacd[14466]: guacsnd connected.

May 16 15:29:01 fovguac guacd[14466]: guacdr connected.

May 16 15:29:02 fovguac guacd[14466]: Connected to RDPDR 1.13 as client 0x0001

May 16 15:29:02 fovguac guacd[14466]: Ignoring server capability set 
type=0x0001, length=44

May 16 15:29:02 fovguac guacd[14466]: Ignoring server capability set 
type=0x0002, length=8

May 16 15:29:02 fovguac guacd[14466]: Ignoring server capability set 
type=0x0003, length=8

May 16 15:29:02 fovguac guacd[14466]: Ignoring server capability set 
type=0x0004, length=8

May 16 15:29:02 fovguac guacd[14466]: Ignoring server capability set 
type=0x0005, length=8

May 16 15:29:02 fovguac guacd[14466]: Sending capabilities...

May 16 15:29:02 fovguac guacd[14466]: Capabilities sent.

May 16 15:29:02 fovguac guacd[14466]: Client ID confirmed

May 16 15:29:08 fovguac guacd[14466]: User 
"@02635c3f-6d0b-4760-837f-1c032290b237" disconnected (0 users remain)

May 16 15:29:08 fovguac guacd[14466]: Last user of connection 
"$588c5538-ee7b-47c7-973d-8b32c6a9ce1f" disconnected

May 16 15:29:08 fovguac guacd[14466]: Internal RDP client disconnected

May 16 15:29:08 fovguac guacd[1007]: Connection 
"$588c5538-ee7b-47c7-973d-8b32c6a9ce1f" removed.

*cat /var/log/tomcat8/catalina.out*

15:29:01.702 [http-nio-8080-exec-2] INFO  o.a.g.tunnel.TunnelRequestService - 
User "guacadmin" connected to connection "1".

15:29:08.187 [http-nio-8080-exec-6] INFO  o.a.g.tunnel.TunnelRequestService - 
User "guacadmin" disconnected from connection "1". Duration: 6485 milliseconds
 * *I saw error log:* 

May 16 14:55:21 fovguac guacd[14295]: User is not responding. *( In syslog)*

15:20:00.971 [Thread-241] ERROR o.a.g.w.GuacamoleWebSocketTunnelEndpoint - 
Connection to guacd terminated abnormally: Connection to guacd timed out. *(In 
Catalina.out)*
 * As above, guacd was connected TS Gateway but Guac Client can't receive 
package. (Only my think)
 * So, How I can fix it? Please help me.

*_So sorry for my bad English!_*



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to