You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Arpit Agarwal <ap...@mpatra.com> on 2020/10/30 17:05:27 UTC

Guacamole server error "The remote desktop server is currently unreachable" even RDP is working from default remote desktop connect

Hello,
I am getting the error message "The remote desktop server is currently unreachable" in case of some RDP access while it is accessible by a normal RDP client. The RDP has windows 2016 os and working fine. This is an issue some time for some RDP only not for all. The other RDP which are accessible also has the same os. Please help me to solve this issue. The log is below. I am not techy so please help me to solve this issue.
30-Oct-2020 03:02:45.776 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 51,251,740 milliseconds ago. The last packet sent successfully to the server was 51,251,740 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
30-Oct-2020 03:02:45.843 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 51,251,903 milliseconds ago. The last packet sent successfully to the server was 51,251,903 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
30-Oct-2020 03:02:45.856 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 50,908,390 milliseconds ago. The last packet sent successfully to the server was 50,908,390 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
30-Oct-2020 03:02:45.867 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 49,473,066 milliseconds ago. The last packet sent successfully to the server was 49,473,066 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
30-Oct-2020 03:02:45.907 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 47,613,050 milliseconds ago. The last packet sent successfully to the server was 47,613,050 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.

Thanks & Regards,           
Arpit Agarwal
Chat ID's:
GTalk  :apt@mpatra.com
Skype :iarpit22
http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
Office: +91 120 4561602
India Cell   : +91 99719 77770
USA Cell : +1-732-705-7727
------------------------------------------------------------
The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
 P Please don't print this e-mail unless you really need to. Be Green.












Re: Guacamole server error "The remote desktop server is currently unreachable" even RDP is working from default remote desktop connect

Posted by Mike Jumper <mj...@apache.org>.
On Fri, Oct 30, 2020 at 10:25 AM Arpit Agarwal <ap...@mpatra.com> wrote:

> IT is MySQL and working on the same server. If you are using any chatting
> app for chatting with you will be grateful bro.
>

Part of the point of using the mailing lists is that they are archived and
reach out across the community. The entire community has the chance to
assist and whatever is discussed here will be visible to others who need
help in the future. The goal is to benefit the community as a whole.

Direct communication via chat would defeat all that.

- Mike

Re: Guacamole server error "The remote desktop server is currently unreachable" even RDP is working from default remote desktop connect

Posted by Arpit Agarwal <ap...@mpatra.com>.
Hello,
Any reply on this can solve my issue. Please give some time and help.

Thanks & Regards,           
Arpit Agarwal
Chat ID's:
GTalk  :apt@mpatra.com
Skype :iarpit22
http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
Office: +91 120 4561602
India Cell   : +91 99719 77770
USA Cell : +1-732-705-7727
------------------------------------------------------------
The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
 P Please don't print this e-mail unless you really need to. Be Green.











