[Support] jasonbean - Apache Guacamole


Message added by Taddeusz,

Before upgrading to 1.5.0 you need to have first upgraded to 1.4.0-3 of the container. I discovered that prior to 1.4.0-3 it was not shutting down MariaDB correctly and causing the database to be left in a dirty state.

 

If after upgrading to 1.5.0 you discover that MariaDB is stopping and the log mentions something about needing to open the database in an older version of MariaDB you should downgrade specifically to 1.4.0-3, start the container and make sure it's running correctly. Then you may upgrade to 1.5.0.

Recommended Posts

6 hours ago, jrdnlc said:

 

I did. It made no difference

 

I’m sorry this has happened and sorry to be blunt but are you going to give me something to work with? I can’t help you if you don’t provide me with logs. If you’re worried about privacy then sanitize them or send them to me privately but continuing to tell me over and over that it doesn’t work does nothing.

 

I can tell you from a clean installation it works fine on my end. My production installation has worked fine this whole time. I have nothing to work from and can’t help if you don’t provide me with information.

 

I assume you are on unRAID and checking for updates to make sure you have the latest built image.

Link to comment

Still does not start for me either:

 

I am on the latest tag, freshly pulled image, new config folder...

 

Looks like Tomcat is having an issue starting...

 

*** Running /etc/my_init.d/firstrun.sh...
Creating properties from template.
Copying MySQL extension.
Updating user permissions.
*** Running /etc/rc.local...
* Starting Tomcat servlet engine tomcat8
...fail!
guacd[44]: INFO: Guacamole proxy daemon (guacd) version 0.9.14 started
Starting guacd: SUCCESS
*** Booting runit daemon...
*** Runit started as PID 47
Initializing Data Directory.
Jun 12 14:02:54 0bfc302e9081 syslog-ng[52]: syslog-ng starting up; version='3.5.6'
Installation complete.
Jun 12 14:02:57 0bfc302e9081 mysqld_safe: Starting mysqld daemon with databases from /config/databases
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] /usr/sbin/mysqld (mysqld 10.2.15-MariaDB-10.2.15+maria~xenial-log) starting as process 338 ...
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Uses event mutexes
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Compressed tables use zlib 1.2.8
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Using Linux native AIO
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Number of pools: 1
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Using SSE2 crc32 instructions
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Completed initialization of buffer pool
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22946753394432 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Highest supported file format is Barracuda.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: 128 out of 128 rollback segments are active.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Creating shared tablespace for temporary tables
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: 5.7.22 started; log sequence number 1619987
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22946395444992 [Note] InnoDB: Loading buffer pool(s) from /config/databases/ib_buffer_pool
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] Plugin 'FEEDBACK' is disabled.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22946395444992 [Note] InnoDB: Buffer pool(s) load completed at 180612 14:02:57
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] Server socket created on IP: '127.0.0.1'.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] Reading of all Master_info entries succeded
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] Added new Master_info '' to hash table
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] /usr/sbin/mysqld: ready for connections.
Jun 12 14:02:57 0bfc302e9081 mysqld: Version: '10.2.15-MariaDB-10.2.15+maria~xenial-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
Creating user and database.
Database created. Granting access to 'guacamole' user for localhost.
Shutting down.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946736568064 [Note] /usr/sbin/mysqld (initiated by: root[root] @ localhost []): Normal shutdown
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946736568064 [Note] Event Scheduler: Purging the queue. 0 events
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946742871808 [Note] InnoDB: FTS optimize thread exiting.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946736568064 [Note] InnoDB: Starting shutdown...
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946395444992 [Note] InnoDB: Dumping buffer pool(s) to /config/databases/ib_buffer_pool
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946395444992 [Note] InnoDB: Buffer pool(s) dump completed at 180612 14:03:00
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:01 22946736568064 [Note] InnoDB: Shutdown completed; log sequence number 1824145
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:01 22946736568064 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:01 22946736568064 [Note] /usr/sbin/mysqld: Shutdown complete
Jun 12 14:02:57 0bfc302e9081 mysqld:
Jun 12 14:03:01 0bfc302e9081 mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
chown time
Initialization complete.
Starting MariaDB...
180612 14:03:08 mysqld_safe Logging to '/config/databases/0bfc302e9081.err'.
180612 14:03:08 mysqld_safe Starting mysqld daemon with databases from /config/databases

