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.

Bernhard Barker
  • 54,589
  • 14
  • 104
  • 138
andrewmart.in
  • 1,563
  • 14
  • 23
  • Did you try chromium (this is "open-source" build of Chrome), you can get it here http://chromiumupdater.sytes.net/chupdater.php?macdn1=32-Bit+Zip+Folder – Mike Szyndel Jul 21 '13 at 22:20
  • 2
    Are you using OpenDNS? – Dan Reedy Jul 21 '13 at 22:21
  • @DanReedy yes, in fact, I am using OpenDNS. Should I not? – andrewmart.in Jul 21 '13 at 22:35
  • @MichaelSzyndel wow! Strangely, the domain resolves in Chromium! Thank you. – andrewmart.in Jul 21 '13 at 22:36
  • @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! – andrewmart.in Jul 21 '13 at 22:44
  • 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. – Malcolm Sharman Aug 13 '13 at 21:45

3 Answers3

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:

dmkash
  • 1,247
  • 9
  • 11
  • 3
    Disabling asynchronous DNS alone fixed the problem for me. Thanks! – jasonmklug Aug 23 '13 at 04:49
  • 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. – Ted Dec 03 '13 at 23:51
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!

andrewmart.in
  • 1,563
  • 14
  • 23
  • 1
    I was not using OpenDNS, but setting my DNS to 8.8.4.4 worked for me as well. – findzen Jul 25 '13 at 18:50
  • 1
    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. – Zubin Jul 29 '13 at 02:35
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
Trip
  • 26,756
  • 46
  • 158
  • 277