Ayubx
Ayubx

Reputation: 665

502 proxy error, Oracle VM + Hortonworks sandbox

I am new to Hadoop. Oracle VM with Hortonworks sandbox (OS Red Hat 64bit) with HDP 2.3.2 is up and running. When i am trying to test via http://192.168.56.101 i get the 502 proxy error.

Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /. Reason: Error reading from remote server

I have done the same installation and configuration on both my pc and mac and i get the same error. I have tried the test from IE and chrome as well.

Upvotes: 3

Views: 2584

Answers (4)

Ranjit Kumar Pandit
Ranjit Kumar Pandit

Reputation: 111

I was having the same issue, I have assigned about 8.5 GB of ram to virtual machine. I was thinking its ram issue. But later, I found that it takes a couple of minutes to start its internal service after you start your virtual machine, depending on your system specifications.

So start the virtual machine and wait a couple of minutes after you see the URL printed on the screen.

Upvotes: 0

Raman Sahasi
Raman Sahasi

Reputation: 31901

Usually it happens when the Ambari is restarting or shutting down. Just wait for a few seconds and it should resolve.

You can also try to open it in incognito mode or clear the cookies.

To clear the cookies, for the chrome browser:

  1. Click on i icon which is at the left side of URL
  2. Click on Cookies
  3. Remove all cookies one-by-one

It should solve.

Upvotes: 0

abinash sahoo
abinash sahoo

Reputation: 177

Click on machine tab of Horton sandbox virtual box running instance and click Reset. It worked for me.

Upvotes: 1

kamesh
kamesh

Reputation: 41

I also got same issue when I try it in another browser it worked, so you can try in different browser. And also increase your VMware allocated memory for hortonworks VM.

Upvotes: 1

Related Questions