> On 03-Nov-2020, at 11:20 PM, Arpit Agarwal <ap...@mpatra.com> wrote:
> 
> Hello,
> I had a discussion over the email from my vps provider and get below response. If you can help me after seeing that?
> 
> As we can see, both your VPS are located in the same subnet for which reason a direct connection to each other is not possible without a static route.
> 
> You need to create a static route on each affected server.
> 
> To do so, please follow the steps as provided on the following website:
> 
> https://contabo.com/blog/creating-static-routes <https://contabo.com/blog/creating-static-routes>
> 
> If you have any questions or need help, please do not hesitate to contact us.
> 
> Please help me to solve that issue as all my work got stuck due to this.
> 
> Thanks & Regards,           
> Arpit Agarwal
> Chat ID's:
> GTalk  :apt@mpatra.com <ma...@mpatra.com>
> Skype :iarpit22
> http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
> Office: +91 120 4561602
> India Cell   : +91 99719 77770
> USA Cell : +1-732-705-7727
> ------------------------------------------------------------
> The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
>  P Please don't print this e-mail unless you really need to. Be Green.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>> On 02-Nov-2020, at 9:04 AM, Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
>> 
>> Hello,
>> 
>> I tried all what i can but there is not solution for this. I formatted the server where this Guaxamole is installed and reinstalled all again. I formatted the RDP server also but situation is still same. Now i m getting below message.
>> 
>> "The connection has been closed because the server is taking too long to respond. This is usually caused by network problems, such as a spotty wireless signal, or slow network speeds. Please check your network connection and try again or contact your system administrator."
>> 
>> I request you please help me to solve this issue as i m 100% non technical person. If there is a need to see any kind or log please tell me the path where i can saw that. If there is a need to increase trace lable and then see logs please tell me where and how can increase the trace lavel and then how i can see the logs etc. Kindly help me.
>> 
>> 
>> Thanks & Regards,           
>> Arpit Agarwal
>> Chat ID's:
>> GTalk  :apt@mpatra.com <ma...@mpatra.com>
>> Skype :iarpit22
>> http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
>> Office: +91 120 4561602
>> India Cell   : +91 99719 77770
>> USA Cell : +1-732-705-7727
>> ------------------------------------------------------------
>> The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
>>  P Please don't print this e-mail unless you really need to. Be Green.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> On 31-Oct-2020, at 1:35 AM, Mike Jumper <mjumper@apache.org <ma...@apache.org>> wrote:
>>> 
>>> A few things to keep in mind when troubleshooting an issue like this:
>>> When a connection fails, the full details of the failure will never be exposed to the user via the web interface. The error displayed there is intentionally high-level. It lets the user know something is wrong, but will not be very useful for troubleshooting. You will need to consult the guacd logs.
>>> If you are able to successfully connect to some RDP servers but not others, there must be some difference between the servers that accounts for that. If you can investigate the differences between the RDP servers in question, that might tell you everything you need to know. If you are certain that the servers are reachable over the network, and there is no firewall on those servers blocking guacd from connecting, then the most likely cause would be authentication-related.
>>> If the guacd logs are not revealing, enabling debug-level logging for guacd may help.
>>> As Nick suggested, you should first locate your guacd logs, most likely within /var/log/syslog or journalctl. To enable debug-level logging for guacd, you would edit /etc/guacamole/guacd.conf and set the log level. The manual provides an example showing the format of this file, if it doesn't already exist:
>>> 
>>> http://guacamole.apache.org/doc/gug/configuring-guacamole.html#guacd.conf <http://guacamole.apache.org/doc/gug/configuring-guacamole.html#guacd.conf>
>>> 
>>> With the possible exception of the log level, you don't need to specify anything that you aren't already specifying.
>>> 
>>> - Mike
>>> 
>>> 
>>> On Fri, Oct 30, 2020 at 12:54 PM Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
>>> Hello Now i got below message. Also want to repete few rdp on the same network with same configuration are working fine. Out of 10 only 4 are not working. Please help me to give steps what need to do to solve this.
>>> 
>>> <Screenshot 2020-10-30 at 11.45.22 PM.png>
>>> 
>>> Thanks & Regards,           
>>> Arpit Agarwal
>>> Chat ID's:
>>> GTalk  :apt@mpatra.com <ma...@mpatra.com>
>>> Skype :iarpit22
>>> http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
>>> Office: +91 120 4561602
>>> India Cell   : +91 99719 77770
>>> USA Cell : +1-732-705-7727
>>> ------------------------------------------------------------
>>> The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
>>>  P Please don't print this e-mail unless you really need to. Be Green.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> On 30-Oct-2020, at 10:55 PM, Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
>>>> 
>>>> IT is MySQL and working on the same server. If you are using any chatting app for chatting with you will be grateful bro.
>>>> 
>>>> Thanks & Regards,           
>>>> Arpit Agarwal
>>>> Chat ID's:
>>>> GTalk  :apt@mpatra.com <ma...@mpatra.com>
>>>> Skype :iarpit22
>>>> http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
>>>> Office: +91 120 4561602
>>>> India Cell   : +91 99719 77770
>>>> USA Cell : +1-732-705-7727
>>>> ------------------------------------------------------------
>>>> The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
>>>>  P Please don't print this e-mail unless you really need to. Be Green.
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>>> On 30-Oct-2020, at 10:53 PM, Nick Couchman <vnick@apache.org <ma...@apache.org>> wrote:
>>>>> 
>>>>> On Fri, Oct 30, 2020 at 1:21 PM Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
>>>>> Hello Nick,
>>>>> 
>>>>> So nice of you to reply me so fast. I am not technical person just installed it and running. Now i m also not getting any other one to get it solved. Can you please tell me the path from where i can pull the logs which i can provide you the same and get it solved. The system has below config rest all please guide me please. It has Tomcat 9
>>>>> 
>>>>> guacd logs should be in syslog somewhere - on Ubuntu 20.04.1 that is probably done via "journalctl", but also could be /var/log/messages or /var/log/syslog.
>>>>>  
>>>>> 
>>>>> Environment:Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-52-generic x86_64)
>>>>> 10 CPU cores, 60 GB RAM (guaranteed), 1600 GB disk space (100% SSD), 100% SSD disk space, UNLIMITED traffic, 1 Gbit/s port
>>>>> 
>>>>> 
>>>>> That certainly looks robust enough.  Is your MySQL or MariaDB database running on that same server, or somewhere else?
>>>>> 
>>>>> -Nick
>>>> 
>>> 
>> 
> 


