Configuration with Application Deployment - Problem with Instance Roles

System Information

Field Value
Operating System Linux - Debian GNU/Linux 13 on x86_64
Product AMP ‘Deimos’ v2.7.2.0 (Mainline)
Virtualization ProxmoxVM
Application Application Deployment
Module ADSModule
Running in Container No
Current State Indeterminate

Problem Description

Issue

Im want to setup amp with one ADS as a controller and two ads as my Instance Hosts. Connecting to my instances works. I can click manage but im not able to add roles.

I tried this with https(proxy) and without (no proxy) to be sure that its not my nginx proxy.

But im still getting the following error ```vbnet
Exception in API call Core/GetRoleData
JsonSerializationException
[0] (JsonSerializationException) : Cannot deserialize the current JSON object (e.g. {“name”:“value”}) into type ‘System.Collections.Generic.IEnumerable`1[GSMyAdmin.Authentication.AuthRoleSummary]’ because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path ‘Title’, line 1, position 9.


Is there maybe a bug or just some config that i need to change?

Reproduction Steps
--
 * Klick Manage on Instance
 * Go to Configuration -> Roles Management
 * Roles are Empty not even Super Admin is here
 * Try to Create a new Role
 * No new Role is created
 * Got to the Logs and see ```vbnet Exception in API call Core/GetRoleData JsonSerializationException [0] (JsonSerializationException) : Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IEnumerable`1[GSMyAdmin.Authentication.AuthRoleSummary]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly. To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object. Path 'Title', line 1, position 9. ```


Edit:

Ok nevermind. Looks like this was a cache and proxy error.

I guess my problem was that my nginx config was missing
proxy_set_header X-AMP-Scheme $scheme;

So if someone has this problem.

Just delete your browser cache and double check all the headers.