Link to comment
2 minutes ago, airbillion said:

Still does not start for me either:

 

I am on the latest tag, freshly pulled image, new config folder...

 

Looks like Tomcat is having an issue starting...

 

*** Running /etc/my_init.d/firstrun.sh...
Creating properties from template.
Copying MySQL extension.
Updating user permissions.
*** Running /etc/rc.local...
* Starting Tomcat servlet engine tomcat8
...fail!
guacd[44]: INFO: Guacamole proxy daemon (guacd) version 0.9.14 started
Starting guacd: SUCCESS
*** Booting runit daemon...
*** Runit started as PID 47
Initializing Data Directory.
Jun 12 14:02:54 0bfc302e9081 syslog-ng[52]: syslog-ng starting up; version='3.5.6'
Installation complete.
Jun 12 14:02:57 0bfc302e9081 mysqld_safe: Starting mysqld daemon with databases from /config/databases
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] /usr/sbin/mysqld (mysqld 10.2.15-MariaDB-10.2.15+maria~xenial-log) starting as process 338 ...
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Uses event mutexes
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Compressed tables use zlib 1.2.8
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Using Linux native AIO
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Number of pools: 1
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Using SSE2 crc32 instructions
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Completed initialization of buffer pool
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22946753394432 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Highest supported file format is Barracuda.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: 128 out of 128 rollback segments are active.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Creating shared tablespace for temporary tables
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] InnoDB: 5.7.22 started; log sequence number 1619987
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22946395444992 [Note] InnoDB: Loading buffer pool(s) from /config/databases/ib_buffer_pool
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] Plugin 'FEEDBACK' is disabled.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22946395444992 [Note] InnoDB: Buffer pool(s) load completed at 180612 14:02:57
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] Server socket created on IP: '127.0.0.1'.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] Reading of all Master_info entries succeded
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] Added new Master_info '' to hash table
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:02:57 22947612448960 [Note] /usr/sbin/mysqld: ready for connections.
Jun 12 14:02:57 0bfc302e9081 mysqld: Version: '10.2.15-MariaDB-10.2.15+maria~xenial-log' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
Creating user and database.
Database created. Granting access to 'guacamole' user for localhost.
Shutting down.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946736568064 [Note] /usr/sbin/mysqld (initiated by: root[root] @ localhost []): Normal shutdown
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946736568064 [Note] Event Scheduler: Purging the queue. 0 events
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946742871808 [Note] InnoDB: FTS optimize thread exiting.
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946736568064 [Note] InnoDB: Starting shutdown...
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946395444992 [Note] InnoDB: Dumping buffer pool(s) to /config/databases/ib_buffer_pool
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:00 22946395444992 [Note] InnoDB: Buffer pool(s) dump completed at 180612 14:03:00
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:01 22946736568064 [Note] InnoDB: Shutdown completed; log sequence number 1824145
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:01 22946736568064 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
Jun 12 14:02:57 0bfc302e9081 mysqld: 2018-06-12 14:03:01 22946736568064 [Note] /usr/sbin/mysqld: Shutdown complete
Jun 12 14:02:57 0bfc302e9081 mysqld:
Jun 12 14:03:01 0bfc302e9081 mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
chown time
Initialization complete.
Starting MariaDB...
180612 14:03:08 mysqld_safe Logging to '/config/databases/0bfc302e9081.err'.
180612 14:03:08 mysqld_safe Starting mysqld daemon with databases from /config/databases

 

For some reason starting the tomcat service always gives that "failed" message. I haven't been able to figure out why it does that. What does your catalina.out look like? It should be located in ApacheGucamole/guacamole/log.

