withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.05k stars 63 forks source link

Daemon: Daemon websocket error #1822

Open arunsrini3082 opened 2 years ago

arunsrini3082 commented 2 years ago

Sanity checks

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 commented 2 years ago

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 hello@fig.io!
daryll-swer commented 2 years ago

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 hello@fig.io!

brendanfalk commented 2 years ago

@grant0417

taco-chen commented 2 years ago

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 hello@fig.io!
robin-dongbin commented 1 year ago

Same

blackmatch commented 1 year ago

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" })
nac-space commented 11 months ago

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.

kerm1it commented 11 months ago

any progress ?

imarquart commented 9 months ago

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!

binaryballer33 commented 1 month ago

I ran the command fig install --daemon. it removed that error for me