Question

Basic realm=\"Intent Gateway Login Required\"


Badge +3
Hello team,

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

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



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

code:
curl -u ntnxadm@support.local -k -X POST --header "Content-Type: application/json" --header "Accept: application/json"  -d "{"kind":"cluster"}" "https://ahvcls.support.local:9440/api/nutanix/v3/clusters/list"



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.

0 replies

Be the first to reply!

Reply