You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by 崔** <ch...@163.com> on 2020/02/24 07:51:30 UTC

readTLS: (unknown error code) (49)

Hi everyone:
    I connected a VM(CentOS7) with vnc through guacamole。It's always black and reconnected every once in a while。


guacammole log :


[http-nio-8080-exec-1036] INFO  o.a.g.tunnel.TunnelRequestService - User "admin" disconnected from connection "ab7a7103-da10-4f50-af48-29dba38a0ef1". 
Duration: 207012 milliseconds


vnc server log:


Mon Feb 24 11:04:45 2020

 Connections: closed: 172.171.82.9::43972 (readTLS: (unknown error code) (49))

 EncodeManager: Framebuffer updates: 4505

 EncodeManager:   CopyRect:

 EncodeManager:     Copies: 3 rects, 1.24907 Mpixels

 EncodeManager:             48 B (1:104090 ratio)

 EncodeManager:   RRE:

 EncodeManager:     Solid: 2.332 krects, 4.45255 Mpixels

 EncodeManager:            45.5469 KiB (1:382.465 ratio)

 EncodeManager:   ZRLE:

 EncodeManager:     Bitmap RLE: 551 rects, 392.263 kpixels

 EncodeManager:                 16.8242 KiB (1:91.4595 ratio)

 EncodeManager:     Indexed RLE: 1.254 krects, 9.85629 Mpixels

 EncodeManager:                  608.06 KiB (1:63.3422 ratio)

 EncodeManager:     Full Colour: 8.059 krects, 93.0738 Mpixels

 EncodeManager:                  18.9366 MiB (1:18.7542 ratio)

 EncodeManager:   Total: 12.199 krects, 109.024 Mpixels

 EncodeManager:          19.5914 MiB (1:21.2355 ratio)

 TLS:         TLS session wasn't terminated gracefully

 ComparingUpdateTracker: 282.043 Mpixels in / 113.367 Mpixels out

 ComparingUpdateTracker: (1:2.48788 ratio)




Mon Feb 24 11:04:50 2020

 Connections: accepted: 172.171.82.9::32854

 SConnection: Client needs protocol version 3.8

 SConnection: Client requests security type VeNCrypt(19)

 SVeNCrypt:   Client requests security type TLSVnc (258)




Mon Feb 24 11:04:52 2020

 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888

 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888

Re:Re: Re: readTLS: (unknown error code) (49)

Posted by 崔** <ch...@163.com>.
version 1.0 ?  
Is there any better way to view version information of libvncclient?




root@guac6:/usr/share/doc/libvncclient1# ll
total 28
drwxr-xr-x   2 root root  4096 Mar  2 13:35 ./
drwxr-xr-x 784 root root  4096 Dec 12 10:34 ../
-rw-r--r--   1 root root  1745 Jan 31  2019 changelog.Debian.gz
-rw-r--r--   1 root root 12687 May 29  2015 copyright
root@guac6:/usr/share/doc/libvncclient1# 
root@guac6:/usr/share/doc/libvncclient1# 
root@guac6:/usr/share/doc/libvncclient1# 
root@guac6:/usr/share/doc/libvncclient1# 
root@guac6:/usr/share/doc/libvncclient1# cat copyright 
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
...




-cuihx







在 2020-02-29 21:16:00,"Nick Couchman" <vn...@apache.org> 写道:

On Thu, Feb 27, 2020 at 4:35 AM 崔** <ch...@163.com> wrote:

Thanks !
My vnc server is tigervnc-server .




What about the version of libvncclient in use on the system running guacd?


-Nick 

Re:Re: Re: readTLS: (unknown error code) (49)

Posted by 崔** <ch...@163.com>.
I changed the code with this 'https://github.com/apache/guacamole-server/pull/217/files'(guacamole-414), and restart the guacamole docker. 
But frequent TLS errors and consequently disconnections still exist. 
Is there any missing operation steps?


-cuihx









在 2020-02-29 21:16:00,"Nick Couchman" <vn...@apache.org> 写道:

On Thu, Feb 27, 2020 at 4:35 AM 崔** <ch...@163.com> wrote:

Thanks !
My vnc server is tigervnc-server .




What about the version of libvncclient in use on the system running guacd?


-Nick 

Re: Re: readTLS: (unknown error code) (49)

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Feb 27, 2020 at 4:35 AM 崔** <ch...@163.com> wrote:

> Thanks !
> My vnc server is tigervnc-server .
>
>
What about the version of libvncclient in use on the system running guacd?

-Nick

Re:Re: readTLS: (unknown error code) (49)

Posted by 崔** <ch...@163.com>.
Thanks !
My vnc server is tigervnc-server .


cuihx











在 2020-02-26 01:36:04,"Nick Couchman" <vn...@apache.org> 写道:





On Mon, Feb 24, 2020 at 2:51 AM 崔** <ch...@163.com> wrote:

Hi everyone:
    I connected a VM(CentOS7) with vnc through guacamole。It's always black and reconnected every once in a while。


guacammole log :


[http-nio-8080-exec-1036] INFO  o.a.g.tunnel.TunnelRequestService - User "admin" disconnected from connection "ab7a7103-da10-4f50-af48-29dba38a0ef1". 
Duration: 207012 milliseconds


vnc server log:


Mon Feb 24 11:04:45 2020

 Connections: closed: 172.171.82.9::43972 (readTLS: (unknown error code) (49))

 EncodeManager: Framebuffer updates: 4505

 EncodeManager:   CopyRect:

 EncodeManager:     Copies: 3 rects, 1.24907 Mpixels

 EncodeManager:             48 B (1:104090 ratio)

 EncodeManager:   RRE:

 EncodeManager:     Solid: 2.332 krects, 4.45255 Mpixels

 EncodeManager:            45.5469 KiB (1:382.465 ratio)

 EncodeManager:   ZRLE:

 EncodeManager:     Bitmap RLE: 551 rects, 392.263 kpixels

 EncodeManager:                 16.8242 KiB (1:91.4595 ratio)

 EncodeManager:     Indexed RLE: 1.254 krects, 9.85629 Mpixels

 EncodeManager:                  608.06 KiB (1:63.3422 ratio)

 EncodeManager:     Full Colour: 8.059 krects, 93.0738 Mpixels

 EncodeManager:                  18.9366 MiB (1:18.7542 ratio)

 EncodeManager:   Total: 12.199 krects, 109.024 Mpixels

 EncodeManager:          19.5914 MiB (1:21.2355 ratio)

 TLS:         TLS session wasn't terminated gracefully

 ComparingUpdateTracker: 282.043 Mpixels in / 113.367 Mpixels out

 ComparingUpdateTracker: (1:2.48788 ratio)




Mon Feb 24 11:04:50 2020

 Connections: accepted: 172.171.82.9::32854

 SConnection: Client needs protocol version 3.8

 SConnection: Client requests security type VeNCrypt(19)

 SVeNCrypt:   Client requests security type TLSVnc (258)




Mon Feb 24 11:04:52 2020

 VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian rgb888

 VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888






A couple of possible things...
- What VNC server are you using?  It's possible that it is using an incompatible VNC (RFB) protocol to try to communicate with the client, something that Guacamole doesn't support.
- If you're running CentOS 7 you may be hitting this bug: https://issues.apache.org/jira/browse/GUACAMOLE-414.  It requires a certain version of libvncclient for the fix to work, and I don't think CentOS7 includes that version, so you may have to build/update it manually.


-Nick




 

Re: readTLS: (unknown error code) (49)

Posted by Nick Couchman <vn...@apache.org>.
On Mon, Feb 24, 2020 at 2:51 AM 崔** <ch...@163.com> wrote:

> Hi everyone:
>     I connected a VM(CentOS7) with vnc through guacamole。It's always black
> and reconnected every once in a while。
>
> guacammole log :
>
> [http-nio-8080-exec-1036] INFO  o.a.g.tunnel.TunnelRequestService - User
> "admin" disconnected from connection
> "ab7a7103-da10-4f50-af48-29dba38a0ef1".
> Duration: 207012 milliseconds
>
> vnc server log:
>
> Mon Feb 24 11:04:45 2020
>
>  Connections: closed: 172.171.82.9::43972 (readTLS: (unknown error code)
> (49))
>
>  EncodeManager: Framebuffer updates: 4505
>
>  EncodeManager:   CopyRect:
>
>  EncodeManager:     Copies: 3 rects, 1.24907 Mpixels
>
>  EncodeManager:             48 B (1:104090 ratio)
>
>  EncodeManager:   RRE:
>
>  EncodeManager:     Solid: 2.332 krects, 4.45255 Mpixels
>
>  EncodeManager:            45.5469 KiB (1:382.465 ratio)
>
>  EncodeManager:   ZRLE:
>
>  EncodeManager:     Bitmap RLE: 551 rects, 392.263 kpixels
>
>  EncodeManager:                 16.8242 KiB (1:91.4595 ratio)
>
>  EncodeManager:     Indexed RLE: 1.254 krects, 9.85629 Mpixels
>
>  EncodeManager:                  608.06 KiB (1:63.3422 ratio)
>
>  EncodeManager:     Full Colour: 8.059 krects, 93.0738 Mpixels
>
>  EncodeManager:                  18.9366 MiB (1:18.7542 ratio)
>
>  EncodeManager:   Total: 12.199 krects, 109.024 Mpixels
>
>  EncodeManager:          19.5914 MiB (1:21.2355 ratio)
>
>  TLS:         TLS session wasn't terminated gracefully
>
>  ComparingUpdateTracker: 282.043 Mpixels in / 113.367 Mpixels out
>
>  ComparingUpdateTracker: (1:2.48788 ratio)
>
>
> Mon Feb 24 11:04:50 2020
>
>  Connections: accepted: 172.171.82.9::32854
>
>  SConnection: Client needs protocol version 3.8
>
>  SConnection: Client requests security type VeNCrypt(19)
>
>  SVeNCrypt:   Client requests security type TLSVnc (258)
>
>
> Mon Feb 24 11:04:52 2020
>
>  VNCSConnST:  Server default pixel format depth 24 (32bpp) little-endian
> rgb888
>
>  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888
>
>
>
A couple of possible things...
- What VNC server are you using?  It's possible that it is using an
incompatible VNC (RFB) protocol to try to communicate with the client,
something that Guacamole doesn't support.
- If you're running CentOS 7 you may be hitting this bug:
https://issues.apache.org/jira/browse/GUACAMOLE-414.  It requires a certain
version of libvncclient for the fix to work, and I don't think CentOS7
includes that version, so you may have to build/update it manually.

-Nick