Re: Guacamole server error "The remote desktop server is currently unreachable" even RDP is working from default remote desktop connect

Posted by Arpit Agarwal <ap...@mpatra.com>.
Hello,
I had a discussion over the email from my vps provider and get below response. If you can help me after seeing that?

As we can see, both your VPS are located in the same subnet for which reason a direct connection to each other is not possible without a static route.

You need to create a static route on each affected server.

To do so, please follow the steps as provided on the following website:

https://contabo.com/blog/creating-static-routes <https://contabo.com/blog/creating-static-routes>

If you have any questions or need help, please do not hesitate to contact us.

Please help me to solve that issue as all my work got stuck due to this.

Thanks & Regards,           
Arpit Agarwal
Chat ID's:
GTalk  :apt@mpatra.com
Skype :iarpit22
http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
Office: +91 120 4561602
India Cell   : +91 99719 77770
USA Cell : +1-732-705-7727
------------------------------------------------------------
The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
 P Please don't print this e-mail unless you really need to. Be Green.











> On 02-Nov-2020, at 9:04 AM, Arpit Agarwal <ap...@mpatra.com> wrote:
> 
> Hello,
> 
> I tried all what i can but there is not solution for this. I formatted the server where this Guaxamole is installed and reinstalled all again. I formatted the RDP server also but situation is still same. Now i m getting below message.
> 
> "The connection has been closed because the server is taking too long to respond. This is usually caused by network problems, such as a spotty wireless signal, or slow network speeds. Please check your network connection and try again or contact your system administrator."
> 
> I request you please help me to solve this issue as i m 100% non technical person. If there is a need to see any kind or log please tell me the path where i can saw that. If there is a need to increase trace lable and then see logs please tell me where and how can increase the trace lavel and then how i can see the logs etc. Kindly help me.
> 
> 
> Thanks & Regards,           
> Arpit Agarwal
> Chat ID's:
> GTalk  :apt@mpatra.com <ma...@mpatra.com>
> Skype :iarpit22
> http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
> Office: +91 120 4561602
> India Cell   : +91 99719 77770
> USA Cell : +1-732-705-7727
> ------------------------------------------------------------
> The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
>  P Please don't print this e-mail unless you really need to. Be Green.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>> On 31-Oct-2020, at 1:35 AM, Mike Jumper <mjumper@apache.org <ma...@apache.org>> wrote:
>> 
>> A few things to keep in mind when troubleshooting an issue like this:
>> When a connection fails, the full details of the failure will never be exposed to the user via the web interface. The error displayed there is intentionally high-level. It lets the user know something is wrong, but will not be very useful for troubleshooting. You will need to consult the guacd logs.
>> If you are able to successfully connect to some RDP servers but not others, there must be some difference between the servers that accounts for that. If you can investigate the differences between the RDP servers in question, that might tell you everything you need to know. If you are certain that the servers are reachable over the network, and there is no firewall on those servers blocking guacd from connecting, then the most likely cause would be authentication-related.
>> If the guacd logs are not revealing, enabling debug-level logging for guacd may help.
>> As Nick suggested, you should first locate your guacd logs, most likely within /var/log/syslog or journalctl. To enable debug-level logging for guacd, you would edit /etc/guacamole/guacd.conf and set the log level. The manual provides an example showing the format of this file, if it doesn't already exist:
>> 
>> http://guacamole.apache.org/doc/gug/configuring-guacamole.html#guacd.conf <http://guacamole.apache.org/doc/gug/configuring-guacamole.html#guacd.conf>
>> 
>> With the possible exception of the log level, you don't need to specify anything that you aren't already specifying.
>> 
>> - Mike
>> 
>> 
>> On Fri, Oct 30, 2020 at 12:54 PM Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
>> Hello Now i got below message. Also want to repete few rdp on the same network with same configuration are working fine. Out of 10 only 4 are not working. Please help me to give steps what need to do to solve this.
>> 
>> <Screenshot 2020-10-30 at 11.45.22 PM.png>
>> 
>> Thanks & Regards,           
>> Arpit Agarwal
>> Chat ID's:
>> GTalk  :apt@mpatra.com <ma...@mpatra.com>
>> Skype :iarpit22
>> http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
>> Office: +91 120 4561602
>> India Cell   : +91 99719 77770
>> USA Cell : +1-732-705-7727
>> ------------------------------------------------------------
>> The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
>>  P Please don't print this e-mail unless you really need to. Be Green.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> On 30-Oct-2020, at 10:55 PM, Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
>>> 
>>> IT is MySQL and working on the same server. If you are using any chatting app for chatting with you will be grateful bro.
>>> 
>>> Thanks & Regards,           
>>> Arpit Agarwal
>>> Chat ID's:
>>> GTalk  :apt@mpatra.com <ma...@mpatra.com>
>>> Skype :iarpit22
>>> http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
>>> Office: +91 120 4561602
>>> India Cell   : +91 99719 77770
>>> USA Cell : +1-732-705-7727
>>> ------------------------------------------------------------
>>> The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
>>>  P Please don't print this e-mail unless you really need to. Be Green.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>> On 30-Oct-2020, at 10:53 PM, Nick Couchman <vnick@apache.org <ma...@apache.org>> wrote:
>>>> 
>>>> On Fri, Oct 30, 2020 at 1:21 PM Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
>>>> Hello Nick,
>>>> 
>>>> So nice of you to reply me so fast. I am not technical person just installed it and running. Now i m also not getting any other one to get it solved. Can you please tell me the path from where i can pull the logs which i can provide you the same and get it solved. The system has below config rest all please guide me please. It has Tomcat 9
>>>> 
>>>> guacd logs should be in syslog somewhere - on Ubuntu 20.04.1 that is probably done via "journalctl", but also could be /var/log/messages or /var/log/syslog.
>>>>  
>>>> 
>>>> Environment:Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-52-generic x86_64)
>>>> 10 CPU cores, 60 GB RAM (guaranteed), 1600 GB disk space (100% SSD), 100% SSD disk space, UNLIMITED traffic, 1 Gbit/s port
>>>> 
>>>> 
>>>> That certainly looks robust enough.  Is your MySQL or MariaDB database running on that same server, or somewhere else?
>>>> 
>>>> -Nick
>>> 
>> 
> 


