Support Questions
Find answers, ask questions, and share your expertise

JSON error when trying to connect to Ambari dashboard URL http://127.0.0.1:8080

Highlighted

JSON error when trying to connect to Ambari dashboard URL http://127.0.0.1:8080

New Contributor

@Sonu Sahi

I am receiving JSON error when trying to connect to Ambari dashboard URL http://127.0.0.1:8080

The error message is...type: "error" code: "Forbidden". How can I resolve?

I attempted to ssh @root 127.0.0.1 -p 12122. I used my root password but that didn't work. Please help. Thank you. Screenshot is attached.json-error.png

1 REPLY 1
Highlighted

Re: JSON error when trying to connect to Ambari dashboard URL http://127.0.0.1:8080

Guru

Hi @April Collins

are you using the HDP or HDF sandbox? The reason I ask is because you are using the Ambari port of 8080 in the HTTP request from the HDP Sandbox, but the SSH port of the docker host for the HDF Sandbox of 12122

If you are indeed using the HDF Sandbox, try the HTTP request with the port 18888: http://127.0.0.1:18888 for the welcome screen, and http://127.0.0.1:18080 for Ambari

If you are using the HDP Sandbox, try SSH again using port 2222 and see if you can get in there. If so, check to ensure Ambari is up and running with: ambari-server status and if it is not running, try: ambari-server start

Don't have an account?