Hey,
I am trying to create a connection in 2 steps:
1. The client sends credentials and hostname - gets a connectionId in return
2. Many clients may now use javascript to
*guacClient.connect("id=myConnectionId")* and get the terminal show

Problem is, as i understand from the logs, that the connection is closed
after a few seconds that the user is not responsive.

My code is as follows:
1. doCreate --- The function i call when someone wants to create a
connection, e.g. step 1
https://pastebin.com/EFE0YdKz

2. doConnect -- e.g. step 2
https://pastebin.com/cbR5jacg


now, i know that cannot work in that way.
only workaround i can think of at the moment is to get the credentials, not
actually create any connection
and to save the credentials in cache, and produce some sort of token.

and that token will be used from the javascript. Only then, i will actually
create the connection.

Is that the best way to do so?

Thanks for the help and for this amazing product!



--
Sent from: 
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to