Link to comment

I've updated the template to make it a privileged container. Tomcat apparently needs this for it to run correctly.

 

I've also updated the image to show more detailed debugging information and prevent the database from being created if the guacamole.properties file doesn't exist.

Link to comment

I've been trying for hours to get this working.  
I was initially able to login with guacadmin/guacadmin and tried to create my first connection.  However, after I clicked on it (the first connection that I setup) to test, I keep getting 

"The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs."

 

I'm unsure how to find the logs... is that in the appdata folder?

Link to comment

nm, figured it out.  Blew away the entire app and then the app data folder for guac.   It seems if you only create 1 connection AS guacadmin, when you try to login as guac admin it tries to auto-initiate that connection immediately. 

 

Create an additional user for connections and give them permission to connect and only use guacadmin for admin purposes and issues go away. 

Link to comment

I'm using Unraid with Nginx reverse proxy, I've spun up VNCWebBrowser and your ApacheGuacamole container.  Everything is communicating, however, I get (frequent) intermittent disconnects when the session is established, seems to happen only when I'm typing or clicking.

 

I've tried using VNC (port 5901) locally, as well as the HTML5 (port 6901), that works fine, its only when I'm accessing that container via ApacheGuacamole that I experience the disconnects.  

 

Not really sure where to go from here, any help would be appreciated.  Please let me know if I can provide anything else.

 

I have 2 different Nginx confs:

######################################################################

Conf1

map $http_upgrade $connection_upgrade {
    default upgrade;
    '' close;
}

 

server {
    listen         80 default_server;
    server_name    _;
    return          404;
}

server {
    listen 443 ssl default_server;
    root /config/www;
    index index.html index.htm index.php;

    server_name _;
    add_header Strict-Transport-Security "max-age=31536000"; 
    ##SSL##
    #...
    #...
    ##END SSL##
    
    #VNC Web Browser
    
    location ^~ /guacamole/ {
        proxy_pass http://192.168.15.5:8086/guacamole/;
    }

    location ^~ /guacamole/websocket-tunnel {
        proxy_pass http://192.168.15.5:8086/guacamole/websocket-tunnel;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $http_connection;
        #proxy_set_header Connection "upgrade";

        proxy_buffering off;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        access_log off;
        
    }

}

 

Conf2

# GUACAMOLE CONTAINER
server {
    listen 80;
    server_name guacamole.*;
    return 404;
}

