fig icon indicating copy to clipboard operation
fig copied to clipboard

Daemon: Daemon websocket error

Open arunsrini3082 opened this issue 3 years ago • 10 comments

Sanity checks

  • [X] I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
  • [X] I have run fig doctor in the affected terminal session
  • [X] I have run fig restart and tested again (tell us if that fixed it)

Issue Details

Environment

fig-details:
  - desktop-version: Version 1.0.61 (B528) [ABC - India]
hardware-info:
  - model: MacBook Pro
  - model-id: MacBookPro15,1
  - chip-id: 
  - cores: 6
  - mem: 16 GB
os-info:
  - macOS 11.6.5 (20G527)
environment:
  - shell: /bin/zsh
  - terminal: iterm
  - cwd: /Users/arun.srinivasan/Desktop
  - exe-path: /usr/local/bin/fig
  - install-method: unknown
  - env-vars:
    - FIG_INTEGRATION_VERSION: 8
    - FIG_TERM: 1
    - FIG_TERM_VERSION: 5.2.0
    - PATH: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/Library/Apple/usr/bin:/Users/arun.srinivasan/.fig/bin:/Users/arun.srinivasan/.local/bin
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - TERM_SESSION_ID: w0t0p0:D3ABB5D6-9885-4B5B-88C7-0F05CE115FE2
    - FIG_PID: 3431
- integrations:
  - SSH: false
  - TMUX: false
  - iTerm: installed!
  - Hyper: application is not present.
  - Visual Studio Code: application is not present.
  - Docker: false

arunsrini3082 avatar Sep 24 '22 01:09 arunsrini3082

fig doctor output as below:

✘ Daemon: Daemon websocket error
  Failed to connect to websocket
Attempting to fix automatically...
Re-running check...

✘ Daemon: Daemon websocket error
  Failed to connect to websocket


✘ Doctor found errors. Please fix them and try again.

If you are not sure how to fix it, please open an issue with fig issue to let us know!
Or, email us at [email protected]!

arunsrini3082 avatar Sep 24 '22 01:09 arunsrini3082

I see a similar problem with the latest Fig update (1.0.61). Fig doctor fixes this issue, then I restart Fig, then it works. Then I reboot the machine, back to square 1, need to run Fig doctor, then Fig restart before Fig works.

Did uninstall, reinstall as well.

daryllswer@macbook ~ % fig doctor

✘ Daemon: Daemon settings watcher error No such file or directory (os error 2) Attempting to fix automatically... Re-running check...

✔ Daemon

✔ Everything looks good!

Fig still not working? Run fig issue to let us know! Or, email us at [email protected]!

daryll-swer avatar Sep 25 '22 11:09 daryll-swer

@grant0417

brendanfalk avatar Sep 25 '22 17:09 brendanfalk

same issue here:

$ fig doctor

✘ Daemon: Daemon websocket error
  unknown app
Attempting to fix automatically...
Re-running check...

✘ Daemon: Daemon websocket error
  unknown app


✘ Doctor found errors. Please fix them and try again.

If you are not sure how to fix it, please open an issue with fig issue to let us know!
Or, email us at [email protected]!

taco-chen avatar Sep 30 '22 14:09 taco-chen

Same

robin-dongbin avatar May 21 '23 16:05 robin-dongbin

same on macOS 14.0 (Apple silicon M1), partial fig doctor log:

✔ Daemon
✘ Daemon diagnostics: Daemon websocket error

  Websock next error: Io(Os { code: 54, kind: ConnectionReset, message: "Connection reset by peer" })

blackmatch avatar Oct 15 '23 08:10 blackmatch

same on macOS 14.0 (Apple silicon M1), partial fig doctor log:

✔ Daemon
✘ Daemon diagnostics: Daemon websocket error

  Websock next error: Io(Os { code: 54, kind: ConnectionReset, message: "Connection reset by peer" })

macOS 14.0 (Apple Silicon M1): Fig starts working after signing out of the current account and then signing back in.

npe-space avatar Nov 07 '23 09:11 npe-space

any progress ?

kerm1it avatar Nov 14 '23 02:11 kerm1it

same on macOS 14.0 (Apple silicon M1), partial fig doctor log:

✔ Daemon
✘ Daemon diagnostics: Daemon websocket error

  Websock next error: Io(Os { code: 54, kind: ConnectionReset, message: "Connection reset by peer" })

macOS 14.0 (Apple Silicon M1): Fig starts working after signing out of the current account and then signing back in.

Same here!

imarquart avatar Jan 11 '24 10:01 imarquart