Re: Guacamole server error "The remote desktop server is currently unreachable" even RDP is working from default remote desktop connect

Posted by Arpit Agarwal <ap...@mpatra.com>.
Hello,

I tried all what i can but there is not solution for this. I formatted the server where this Guaxamole is installed and reinstalled all again. I formatted the RDP server also but situation is still same. Now i m getting below message.

"The connection has been closed because the server is taking too long to respond. This is usually caused by network problems, such as a spotty wireless signal, or slow network speeds. Please check your network connection and try again or contact your system administrator."

I request you please help me to solve this issue as i m 100% non technical person. If there is a need to see any kind or log please tell me the path where i can saw that. If there is a need to increase trace lable and then see logs please tell me where and how can increase the trace lavel and then how i can see the logs etc. Kindly help me.


Thanks & Regards,           
Arpit Agarwal
Chat ID's:
GTalk  :apt@mpatra.com
Skype :iarpit22
http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
Office: +91 120 4561602
India Cell   : +91 99719 77770
USA Cell : +1-732-705-7727
------------------------------------------------------------
The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
 P Please don't print this e-mail unless you really need to. Be Green.











> On 31-Oct-2020, at 1:35 AM, Mike Jumper <mj...@apache.org> wrote:
> 
> A few things to keep in mind when troubleshooting an issue like this:
> When a connection fails, the full details of the failure will never be exposed to the user via the web interface. The error displayed there is intentionally high-level. It lets the user know something is wrong, but will not be very useful for troubleshooting. You will need to consult the guacd logs.
> If you are able to successfully connect to some RDP servers but not others, there must be some difference between the servers that accounts for that. If you can investigate the differences between the RDP servers in question, that might tell you everything you need to know. If you are certain that the servers are reachable over the network, and there is no firewall on those servers blocking guacd from connecting, then the most likely cause would be authentication-related.
> If the guacd logs are not revealing, enabling debug-level logging for guacd may help.
> As Nick suggested, you should first locate your guacd logs, most likely within /var/log/syslog or journalctl. To enable debug-level logging for guacd, you would edit /etc/guacamole/guacd.conf and set the log level. The manual provides an example showing the format of this file, if it doesn't already exist:
> 
> http://guacamole.apache.org/doc/gug/configuring-guacamole.html#guacd.conf <http://guacamole.apache.org/doc/gug/configuring-guacamole.html#guacd.conf>
> 
> With the possible exception of the log level, you don't need to specify anything that you aren't already specifying.
> 
> - Mike
> 
> 
> On Fri, Oct 30, 2020 at 12:54 PM Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
> Hello Now i got below message. Also want to repete few rdp on the same network with same configuration are working fine. Out of 10 only 4 are not working. Please help me to give steps what need to do to solve this.
> 
> <Screenshot 2020-10-30 at 11.45.22 PM.png>
> 
> Thanks & Regards,           
> Arpit Agarwal
> Chat ID's:
> GTalk  :apt@mpatra.com <ma...@mpatra.com>
> Skype :iarpit22
> http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
> Office: +91 120 4561602
> India Cell   : +91 99719 77770
> USA Cell : +1-732-705-7727
> ------------------------------------------------------------
> The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
>  P Please don't print this e-mail unless you really need to. Be Green.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>> On 30-Oct-2020, at 10:55 PM, Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
>> 
>> IT is MySQL and working on the same server. If you are using any chatting app for chatting with you will be grateful bro.
>> 
>> Thanks & Regards,           
>> Arpit Agarwal
>> Chat ID's:
>> GTalk  :apt@mpatra.com <ma...@mpatra.com>
>> Skype :iarpit22
>> http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
>> Office: +91 120 4561602
>> India Cell   : +91 99719 77770
>> USA Cell : +1-732-705-7727
>> ------------------------------------------------------------
>> The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
>>  P Please don't print this e-mail unless you really need to. Be Green.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> On 30-Oct-2020, at 10:53 PM, Nick Couchman <vnick@apache.org <ma...@apache.org>> wrote:
>>> 
>>> On Fri, Oct 30, 2020 at 1:21 PM Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
>>> Hello Nick,
>>> 
>>> So nice of you to reply me so fast. I am not technical person just installed it and running. Now i m also not getting any other one to get it solved. Can you please tell me the path from where i can pull the logs which i can provide you the same and get it solved. The system has below config rest all please guide me please. It has Tomcat 9
>>> 
>>> guacd logs should be in syslog somewhere - on Ubuntu 20.04.1 that is probably done via "journalctl", but also could be /var/log/messages or /var/log/syslog.
>>>  
>>> 
>>> Environment:Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-52-generic x86_64)
>>> 10 CPU cores, 60 GB RAM (guaranteed), 1600 GB disk space (100% SSD), 100% SSD disk space, UNLIMITED traffic, 1 Gbit/s port
>>> 
>>> 
>>> That certainly looks robust enough.  Is your MySQL or MariaDB database running on that same server, or somewhere else?
>>> 
>>> -Nick
>> 
> 


