Open shawnyeager opened 1 year ago
Hmm I haven't seen this before - can you run fig diagnostic
and share the output here?
Also how much free space do you have on your machine?
@mschrage: the diagnostic is included above. I have > 240 GB of free space, so definitely not that.
Can you try running: FIG_LOG_STDOUT=1 FIG_LOG_LEVEL=info fig update
Sure. Here you go:
❯ FIG_LOG_STDOUT=1 FIG_LOG_LEVEL=info fig update ✘ 1
2023-09-14T02:37:50.445159Z INFO fig_install: 178: Checking for updates...
error: io operation error. If this is unexpected, try running `fig doctor` and then try again.
~
❯ fig doctor ✘ 1
✘ Daemon diagnostics: Daemon websocket error
Reqwest error: error sending request for url (https://api.fig.io/authenticate/ticket?os=macos&arch=aarch64&cliVersion=2.16.0&manifestVersion=2.16.0&deviceId=d1790aee832c6ecbf6be8de098f22af40004fc1246482205dbd78947a108ee34%3Ashawn%40shawnyeager.com): connection error: Connection reset by peer (os error 54)
Attempting to fix automatically...
Re-running check...
✔ Daemon diagnostics
✔ Everything looks good!
Fig still not working? Run fig issue to let us know!
Or, email us at hello@fig.io!
~ 7s
❯ FIG_LOG_STDOUT=1 FIG_LOG_LEVEL=info fig update
2023-09-14T02:38:10.368026Z INFO fig_install: 178: Checking for updates...
error: io operation error. If this is unexpected, try running `fig doctor` and then try again.
2023-10-22T04:09:54.258985Z INFO fig_install: 178: Checking for updates...
2023-10-22T04:09:54.259003Z WARN fig_util::manifest: 128: Failed reading build manifest: No such file or directory (os error 2)
error: manifest not found. If this is unexpected, try running fig doctor
and then try again.
New insights based on fig doctor
updates. Does this point to a possible solution?
✘ Daemon diagnostics: Daemon websocket error
Websock next error: Protocol(ResetWithoutClosingHandshake)
Full output:
❯ fig update
error: failed to get system id. If this is unexpected, try running `fig doctor` and then try again.
~
❯ fig doctor
Let's check if you're logged in...
✔ Logged into Fig
Let's check your dotfiles...
✔ bash ~/.bashrc integration check
✔ bash ~/.profile integration check
✔ zsh ~/.zshrc integration check
✔ zsh ~/.zprofile integration check
Let's make sure Fig is setup correctly...
✔ Fig bin exists
✔ PATH contains ~/.local/bin
✔ PATH contains ~/.fig/bin
✔ Settings Corruption
✔ State Corruption
✔ Fig Integration
✔ SSH integration
Let's make sure Fig is running...
✔ Fig is running
✔ Fig socket exists
✔ Daemon
✘ Daemon diagnostics: Daemon websocket error
Websock next error: Protocol(ResetWithoutClosingHandshake)
Let's see if Fig is in a working state...
✔ Figterm
✔ Insertion lock does not exist
✔ Autocomplete dev mode
✔ Plugin dev mode
✔ Dashboard is loading from the correct URL
✔ Autocomplete is loading from the correct URL
Let's check if your system is compatible...
✔ OS is supported
✔ Fish is up to date
✔ Jetbrains Toolbox Check
Let's check fig diagnostic...
✔ Compatible shell
✔ Fig app installed in the right place
✔ Autocomplete is enabled
✔ Fig CLI path
✔ Accessibility enabled
Let's check your terminal integrations...
✔ Terminal support
Fig still not working? Run fig issue to let us know!
Or, email us at hello@fig.io!
Checks
fig doctor
in the affected terminal sessionfig restart
and replicated the issue againOperating system
macOS 13.5.1 (22G90)
Expected behaviour
I run
fig update
and fig updates. Or I click "Check for updates..." from fig UI and it updates.Actual behaviour
See attached.
Steps to reproduce
Run
fig update
or click "Check for updates..." on the fig UI menu.Environment