Pow domains not loading in Chrome
Asked Answered
E

3

14

So, I struggled with this for the last hour. For some reason, my POW domains always hit a www.website-unavailable.com error in Chrome. Rails servers work great from the traditional rails s and pull up at localhost:3000. I'm using Anvil.app to manage the domains.

No matter what, I hit the www.website-unavailable.com page in Chrome immediately each time I try to visit a .dev domain.

The strangest thing is, the site loads great in other browsers. Just not Chrome. I even tried installing Chrome Canary and it hits the exact same error (fresh install!).

I tried, in this order, to no avail, to get the server running again:

  1. Rebooting.
  2. pow restart in the terminal for various sites.
  3. Reinstalling POW.
  4. Clearing the DNS cache at chrome://net-internals#dns

Nothing seems to work. Any idea what I could do to get this working again? Not a huge deal to use localhost:3000 but I love POW. The strange thing is, it was working wonderfully for weeks.

Except answered 21/7, 2013 at 22:9 Comment(6)
Did you try chromium (this is "open-source" build of Chrome), you can get it here chromiumupdater.sytes.net/…Combe
Are you using OpenDNS?Underling
@DanReedy yes, in fact, I am using OpenDNS. Should I not?Except
@MichaelSzyndel wow! Strangely, the domain resolves in Chromium! Thank you.Except
@DanReedy wow. I just updated my DNS settings to 8.8.8.8 and 8.8.4.4 (the Google DNS settings) and pages actually load faster AND my Pow is working again. I would have never thought that was the issue, so thank you for your help!Except
It is definitely a chrome issue, and not an OpenDNS issue, since .dev pow sites work perfectly in firefox and safari. Disabling async dns in chrome worked for me as mentioned below.Pyrostat
E
10

Thanks to user Dan Reedy (see above) I was able to fix this by moving from OpenDNS to the Google DNS 8.8.8.8 and 8.8.4.4 settings. Now, pages load faster and Pow servers are working again. And they seem to actually load much faster. Awesome!

Except answered 21/7, 2013 at 22:45 Comment(2)
I was not using OpenDNS, but setting my DNS to 8.8.4.4 worked for me as well.Burkley
I'm not using OpenDNS either, but suspect it's enabled for the network I'm currently on. Adding the Google DNS entries solved it for me too.Eliciaelicit
I
24

I ran into the same issue, but changing from OpenDNS to Google's DNS servers didn't help. Apparently, this is an issue with the asynchronous DNS built into Chrome.

There are a couple workarounds:

  • Use .xip.io domain instead of .dev
  • Disable asynchronous DNS in chrome://flags
  • Disable NXDOMAIN helper

I ended up disabling asynchronous DNS and my .dev domains work again.

Here's where I found more information:

Icebound answered 7/8, 2013 at 20:13 Comment(2)
Disabling asynchronous DNS alone fixed the problem for me. Thanks!Colobus
Sweet happiness. Thank you! I run dev sites on hosted VMs and Chrome would always intermittently work with DNS resolution. Exasperating! Disabling asynchronous DNS in Chrome now takes care of it and I no longer have the intermittent DNS timeouts for /etc/hosts domains.Warner
E
10

Thanks to user Dan Reedy (see above) I was able to fix this by moving from OpenDNS to the Google DNS 8.8.8.8 and 8.8.4.4 settings. Now, pages load faster and Pow servers are working again. And they seem to actually load much faster. Awesome!

Except answered 21/7, 2013 at 22:45 Comment(2)
I was not using OpenDNS, but setting my DNS to 8.8.4.4 worked for me as well.Burkley
I'm not using OpenDNS either, but suspect it's enabled for the network I'm currently on. Adding the Google DNS entries solved it for me too.Eliciaelicit
I
0

I look up my IP via Network Preferences on a Mac OS X, and navigate to a domain like so :

http://subdomain.name-of-app-directory.ip-address.xip.io

So an example would be :

http://subdomain.website.10.0.0.0.22.xip.io
Inbreathe answered 19/5, 2016 at 9:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.