typicode / katon

(use hotel instead)
https://github.com/typicode/hotel
MIT License
683 stars 28 forks source link

KO try `sudo katon install` #47

Open jkrup opened 10 years ago

jkrup commented 10 years ago

Hi, I just don't seem to be able to get this to work. I always get KO try sudo katon install when running katon status I'm not sure what info would be useful. I'm pretty much fully up to date on a Mac OSX... Yosemite, npm node all latest version

omarvelous commented 10 years ago

+1

I'm getting the same issue periodically. It will just start randomly. The daemon.log only states the following:

6 Nov 21:35:37 - [dns   ] Resolving katon-status-test.ka
typicode commented 10 years ago

Thanks for letting me know. I've updated the status command and fixed another bug related to fresh install. Could you update to 0.8.2 and tell me if you still encounter the problem?

I think also another problem that might be related is that DNS resolution is slow on Yosemite. https://github.com/typicode/katon/issues/44 (it's a tough issue and I've not yet found a solution :(

Also before the fix status had a 1 second timeout so if DNS was slow at that moment, it would fail .

omarvelous commented 10 years ago

Looking good... Only issue is it's timing out now. Is there a way to manually adjust the timeout? I ran the command that katon is running to start the app, and it does indeed start, albeit a little over 4 seconds.

typicode commented 10 years ago

You mean you ran katon status? Or another command?

omarvelous commented 9 years ago

@typicode sorry for the delay...

This is loading an app via katon. I noticed after putting my laptop to sleep, and reviving it back is when it tends to crap out. I could uninstall, stop/start/restart, and nothing. It just starts working again randomly.

I'll try to reproduce it.