Re: Guacamole server error "The remote desktop server is currently unreachable" even RDP is working from default remote desktop connect

Posted by Mike Jumper <mj...@apache.org>.
A few things to keep in mind when troubleshooting an issue like this:

   - When a connection fails, the full details of the failure will never be
   exposed to the user via the web interface. The error displayed there is
   intentionally high-level. It lets the user know something is wrong, but
   will not be very useful for troubleshooting. You will need to consult the
   guacd logs.
   - If you are able to successfully connect to some RDP servers but not
   others, there must be some difference between the servers that accounts for
   that. If you can investigate the differences between the RDP servers in
   question, that might tell you everything you need to know. If you are
   certain that the servers are reachable over the network, and there is no
   firewall on those servers blocking guacd from connecting, then the most
   likely cause would be authentication-related.
   - If the guacd logs are not revealing, enabling debug-level logging for
   guacd may help.

As Nick suggested, you should first locate your guacd logs, most likely
within /var/log/syslog or journalctl. To enable debug-level logging for
guacd, you would edit /etc/guacamole/guacd.conf and set the log level. The
manual provides an example showing the format of this file, if it doesn't
already exist:

http://guacamole.apache.org/doc/gug/configuring-guacamole.html#guacd.conf

With the possible exception of the log level, you don't need to specify
anything that you aren't already specifying.

- Mike


On Fri, Oct 30, 2020 at 12:54 PM Arpit Agarwal <ap...@mpatra.com> wrote:

