katon icon indicating copy to clipboard operation
katon copied to clipboard

KO try `sudo katon install`

Open jkrup opened this issue 11 years ago • 5 comments

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

jkrup avatar Nov 06 '14 23:11 jkrup

+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

omarvelous avatar Nov 07 '14 02:11 omarvelous

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 .

typicode avatar Nov 07 '14 18:11 typicode

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.

omarvelous avatar Nov 08 '14 17:11 omarvelous

You mean you ran katon status? Or another command?

typicode avatar Nov 10 '14 07:11 typicode

@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.

omarvelous avatar Nov 13 '14 04:11 omarvelous