"Communications link failure" Exception being thrown.... Dear god help

2018-10-23 Thread doyouhas
I have pasted the relevant contents of the catalina.out file to the link below, as in the past some people have complained about code formatting. When I began testing my application, I was actually running a mysql server on an ec2 instance instead of running against an RDS instance. So my database

Re: "Communications link failure" Exception being thrown.... Dear god help

2018-10-23 Thread doyouhas
I wish you had a little more faith in me than that. Yes I made sure I was able to establish a connection with the cluster by using the mysql client with the same credentials I provided to guacamole. I was able to get into the console no problem. -- Sent from: http://apache-guacamole-general-use

Re: "Communications link failure" Exception being thrown.... Dear god help

2018-10-23 Thread doyouhas
I checked my cloudwatch logs. Nothing relating to this problem was logged there. And as I stated in my previous post, on the instance where I've installed guacamole, I installed the mysql client and can connect to the database fine. I'm thinking it must have something to do with JDBC and AWS RDS, b

Re: "Communications link failure" Exception being thrown.... Dear god help

2018-10-29 Thread doyouhas
Alright guys. I have an update to this story. I put together a small java class for the purpose of testing JDBC functionality on the EC2 instance in question. I was able to execute a query successfully against my database using the same MySQL jar that resides in my /etc/guacamole/lib folder. So I a

JDBC connection string

2018-11-01 Thread doyouhas
Hey guys, Can someone familiar with the source let me know where the JDBC connection string is generated? I am still trying to troubleshoot my RDS connection issue. Appreciate if someone could help point me in the right direction. -- Sent from: http://apache-guacamole-general-user-mailing-list

"Error connecting to RDP server" Linux machine

2018-11-06 Thread doyouhas
Hey guys, I'm really confused as to why I am receiving the aforementioned error when trying to initiate an RDP connection. I have tested that I am able to connect to this machine when using the Microsoft Remote Desktop client on Mac. However when trying to access that same instance using Guacamole

Re: "Error connecting to RDP server" Linux machine

2018-11-06 Thread doyouhas
I was able to get the instances to connect via guacamole by changing the xrdp.ini file authentication to rdp instead of negotiate. Only problem now is that the connection is stable for a few minutes before crapping the bed. It will stay stuck in that loop of working, then disconnecting, until I log

Re: "Error connecting to RDP server" Linux machine

2018-11-06 Thread doyouhas
Here are the relevant log file. I initiated one connection from Mac RDP client and one from Guacamole. xrdp.log: http://dpaste.com/2B72S73 xrdp-sesman.log: http://dpaste.com/1WN0ZP7 -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

Re: "Error connecting to RDP server" Linux machine

2018-11-06 Thread doyouhas
Bizarre. I was finallysomehowable to get a stable connection via guacacmole, for about twenty minutes. As soon as I added another connection, my original connection timed out and it went in a loop where one session would be disconnected and the other would connect. What gives? -- Sent fr

Re: "Error connecting to RDP server" Linux machine

2018-11-06 Thread doyouhas
Sorry if I didn't explain the situation more clearly. The connections are not pointed at the same machine, they are pointed at different machines (ec2 instances). I have literally zero problem maintaining a consistent connection connecting with a standard RDP client to the exact same instance. -

Re: "Error connecting to RDP server" Linux machine

2018-11-06 Thread doyouhas
Not seeing anything specifically related to HTTPS/fallback. Since you mentioned that, however, I went ahead and disabled HTTPS on my nginx proxy and that seems like it may be the culprit. I have a connection going right now and it has been solid for the past five minutes. What settings do I need to

Re: "Error connecting to RDP server" Linux machine

2018-11-06 Thread doyouhas
Spoke too soon. I'm back to the same problem of when I'm logged in with one user, as soon as the next user logs in (to a totally different machine), guacamole kicks the first user. What gives, this behavior is truly bizarre. -- Sent from: http://apache-guacamole-general-user-mailing-list.236338

Re: "Error connecting to RDP server" Linux machine

2018-11-06 Thread doyouhas
Found the issue. Wasn't setting the requisite nginx proxy rules *face palm*. Cannot believe I overlooked something so basic. Had you not brought it up, I never would have thought to check that. You saved me from bashing my brains dude. Seriously. Thank you, thank you, thank you. HTTPS is now workin

Guacamole Connection Sharing: URL generation

2018-11-14 Thread doyouhas
Hello all, I am back with a question regarding the generation of the shared connection key. I would like to hook into my application a way for my users to access these links, however since these keys are not stored in the database, I need to know how the hash is computed so I can generate them on

Re: Guacamole Connection Sharing: URL generation

2018-11-14 Thread doyouhas
Freaking sweet. Dude do you ever sleep? :D Thank you for the prompt reply! -- Sent from: http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

Unable to get RDP working, after installing freerdp and binary packages

2018-08-10 Thread doyouhas
Hello party people..I am really about to tear my eyes out dealing with this issue. I am working on deploying a guacamole setup to my AWS account, however, after leaving instances running accidentally on a few occasions, I figure it would be better to get the configuration down on a local n

Re: Unable to get RDP working, after installing freerdp and binary packages

2018-08-10 Thread doyouhas
Thanks for the quick response my dude. Was able to connect to main machine and pull some more details. *sudo apt list libfreerdp-dev * libfreerdp-dev/bionic,now 1.1.0~git20140921.1.440916e+dfsg1-15ubuntu1 amd64 [installed] Not sure I enabled guacd in debug mode or notexecuted the fo

Re: Unable to get RDP working, after installing freerdp and binary packages

2018-08-10 Thread doyouhas
vnick wrote > Okay, that should be completely compatible. Can you confirm what version > of guacd you have installed? Sorry, should have mentioned that off the top0.9.14 *cat /var/log/syslog | grep "guacd"* Aug 10 10:12:43 guacamole-vm guacd[16729]: Guacamole proxy daemon (guacd) version 0

Guacamole web application crashes when trying to use DB auth

2018-08-12 Thread doyouhas
Hello again, I am now dealing with some issues trying to configure database authentication for guacamole. I have successfully logged into the mysql console from the machine in question, so I know there is no networking errors running amuck. I created a skeletal properties file as follows: Once

Re: Guacamole web application crashes when trying to use DB auth

2018-08-12 Thread doyouhas
Sorry, not sure why my properties and log excerpt didnt show up in my postlets try that again *guacamole.properties:* # Hostname and port of guacamole proxy guacd-hostname: localhost guacd-port: 4822 # MySQL properties mysql-hostname: 192.168.56.101 mysql-port: 3306 mysql-database: guacam

Re: Guacamole web application crashes when trying to use DB auth

2018-08-13 Thread doyouhas
Ahh. I turned up the verbosity on tomcat and found this in the logs: INFO: Server startup in 15700 ms Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driv

Guacamole view connection URLs

2018-08-17 Thread doyouhas
Hello, I have another question for you guys. I am trying to integrate my application with guacamole, providing a way for my customer to easily spin up training environments for their students. I am creating a dashboard for instructors to view all of their current registrations. Once a registration

Re: Guacamole view connection URLs

2018-08-28 Thread doyouhas
Sorry I didnt reply I've been busy debugging my code. I'm gonna try and implement the link functionality soon so this information will be invaluable. Thanks for all your help Nick :D Really solid community you have here. So much easier to get help than from other open source projects! -- Sent fr