katon icon indicating copy to clipboard operation
katon copied to clipboard

Xip.io resolution fails, have to reinstall katon now and then

Open jsierles opened this issue 10 years ago • 5 comments

Every couple days, it seems the xip.io resolution stops working and I have to run katon install. Any idea what could cause this?

jsierles avatar Jun 02 '15 12:06 jsierles

I've had reports on another project using xip.io, that sometimes on Windows, there was a:

This webpage is not available

ERR_NAME_NOT_RESOLVED

But, I don't know what might cause this. Do you have the same error? Is it solved immediately after running katon install?

typicode avatar Jun 02 '15 19:06 typicode

I'm on a mac - it looks like it happens at reboot time. I'll test some more and report. It's solved after running katon install

jsierles avatar Jun 03 '15 13:06 jsierles

Thanks (not on a mac right now).

Basically, katon install does two things:

  • creates /etc/resolver/ka which makes .ka domain use katon local DNS server.
  • creates /Library/LaunchDaemons/katon.firewall.plist which sets a firewall rule to redirect port 80 to katon http server port 31000.

typicode avatar Jun 03 '15 17:06 typicode

This issue seems to be related to dynamic IP addresses changing. Every time my IP address is changed by DHCP, I have to reinstall katon. Will look into this some more.

jsierles avatar Jun 08 '15 12:06 jsierles

Thanks for the update.

typicode avatar Jun 08 '15 15:06 typicode