we're observing strange behaviour with Veeam EM REST API endpoint.
Veeam is version 9.5.4.2753
First the user is authenticated:
Code: Select all
[14.10.2019 19:02:02] <12> Info     User [DOMAIN\USER] was successfully logged on.
Code: Select all
[14.10.2019 19:02:03] <12> Info     [GET] request to [https://vem-server:9398/api/hierarchyRoots?format=Entity] deserialized. Message: []; Parameters: [].
[14.10.2019 19:02:03] <12> Error    Failed to retrieve root hosts. RequestUri: [https://vem-server:9398/api/hierarchyRoots?format=Entity].
[14.10.2019 19:02:03] <12> Error    Identity was not authenticated. (Veeam.Backup.Interaction.RestAPI.CRestAPICommunicationException)
 - the server with which I managed to reproduce this behavior is accessible via a middleware that strips X-* headers. So in my case it was not headers related but environmental, apologies for confusion.
 - the server with which I managed to reproduce this behavior is accessible via a middleware that strips X-* headers. So in my case it was not headers related but environmental, apologies for confusion.