server {
    listen 443 ssl http2;
    server_name guacamole.*;

    ##SSL##
    #...
    #...
    
    add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
    add_header X-Content-Type-Options nosniff;
    add_header X-XSS-Protection "1; mode=block";
    add_header X-Robots-Tag none; #SET THIS TO index IF YOU WANT GOOGLE TO INDEX YOU SITE!
    add_header Content-Security-Policy "frame-ancestors https://*.$server_name https://$server_name"; 
    #add_header X-Frame-Options "ALLOW-FROM https://*.$server_name" always; 
    add_header X-Frame-Options "ALLOW-FROM https://*.$server_name" always; 

    add_header Referrer-Policy "strict-origin-when-cross-origin";
    proxy_cookie_path / "/; HTTPOnly; Secure";
    more_set_headers "Server: Classified";
    more_clear_headers 'X-Powered-By';
    ##END SSL##
        
    location / {
        proxy_pass http://192.168.15.5:8086/;
        proxy_buffering off;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $http_connection;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_http_version 1.1;
        proxy_no_cache $cookie_session;
                    
        }

 

Here are the logs from the disconnects, they errors vary depending on which url (conf) I'm trying to access.

 

Conf1 error log

Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/lodash/2.4.1/dist/lodash.min.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/angular-translate-interpolation-messageformat/2.8.0/angular-translate-interpolation-messageformat.min.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/angular/1.3.16/angular.min.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/angular-route/1.3.16/angular-route.min.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/jquery/2.1.3/dist/jquery.min.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/angular-touch/1.3.16/angular-touch.min.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/filesaver/1.3.3/FileSaver.min.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/messageformat/1.0.2/messageformat.min.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/blob-polyfill/1.0.20150320/Blob.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/angular-translate/2.8.0/angular-translate.min.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/angular-module-shim/0.0.4/angular-module-shim.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/angular-translate-loader-static-files/2.8.0/angular-translate-loader-static-files.min.js
Jun 20, 2018 3:54:42 PM org.webjars.servlet.WebjarsServlet doGet
INFO: Webjars resource requested: /META-INF/resources/webjars/angular-cookies/1.3.16/angular-cookies.min.js
15:54:42.965 [http-nio-8080-exec-3] WARN  o.a.i.d.pooled.PooledDataSource - Execution of ping query 'SELECT 1' failed: Communications link failure

The last packet successfully received from the server was 1,407,658 milliseconds ago.  The last packet sent successfully to the server was 7 milliseconds ago.
15:54:42.966 [http-nio-8080-exec-3] WARN  o.a.i.d.pooled.PooledDataSource - Execution of ping query 'SELECT 1' failed: Communications link failure

The last packet successfully received from the server was 1,389,637 milliseconds ago.  The last packet sent successfully to the server was 0 milliseconds ago.
15:54:48.585 [http-nio-8080-exec-7] INFO  o.a.g.r.auth.AuthenticationService - User "smakdafrog" successfully authenticated from 172.17.0.1.
15:54:49.270 [http-nio-8080-exec-13] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" connected to connection "1".
15:54:57.540 [http-nio-8080-exec-14] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" disconnected from connection "1". Duration: 8269 milliseconds
15:54:59.061 [http-nio-8080-exec-9] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" connected to connection "1".
 

 

Conf2 error log

15:39:37.544 [http-nio-8080-exec-14] INFO  o.a.g.r.auth.AuthenticationService - User "smakdafrog" successfully authenticated from [199.102.91.33, 172.17.0.1].
15:39:38.369 [http-nio-8080-exec-1] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" connected to connection "1".
15:39:52.413 [http-nio-8080-exec-8] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" disconnected from connection "1". Duration: 14038 milliseconds
15:40:07.633 [http-nio-8080-exec-1] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" connected to connection "1".
15:52:38.722 [http-nio-8080-exec-16] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" disconnected from connection "1". Duration: 751088 milliseconds
15:52:38.742 [http-nio-8080-exec-16] WARN  o.a.i.d.pooled.PooledDataSource - Execution of ping query 'SELECT 1' failed: Communications link failure

The last packet successfully received from the server was 751,058 milliseconds ago.  The last packet sent successfully to the server was 15 milliseconds ago.
15:52:54.077 [http-nio-8080-exec-4] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" connected to connection "1".
15:53:11.657 [http-nio-8080-exec-2] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" disconnected from connection "1". Duration: 17580 milliseconds
15:53:26.934 [http-nio-8080-exec-9] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" connected to connection "1".
15:53:49.633 [http-nio-8080-exec-6] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" disconnected from connection "1". Duration: 22699 milliseconds
15:53:51.547 [http-nio-8080-exec-12] INFO  o.a.g.tunnel.TunnelRequestService - User "smakdafrog" connected to connection "1".

gauc1.png

Edited by smakdafrog
Link to comment

I’ve had this happen too when connecting to certain Linux distributions. I’m not sure why it happens. It’s a TLS communication issue between guacd and whatever VNC you’re connecting to. I’ve reported the issue through Apache. They at least know about it. BTW, it also affects their own guacd Docker.

Link to comment

I am having a similar issue with not connecting, but to RDP only (SSH works just fine and the 1 VNC I tried worked as well)

 

Here is the error from Guacamole's interface:

 

"The remote desktop server is currently unreachable. If the problem persists, please notify your system administrator, or check your system logs."

 

 

Here is the log from Unraid (Version 6.5.3)

 

Jun 21 14:26:29 31ae697f81fb guacd[82]: Creating new client for protocol "rdp"
Jun 21 14:26:29 31ae697f81fb guacd[82]: Connection ID is "$22faf61d-e4d6-41d9-bebb-4e1265a3e02e"
Jun 21 14:26:29 31ae697f81fb guacd[394]: No security mode specified. Defaulting to RDP.
Jun 21 14:26:29 31ae697f81fb guacd[394]: Resize method: none
Jun 21 14:26:29 31ae697f81fb guacd[394]: User "@f7b49ee7-6750-4d1e-a6b9-9e1fdd24f4aa" joined connection "$22faf61d-e4d6-41d9-bebb-4e1265a3e02e" (1 users now present)
Jun 21 14:26:29 31ae697f81fb guacd[394]: Loading keymap "base"
Jun 21 14:26:29 31ae697f81fb guacd[394]: Loading keymap "en-us-qwerty"
Jun 21 14:26:29 31ae697f81fb guacd[394]: Error connecting to RDP server

Jun 21 14:26:29 31ae697f81fb guacd[394]: User "@f7b49ee7-6750-4d1e-a6b9-9e1fdd24f4aa" disconnected (0 users remain)
Jun 21 14:26:29 31ae697f81fb guacd[394]: Last user of connection "$22faf61d-e4d6-41d9-bebb-4e1265a3e02e" disconnected
Jun 21 14:26:29 31ae697f81fb guacd[82]: Connection "$22faf61d-e4d6-41d9-bebb-4e1265a3e02e" removed.

 

Here is the output from Catalina.out

 

Jun 21 14:26:29 31ae697f81fb guacd[82]: Creating new client for protocol "rdp"
Jun 21 14:26:29 31ae697f81fb guacd[82]: Connection ID is "$22faf61d-e4d6-41d9-bebb-4e1265a3e02e"
Jun 21 14:26:29 31ae697f81fb guacd[394]: No security mode specified. Defaulting to RDP.
Jun 21 14:26:29 31ae697f81fb guacd[394]: Resize method: none
Jun 21 14:26:29 31ae697f81fb guacd[394]: User "@f7b49ee7-6750-4d1e-a6b9-9e1fdd24f4aa" joined connection "$22faf61d-e4d6-41d9-bebb-4e1265a3e02e" (1 users now present)
Jun 21 14:26:29 31ae697f81fb guacd[394]: Loading keymap "base"
Jun 21 14:26:29 31ae697f81fb guacd[394]: Loading keymap "en-us-qwerty"
Jun 21 14:26:29 31ae697f81fb guacd[394]: Error connecting to RDP server

Jun 21 14:26:29 31ae697f81fb guacd[394]: User "@f7b49ee7-6750-4d1e-a6b9-9e1fdd24f4aa" disconnected (0 users remain)
Jun 21 14:26:29 31ae697f81fb guacd[394]: Last user of connection "$22faf61d-e4d6-41d9-bebb-4e1265a3e02e" disconnected
Jun 21 14:26:29 31ae697f81fb guacd[82]: Connection "$22faf61d-e4d6-41d9-bebb-4e1265a3e02e" removed.

 

I also attached screen shots of the settings for the RDP connection, in case I missed something there. The logs haven't been very helpful from what I can tell as to why it is not connecting.

 

I have also tried to remove the docker and purged its appdata folder accordingly to be a fresh image so that I could make sure that it wasn't something else. Any and all help in fixing this would be appreciated.

 

Guacamole.png

Guacamole2.png

Guacamole3.png

Link to comment
I’ve had this happen too when connecting to certain Linux distributions. I’m not sure why it happens. It’s a TLS communication issue between guacd and whatever VNC you’re connecting to. I’ve reported the issue through Apache. They at least know about it. BTW, it also affects their own guacd Docker.
Appreciate the fast response. Bummer tho! Glad it's not totally a one off issue.

Great work on the container, thanks again!

Sent from my SM-G930V using Tapatalk

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.