cancel
Showing results for 
Search instead for 
Did you mean: 
  • 940 Views

DO101 - Lab API error 403 "Forbidden"

I'm doing DO101 - Introduction to OpenShift Applications and when I try to start my lab environment everything seems to be ok, but when i go to the "API Endpoint" link it shows a JSON object like this:

{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "forbidden: User \"system:anonymous\" cannot get path \"/\"",
  "reason": "Forbidden",
  "details": {},
  "code": 403
}

 

At first time I ignored it because I was able to access the "Console Web Application" link and do all the openshift stuf. But right now I'm in step 3.2 and I need to use "oc" which is the openshift CLI, and the first step is to do the login command "oc login", and that's whats happen when I execute it:

$oc login --token=sha256~KQ2dqZadvVkH52-rVeEM_ZnX_hxRkqcYV0cAsca2HaU --server=https://api.na46a.prod.ole.redhat.com:6443

error: dial tcp 3.132.234.103:6443: i/o timeout - verify you have provided the correct host and port and that the server is currently running.

 

The command parameters I'm getting in the RHOCP web console.

 

Could anyone help me?

Labels (3)
0 Kudos
0 Replies
Join the discussion
You must log in to join this conversation.