> Hello Now i got below message. Also want to repete few rdp on the same
> network with same configuration are working fine. Out of 10 only 4 are not
> working. Please help me to give steps what need to do to solve this.
>
>
> Thanks & Regards,
> Arpit Agarwal
> Chat ID's:
> GTalk  :apt@mpatra.com
> Skype :iarpit22
> http://www.arpitagarwal.in
> Office: +91 120 4561602
> India Cell   : +91 99719 77770
> USA Cell : +1-732-705-7727
> ------------------------------------------------------------
> The information contained in this transmittal is privileged and
> confidential.  The information is intended only for the use of the
> individual or entity named above. If the reader of this message is not the
> intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited.  If
> you have received this communication in error, please notify us immediately
> by telephone or e-mail, and delete this message from your server.
>  P Please don't print this e-mail unless you really need to. Be Green.
>
>
>
>
>
>
>
>
>
>
>
> On 30-Oct-2020, at 10:55 PM, Arpit Agarwal <ap...@mpatra.com> wrote:
>
> IT is MySQL and working on the same server. If you are using any chatting
> app for chatting with you will be grateful bro.
>
> Thanks & Regards,
> Arpit Agarwal
> Chat ID's:
> GTalk  :apt@mpatra.com
> Skype :iarpit22
> http://www.arpitagarwal.in
> Office: +91 120 4561602
> India Cell   : +91 99719 77770
> USA Cell : +1-732-705-7727
> ------------------------------------------------------------
> The information contained in this transmittal is privileged and
> confidential.  The information is intended only for the use of the
> individual or entity named above. If the reader of this message is not the
> intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited.  If
> you have received this communication in error, please notify us immediately
> by telephone or e-mail, and delete this message from your server.
>  P Please don't print this e-mail unless you really need to. Be Green.
>
>
>
>
>
>
>
>
>
>
>
> On 30-Oct-2020, at 10:53 PM, Nick Couchman <vn...@apache.org> wrote:
>
> On Fri, Oct 30, 2020 at 1:21 PM Arpit Agarwal <ap...@mpatra.com> wrote:
>
>> Hello Nick,
>>
>> So nice of you to reply me so fast. I am not technical person just
>> installed it and running. Now i m also not getting any other one to get it
>> solved. Can you please tell me the path from where i can pull the logs
>> which i can provide you the same and get it solved. The system has below
>> config rest all please guide me please. It has Tomcat 9
>>
>
> guacd logs should be in syslog somewhere - on Ubuntu 20.04.1 that is
> probably done via "journalctl", but also could be /var/log/messages or
> /var/log/syslog.
>
>
>>
>> Environment:
>> Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-52-generic x86_64)
>> 10 CPU cores, 60 GB RAM (guaranteed), 1600 GB disk space (100% SSD), 100%
>> SSD disk space, UNLIMITED traffic, 1 Gbit/s port
>>
>>
> That certainly looks robust enough.  Is your MySQL or MariaDB database
> running on that same server, or somewhere else?
>
> -Nick
>
>
>
>

Re: Guacamole server error "The remote desktop server is currently unreachable" even RDP is working from default remote desktop connect

Posted by Arpit Agarwal <ap...@mpatra.com>.
Hello Now i got below message. Also want to repete few rdp on the same network with same configuration are working fine. Out of 10 only 4 are not working. Please help me to give steps what need to do to solve this.



Thanks & Regards,           
Arpit Agarwal
Chat ID's:
GTalk  :apt@mpatra.com
Skype :iarpit22
http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
Office: +91 120 4561602
India Cell   : +91 99719 77770
USA Cell : +1-732-705-7727
------------------------------------------------------------
The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
 P Please don't print this e-mail unless you really need to. Be Green.











> On 30-Oct-2020, at 10:55 PM, Arpit Agarwal <ap...@mpatra.com> wrote:
> 
> IT is MySQL and working on the same server. If you are using any chatting app for chatting with you will be grateful bro.
> 
> Thanks & Regards,           
> Arpit Agarwal
> Chat ID's:
> GTalk  :apt@mpatra.com <ma...@mpatra.com>
> Skype :iarpit22
> http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
> Office: +91 120 4561602
> India Cell   : +91 99719 77770
> USA Cell : +1-732-705-7727
> ------------------------------------------------------------
> The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
>  P Please don't print this e-mail unless you really need to. Be Green.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>> On 30-Oct-2020, at 10:53 PM, Nick Couchman <vnick@apache.org <ma...@apache.org>> wrote:
>> 
>> On Fri, Oct 30, 2020 at 1:21 PM Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
>> Hello Nick,
>> 
>> So nice of you to reply me so fast. I am not technical person just installed it and running. Now i m also not getting any other one to get it solved. Can you please tell me the path from where i can pull the logs which i can provide you the same and get it solved. The system has below config rest all please guide me please. It has Tomcat 9
>> 
>> guacd logs should be in syslog somewhere - on Ubuntu 20.04.1 that is probably done via "journalctl", but also could be /var/log/messages or /var/log/syslog.
>>  
>> 
>> Environment:Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-52-generic x86_64)
>> 10 CPU cores, 60 GB RAM (guaranteed), 1600 GB disk space (100% SSD), 100% SSD disk space, UNLIMITED traffic, 1 Gbit/s port
>> 
>> 
>> That certainly looks robust enough.  Is your MySQL or MariaDB database running on that same server, or somewhere else?
>> 
>> -Nick
> 


Re: Guacamole server error "The remote desktop server is currently unreachable" even RDP is working from default remote desktop connect

Posted by Arpit Agarwal <ap...@mpatra.com>.
IT is MySQL and working on the same server. If you are using any chatting app for chatting with you will be grateful bro.

