Intern
Intern Hi Nick Thank you. It seems that it was just a permission issue. When I assign admin rights to the api-user all connections are displayed Is it correct, that there is no possibility for a "readonly" user? From a security perspective, it makes little sense to use a user with full admin rights for readonly calls. Regards Daniel Von: Nick Couchman <vn...@apache.org> Gesendet: Donnerstag, 7. November 2024 20:36 An: user@guacamole.apache.org Betreff: Re: Guacamole API activeConnections On Wed, Oct 23, 2024 at 6:01 AM Wüthrich Daniel <daniel.wuethr...@lups.ch<mailto: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