<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: I am getting 502 Bad Gateway while loading the localhost:8080 ambari UI.  Please suggest what could be the issue ? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240144#M201950</link>
    <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/103325/divyathaore.html"&gt;&lt;EM&gt;@Divya Thaore&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You are trying to access the sandbox:8080 from your laptop because localhost:8080 translates to your local windows machine.  To be able to access sandbox ambari from your Windows machine, you should have an entry in your hosts file in &lt;STRONG&gt;C:\Windows\System32\drivers\etc&lt;/STRONG&gt;  with the format  IP:FQDN:ALIAS for example&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;# localhost name resolution is handled within DNS itself.
#127.0.0.1     localhost
#::1           localhost
127.0.0.1      sandbox.hortonworks.com   sandbox    &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt; With the above entry assuming you sandbox IP is correctly you can access  your cluster through &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;A href="http://sandbox:8080" target="_blank"&gt;http://sandbox:8080&lt;/A&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jan 2019 07:55:19 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2019-01-14T07:55:19Z</dc:date>
    <item>
      <title>I am getting 502 Bad Gateway while loading the localhost:8080 ambari UI.  Please suggest what could be the issue ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240139#M201945</link>
      <description />
      <pubDate>Thu, 10 Jan 2019 22:28:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240139#M201945</guid>
      <dc:creator>divya_thaore</dc:creator>
      <dc:date>2019-01-10T22:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting 502 Bad Gateway while loading the localhost:8080 ambari UI.  Please suggest what could be the issue ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240140#M201946</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 22:28:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240140#M201946</guid>
      <dc:creator>divya_thaore</dc:creator>
      <dc:date>2019-01-10T22:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting 502 Bad Gateway while loading the localhost:8080 ambari UI.  Please suggest what could be the issue ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240141#M201947</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/103325/divyathaore.html" nodeid="103325"&gt;@Divya Thaore&lt;/A&gt; 502 Bad Gateway error is usually indicating a networking error, Try restart of the browser or try accessing from Incognito mode&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 23:15:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240141#M201947</guid>
      <dc:creator>Scharan</dc:creator>
      <dc:date>2019-01-10T23:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting 502 Bad Gateway while loading the localhost:8080 ambari UI.  Please suggest what could be the issue ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240142#M201948</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15463/scharan.html" nodeid="15463"&gt;@scharan&lt;/A&gt; : tried incognito too. not working.. i dont think it's browser issue&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 02:16:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240142#M201948</guid>
      <dc:creator>divya_thaore</dc:creator>
      <dc:date>2019-01-11T02:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting 502 Bad Gateway while loading the localhost:8080 ambari UI.  Please suggest what could be the issue ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240143#M201949</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/103325/divyathaore.html" nodeid="103325"&gt;@Divya Thaore&lt;/A&gt; Are you see any errors in  Browser Inspect element , Also check ambari-server logs&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 09:04:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240143#M201949</guid>
      <dc:creator>Scharan</dc:creator>
      <dc:date>2019-01-11T09:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting 502 Bad Gateway while loading the localhost:8080 ambari UI.  Please suggest what could be the issue ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240144#M201950</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/103325/divyathaore.html"&gt;&lt;EM&gt;@Divya Thaore&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You are trying to access the sandbox:8080 from your laptop because localhost:8080 translates to your local windows machine.  To be able to access sandbox ambari from your Windows machine, you should have an entry in your hosts file in &lt;STRONG&gt;C:\Windows\System32\drivers\etc&lt;/STRONG&gt;  with the format  IP:FQDN:ALIAS for example&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;# localhost name resolution is handled within DNS itself.
#127.0.0.1     localhost
#::1           localhost
127.0.0.1      sandbox.hortonworks.com   sandbox    &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt; With the above entry assuming you sandbox IP is correctly you can access  your cluster through &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;A href="http://sandbox:8080" target="_blank"&gt;http://sandbox:8080&lt;/A&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;HTH&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 07:55:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/240144#M201950</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2019-01-14T07:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting 502 Bad Gateway while loading the localhost:8080 ambari UI.  Please suggest what could be the issue ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/269682#M207014</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/20288"&gt;@Shelton&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed your suggestion and modified HOSTS file in the&amp;nbsp;C:\Windows\System32\drivers\etc on my Windows 7 machine where the VirtualBox/Sandbox is installed, it still prompts me the 502 error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/0355be688655c6da97286e16a849401fedc1d2c9/68747470733a2f2f736e6970626f6172642e696f2f5647317651642e6a7067" border="0" alt="" /&gt;&lt;/P&gt;&lt;P&gt;Here are the hosts file:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;127.0.0.1 localhost&lt;BR /&gt;::1 localhost&lt;BR /&gt;127.0.0.1 sandbox.hortonworks.com sandbox&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the Windows7 built-in Resource Monitor to inspect which application is using 8080, and it shows VirtualBox:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://ip1.i.lithium.com/8a691be562069eb533b6544a21cf0893c34e889d/68747470733a2f2f736e6970626f6172642e696f2f4f75764745702e6a7067" border="0" alt="port 8080 used by VirtualBox already" width="1061" height="379" /&gt;&lt;/P&gt;&lt;P&gt;Since VirtualBox is where the sandbox resides, there is no way for me to terminate it. How do I then access Ambari from localhost?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much if you can kindly help me to sort it out at your earliest convenience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 00:26:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/269682#M207014</guid>
      <dc:creator>axie</dc:creator>
      <dc:date>2019-09-04T00:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting 502 Bad Gateway while loading the localhost:8080 ambari UI.  Please suggest what could be the issue ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/269720#M207044</link>
      <description>&lt;P&gt;instead of localhost try using the IP address of the server.&amp;nbsp; That should help&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 12:07:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/269720#M207044</guid>
      <dc:creator>hiveravids2</dc:creator>
      <dc:date>2019-09-04T12:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: I am getting 502 Bad Gateway while loading the localhost:8080 ambari UI.  Please suggest what could be the issue ?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/333631#M231474</link>
      <description>&lt;P&gt;Hi, even I am facing the same trouble when trying to load Ambari web page, it shows 502 error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was working fine 2 days back but the error is showing from today when I tried to login in the morning.&lt;/P&gt;&lt;P&gt;I have tried all the replies stated above, none worked. I will be grateful if someone can resolve this issue at the earliest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jan 2022 17:44:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/I-am-getting-502-Bad-Gateway-while-loading-the-localhost/m-p/333631#M231474</guid>
      <dc:creator>Ann45</dc:creator>
      <dc:date>2022-01-11T17:44:00Z</dc:date>
    </item>
  </channel>
</rss>