Thanks & Regards,           
Arpit Agarwal
Chat ID's:
GTalk  :apt@mpatra.com
Skype :iarpit22
http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
Office: +91 120 4561602
India Cell   : +91 99719 77770
USA Cell : +1-732-705-7727
------------------------------------------------------------
The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
 P Please don't print this e-mail unless you really need to. Be Green.











> On 30-Oct-2020, at 10:53 PM, Nick Couchman <vn...@apache.org> wrote:
> 
> On Fri, Oct 30, 2020 at 1:21 PM Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
> Hello Nick,
> 
> So nice of you to reply me so fast. I am not technical person just installed it and running. Now i m also not getting any other one to get it solved. Can you please tell me the path from where i can pull the logs which i can provide you the same and get it solved. The system has below config rest all please guide me please. It has Tomcat 9
> 
> guacd logs should be in syslog somewhere - on Ubuntu 20.04.1 that is probably done via "journalctl", but also could be /var/log/messages or /var/log/syslog.
>  
> 
> Environment:Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-52-generic x86_64)
> 10 CPU cores, 60 GB RAM (guaranteed), 1600 GB disk space (100% SSD), 100% SSD disk space, UNLIMITED traffic, 1 Gbit/s port
> 
> 
> That certainly looks robust enough.  Is your MySQL or MariaDB database running on that same server, or somewhere else?
> 
> -Nick


Re: Guacamole server error "The remote desktop server is currently unreachable" even RDP is working from default remote desktop connect

Posted by Nick Couchman <vn...@apache.org>.
On Fri, Oct 30, 2020 at 1:21 PM Arpit Agarwal <ap...@mpatra.com> wrote:

> Hello Nick,
>
> So nice of you to reply me so fast. I am not technical person just
> installed it and running. Now i m also not getting any other one to get it
> solved. Can you please tell me the path from where i can pull the logs
> which i can provide you the same and get it solved. The system has below
> config rest all please guide me please. It has Tomcat 9
>

guacd logs should be in syslog somewhere - on Ubuntu 20.04.1 that is
probably done via "journalctl", but also could be /var/log/messages or
/var/log/syslog.


>
> Environment:
> Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-52-generic x86_64)
> 10 CPU cores, 60 GB RAM (guaranteed), 1600 GB disk space (100% SSD), 100%
> SSD disk space, UNLIMITED traffic, 1 Gbit/s port
>
>
That certainly looks robust enough.  Is your MySQL or MariaDB database
running on that same server, or somewhere else?

-Nick

Re: Guacamole server error "The remote desktop server is currently unreachable" even RDP is working from default remote desktop connect

Posted by Arpit Agarwal <ap...@mpatra.com>.
Hello Nick,

So nice of you to reply me so fast. I am not technical person just installed it and running. Now i m also not getting any other one to get it solved. Can you please tell me the path from where i can pull the logs which i can provide you the same and get it solved. The system has below config rest all please guide me please. It has Tomcat 9

Environment:Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-52-generic x86_64)
10 CPU cores, 60 GB RAM (guaranteed), 1600 GB disk space (100% SSD), 100% SSD disk space, UNLIMITED traffic, 1 Gbit/s port

Thanks & Regards,           
Arpit Agarwal
Chat ID's:
GTalk  :apt@mpatra.com
Skype :iarpit22
http://www.arpitagarwal.in <http://www.arpitagarwal.in/>
Office: +91 120 4561602
India Cell   : +91 99719 77770
USA Cell : +1-732-705-7727
------------------------------------------------------------
The information contained in this transmittal is privileged and confidential.  The information is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by telephone or e-mail, and delete this message from your server.
 P Please don't print this e-mail unless you really need to. Be Green.











> On 30-Oct-2020, at 10:46 PM, Nick Couchman <vn...@apache.org> wrote:
> 
> On Fri, Oct 30, 2020 at 1:05 PM Arpit Agarwal <apt@mpatra.com <ma...@mpatra.com>> wrote:
> Hello,
> I am getting the error message "The remote desktop server is currently unreachable" in case of some RDP access while it is accessible by a normal RDP client. The RDP has windows 2016 os and working fine. This is an issue some time for some RDP only not for all. The other RDP which are accessible also has the same os. Please help me to solve this issue. The log is below. I am not techy so please help me to solve this issue.
> 
> The logs below are Tomcat logs - can you also pull your logs for guacd and see what they are showing?
>  
> 30-Oct-2020 03:02:45.776 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 51,251,740 milliseconds ago. The last packet sent successfully to the server was 51,251,740 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
> 30-Oct-2020 03:02:45.843 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 51,251,903 milliseconds ago. The last packet sent successfully to the server was 51,251,903 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
> 30-Oct-2020 03:02:45.856 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 50,908,390 milliseconds ago. The last packet sent successfully to the server was 50,908,390 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
> 30-Oct-2020 03:02:45.867 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 49,473,066 milliseconds ago. The last packet sent successfully to the server was 49,473,066 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
> 30-Oct-2020 03:02:45.907 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn Execution of ping query 'SELECT 1' failed: The last packet successfully received from the server was 47,613,050 milliseconds ago. The last packet sent successfully to the server was 47,613,050 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
> 
> 
> I'm not sure where your guacamole server is in relation to the RDP server, but the above messages indicate that there are some connectivity issues between Guacamole Client and the MySQL database - traffic is either getting blocked, or delayed in a huge way (the times above are like 10-15 hours).  So, it looks like there are probably some network issues with your Guacamole server - we're going to need a lot more detailed information (architecture, logs, etc.) to figure out what.
> 
> -Nick


