keybase / client

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron
BSD 3-Clause "New" or "Revised" License
8.9k stars 1.23k forks source link

Keybase stuck at loading after running #5975

Open martinewski opened 7 years ago

martinewski commented 7 years ago

I'm trying Keybase for the first time. I'm running it on macOS Sierra, but it is stuck at the loading screen.

I've already tried uninstalling and reinstalling it, running an alternate installer provided on issue #5830, but none helped it.

my log id: 44f6fb071c34b072813cef1c

Edit: Keybase was logged out in previous log id, so I created a new one after login in using the cli: acdc55c72e8ffc055c1fdd1c

cjb commented 7 years ago

Thanks, CC @gabriel

gabriel commented 7 years ago

I noticed the app is having trouble connecting to the service:

["RPC [W] localhost: Error: connect ENOTSOCK /Volumes/Macintosh HD/Users/{username}/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock"]
gabriel commented 7 years ago

What is the output of:

ls -al ~/Library/Group Containers/keybase/Library/Caches/Keybase/
gabriel commented 7 years ago

Are you still having this issue?

benrobertsabq commented 7 years ago

I'm seeing a similar error (ENOENT vs ENOSOCK in the error message) on OSX Yosemite (10.10.5) on Keybase Version 1.0.30-20170915193210+8c3c799f2 after installing.

Keybase takes a very long time (several minutes) to load and then loads an empty UI window and the following error looping in Keybase.app.log until I force quit the app:

log: Mon Sep 18 2017 16:26:13 GMT-0700 (PDT) (1505777173766): RPC [I] localhost: connecting (attempt 175) log: Mon Sep 18 2017 16:26:13 GMT-0700 (PDT) (1505777173767): RPC [W] localhost: Error: connect ENOENT /Users/{username}/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock log: Mon Sep 18 2017 16:26:14 GMT-0700 (PDT) (1505777174770): RPC [I] localhost: connecting (attempt 176) log: Mon Sep 18 2017 16:26:14 GMT-0700 (PDT) (1505777174771): RPC [W] localhost: Error: connect ENOENT /Users/{username}/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock log: Mon Sep 18 2017 16:26:15 GMT-0700 (PDT) (1505777175772): RPC [I] localhost: connecting (attempt 177) log: Mon Sep 18 2017 16:26:15 GMT-0700 (PDT) (1505777175772): RPC [W] localhost: Error: connect ENOENT /Users/{username}/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock log: Mon Sep 18 2017 16:26:16 GMT-0700 (PDT) (1505777176773): RPC [I] localhost: connecting (attempt 178) log: Mon Sep 18 2017 16:26:16 GMT-0700 (PDT) (1505777176773): RPC [W] localhost: Error: connect ENOENT /Users/{username}/Library/Group Containers/keybase/Library/Caches/Keybase/keybased.sock

Output of: ls -al ~/Library/Group Containers/keybase/Library/Caches/Keybase/

ls -al "~/Library/Group Containers/keybase/Library/Caches/Keybase/" ls: ~/Library/Group Containers/keybase/Library/Caches/Keybase/: No such file or directory

benrobertsabq commented 7 years ago

Follow up - I have my machine set to connect to a couple of network shares at login, which are currently offline.

For whatever reason, it appears Keybase was also trying to connect to these shares as well, and that seems to have been breaking the app. [I have questions about that... The only reason I suspected this was the underlying issue was the generic "Could not connect to server" messages OSX was throwing, which shouldn't have been thrown by anything at that time.]

Removing the automatic connection at login from OSX Users & Groups>{My user}>Login Items tab caused the error to stop and Keybase loads as expected.

kenorb commented 5 years ago

Still happening, see #14222