Closed ehaligow closed 2 years ago
Task Setsessionservice is sending request, that is not stated in Redfish API. For the given URL only GET method is allowed.
"method" : "POST", "body" : "{\"ServiceEnabled\":true,\"SessionTimeout\":600}", "url" : "/redfish/v1/SessionService/", "headers" : { "Authorization" : "Basic YWRtaW46YWRtaW4=", "User-Agent" : "Go-http-client/1.1", "Connection" : "close", "Host" : "192.168.40.204:8888", "Accept-Encoding" : "gzip", "Content-Length" : "44" }, "queryParams" : { }, "queryString" : null, "basicAuthCredentials" : { "username" : "admin", "password" : "admin" }, "json" : { "ServiceEnabled" : true, "SessionTimeout" : 600 }, "expandType" : "NONE", "expandLevels" : 1 }, response: { "code" : "METHOD_NOT_ALLOWED", "body" : "", "headers" : { }, "location" : null, "json" : { } }
Now, it does not support HTTP Basic-Authetication. You could use the HTTP Token-Based to perform your test.
Edgecore will address this limitation early next week.
The issue is resolved.
Task Setsessionservice is sending request, that is not stated in Redfish API. For the given URL only GET method is allowed.