On Wed, Oct 23, 2024 at 6:01 AM Wüthrich Daniel <daniel.wuethr...@lups.ch> wrote:
> Intern > > Intern > > Hi > > > > Active Sessions are displayed in guacamole webgui (Settings > Active > Sessions). How do i get configured and active sessions/connections from > api? > > > > I can successfully read the api user: > https://SERVER/guacamole/api/session/data/mysql/users?token=... > > but cannot read sessions: > > > https://SERVER/guacamole/api/session/data/mysql/activeConnections?token= > ... > > https://SERVER/guacamole/api/session/data/mysql/connections?token=... > > I always get an empty dataset ("{}"). I tried in browser and curl. > > > > We use mysql database with ldap authentication. Guacamole 1.5.5. > > > A few questions, here: * Do you have any other extensions installed aside from JDBC and LDAP? * When you are logging in to the REST API, are you using an account that you know has access to see active sessions (generally a system administrator)? * If you view the Developer Console in your web browser and you want the API calls used to retrieve the active connections, does it match the endpoint you're using? -Nick >