Re: Is Guacamole RESTAPI AuthToken stored in memory ?

2020-07-10 Thread Nick Couchman
On Fri, Jul 10, 2020 at 6:26 AM faris backer 
wrote:

> Hi,
> We have deployed guacamole container under ECS fargate with loadbalancer in
> front of it.
>
> While invoking RESTApi we are getting authentication(403) failure.
> AuthToken
> was generated successfully, But further request with authtoken failed wih
> 403 error. By deep diving we understood that its because
> both request was going to different container. Authtoken generated was only
> valid for container in which it was invoked.
>
> Is Authtoken saved in memory ? Can authoken be used for both container ?
>
>
Yes, the auth token is currently only stored in-memory.  There have been
discussions about finding other ways to store both auth tokens and
connection information, but no significant progress.  See:

https://issues.apache.org/jira/browse/GUACAMOLE-283


> Workaround as of now, I am planning is to use cookies with request and
> enable stickiness in loadbalancer.
>
>
That seems like a reasonable approach.

-Nick


Is Guacamole RESTAPI AuthToken stored in memory ?

2020-07-10 Thread faris backer
Hi,
We have deployed guacamole container under ECS fargate with loadbalancer in
front of it.

While invoking RESTApi we are getting authentication(403) failure. AuthToken
was generated successfully, But further request with authtoken failed wih
403 error. By deep diving we understood that its because
both request was going to different container. Authtoken generated was only
valid for container in which it was invoked.

Is Authtoken saved in memory ? Can authoken be used for both container ?

Workaround as of now, I am planning is to use cookies with request and
enable stickiness in loadbalancer.

Thanks,
- Faris



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

-
To unsubscribe, e-mail: user-unsubscr...@guacamole.apache.org
For additional commands, e-mail: user-h...@guacamole.apache.org