Basic realm=\"Intent Gateway Login Required\"

  • 17 September 2018
  • 2 replies

Badge +3
Hello team,

Got following error when trying to get list of clusters using RestAPI request:

"api_version": "3.0",
"code": 401,
"message_list": [
"details": "Basic realm=\"Intent Gateway Login Required\"",
"message": "Authentication required.",
"state": "ERROR"

Rest API request is quite common, this is how it looks like using curl:

curl -u ntnxadm@support.local -k -X POST --header "Content-Type: application/json" --header "Accept: application/json"  -d "{"kind":"cluster"}" ""

Strange thigs are:

  • Same request via Rest API explorer completed successfully. Same account used for Rest API explorer
  • When running it using curl from machine inside cluster network it always fail like this
  • Account is from same domain which is used by cluster for authentication. Authentication to cluster using domain accounts works just fine
  • Local admin account works just fine
Sadly I can't find more of this error anywhere on domain side. Has somebody faced with it before? Any chance I can find more of this error in NCC log bundle? Any help appreciated. Looks like something is not right with cluster or domain account. This is latest CE version.

2 replies

I have the exact same error, but I currently have no solution how to fix it.
Would another IPMI account make sense to be set up and used instead?
Userlevel 1
Badge +1
I was able to reproduce this using the same curl above. The easiest fix is to escape out the double quotes. The following body worked in curl for myself:

 "{\"kind\": \"cluster\"}"