刚刚从 docker 安装了鳄梨酱/鳄梨酱容器的新实例,我遇到了无法连接到任何 VNC 服务器的问题。 RDP 连接工作正常。鳄梨酱和 guacd 日志没有提供很多信息。他们说它只是无法连接。然而,vncserver 日志显示身份验证失败。这是容器的 1.5 版。我有另一台运行 1.1.0 版鳄梨酱容器的服务器,它运行良好。它们都引用相同的 MySQL 数据库。适用于 1.1.0 机器的 vncserver 连接不适用于 1.5.0。我刚刚将鳄梨酱容器降级为 1.4.0 版,一切正常。所以看起来这是一个 v1.5.0 问题。
这是来自容器日志的失败连接的错误消息:
portalnew-guacd-1 | guacd[1]: INFO: Creating new client for protocol "vnc"
portalnew-guacd-1 | guacd[1]: INFO: Connection ID is "$142e7903-a08c-41ae-87a1-d64fdd6ee671"
portalnew-guacd-1 | guacd[345]: INFO: Cursor rendering: local
portalnew-guacd-1 | guacd[345]: INFO: User "@c33c33f7-4d62-4f04-bb8b-0f86bb5c68fe" joined connection "$142e7903-a08c-41ae-87a1-d64fdd6ee671" (1 users now present)
portalnew-guacamole-1 | 21:50:56.980 [http-nio-8080-exec-5] INFO o.a.g.tunnel.TunnelRequestService - User "ishida" connected to connection "123".
portalnew-guacd-1 | guacd[345]: ERROR: Unable to connect to VNC server.
portalnew-guacd-1 | guacd[345]: INFO: User "@c33c33f7-4d62-4f04-bb8b-0f86bb5c68fe" disconnected (0 users remain)
portalnew-guacd-1 | guacd[345]: INFO: Last user of connection "$142e7903-a08c-41ae-87a1-d64fdd6ee671" disconnected
portalnew-guacamole-1 | 21:50:57.377 [http-nio-8080-exec-2] INFO o.a.g.tunnel.TunnelRequestService - User "ishida" disconnected from connection "123". Duration: 397 milliseconds
portalnew-guacd-1 | guacd[1]: INFO: Connection "$142e7903-a08c-41ae-87a1-d64fdd6ee671" removed.
portalnew-guacamole-1 | Exception in thread "Thread-58" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
portalnew-guacamole-1 | at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:442)
portalnew-guacamole-1 | at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:314)
portalnew-guacamole-1 | at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:254)
portalnew-guacamole-1 | at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:195)
portalnew-guacamole-1 | at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
portalnew-guacamole-1 | at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.sendInstruction(GuacamoleWebSocketTunnelEndpoint.java:152)
portalnew-guacamole-1 | at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint.access$200(GuacamoleWebSocketTunnelEndpoint.java:53)
portalnew-guacamole-1 | at org.apache.guacamole.websocket.GuacamoleWebSocketTunnelEndpoint$2.run(GuacamoleWebSocketTunnelEndpoint.java:253)
这是来自 vncserver 的日志文件:
Thu Feb 23 11:50:56 2023
Connections: accepted: 128.171.159.248::46756
SConnection: Client needs protocol version 3.8
SConnection: Client requests security type VeNCrypt(19)
SVeNCrypt: Client requests security type TLSVnc (258)
Thu Feb 23 11:50:57 2023
SConnection: AuthFailureException: Authentication failure
Connections: closed: 128.171.159.248::46756 (Authentication failure)
EncodeManager: Framebuffer updates: 0
EncodeManager: Total: 0 rects, 0 pixels
EncodeManager: 0 B (1:-nan ratio)
TLS: TLS session wasn't terminated gracefully
ComparingUpdateTracker: 0 pixels in / 0 pixels out
ComparingUpdateTracker: (1:-nan ratio)
我希望有人看到过这样的东西。
我必须降级到 guacamole 1.4 才能成功连接到我的 tigervnc 盒子。 1.5.0 和 1.5.1 都返回相同的身份验证失败