Re: Guacamole server error "The remote desktop server is currently unreachable" even RDP is working from default remote desktop connect

Posted by Nick Couchman <vn...@apache.org>.
On Fri, Oct 30, 2020 at 1:05 PM Arpit Agarwal <ap...@mpatra.com> wrote:

> Hello,
>
> I am getting the error message "The remote desktop server is currently
> unreachable" in case of some RDP access while it is accessible by a normal
> RDP client. The RDP has windows 2016 os and working fine. This is an issue
> some time for some RDP only not for all. The other RDP which are accessible
> also has the same os. Please help me to solve this issue. The log is below.
> I am not techy so please help me to solve this issue.
>

The logs below are Tomcat logs - can you also pull your logs for guacd and
see what they are showing?


> 30-Oct-2020 03:02:45.776 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn
> Execution of ping query 'SELECT 1' failed: The last packet successfully
> received from the server was 51,251,740 milliseconds ago. The last packet
> sent successfully to the server was 51,251,740 milliseconds ago. is longer
> than the server configured value of 'wait_timeout'. You should consider
> either expiring and/or testing connection validity before use in your
> application, increasing the server configured values for client timeouts,
> or using the Connector/J connection property 'autoReconnect=true' to avoid
> this problem.
> 30-Oct-2020 03:02:45.843 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn
> Execution of ping query 'SELECT 1' failed: The last packet successfully
> received from the server was 51,251,903 milliseconds ago. The last packet
> sent successfully to the server was 51,251,903 milliseconds ago. is longer
> than the server configured value of 'wait_timeout'. You should consider
> either expiring and/or testing connection validity before use in your
> application, increasing the server configured values for client timeouts,
> or using the Connector/J connection property 'autoReconnect=true' to avoid
> this problem.
> 30-Oct-2020 03:02:45.856 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn
> Execution of ping query 'SELECT 1' failed: The last packet successfully
> received from the server was 50,908,390 milliseconds ago. The last packet
> sent successfully to the server was 50,908,390 milliseconds ago. is longer
> than the server configured value of 'wait_timeout'. You should consider
> either expiring and/or testing connection validity before use in your
> application, increasing the server configured values for client timeouts,
> or using the Connector/J connection property 'autoReconnect=true' to avoid
> this problem.
> 30-Oct-2020 03:02:45.867 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn
> Execution of ping query 'SELECT 1' failed: The last packet successfully
> received from the server was 49,473,066 milliseconds ago. The last packet
> sent successfully to the server was 49,473,066 milliseconds ago. is longer
> than the server configured value of 'wait_timeout'. You should consider
> either expiring and/or testing connection validity before use in your
> application, increasing the server configured values for client timeouts,
> or using the Connector/J connection property 'autoReconnect=true' to avoid
> this problem.
> 30-Oct-2020 03:02:45.907 WARNING [http-nio-80-exec-10] org.apache.ibatis.logging.jdk14.Jdk14LoggingImpl.warn
> Execution of ping query 'SELECT 1' failed: The last packet successfully
> received from the server was 47,613,050 milliseconds ago. The last packet
> sent successfully to the server was 47,613,050 milliseconds ago. is longer
> than the server configured value of 'wait_timeout'. You should consider
> either expiring and/or testing connection validity before use in your
> application, increasing the server configured values for client timeouts,
> or using the Connector/J connection property 'autoReconnect=true' to avoid
> this problem.
>
>
I'm not sure where your guacamole server is in relation to the RDP server,
but the above messages indicate that there are some connectivity issues
between Guacamole Client and the MySQL database - traffic is either getting
blocked, or delayed in a huge way (the times above are like 10-15 hours).
So, it looks like there are probably some network issues with your
Guacamole server - we're going to need a lot more detailed information
(architecture, logs, etc.) to figure out what.

-Nick