withfig / fig

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

Failed to connect to socket - update also timing out #1977

Closed zacKolton closed 2 years ago

zacKolton commented 2 years ago

Checks

Operating system

macOS 12.4.0 (21F79)

Expected behaviour

Downloads update and starts

Actual behaviour

Request times out

Steps to reproduce

Try to launch fig

Environment

## NOTE: Fig is not running, run `fig launch` to get the full diagnostics
fig-details:
hardware-info:
  - model: MacBook Pro
  - model-id: MacBookPro16,1
  - chip-id: 
  - cores: 6
  - mem: 16 GB
os-info:
  - macOS 12.4.0 (21F79)
environment:
  - shell: /bin/zsh
  - terminal: terminal
  - cwd: /Users/zac.kolton
  - exe-path: /usr/local/bin/fig
  - install-method: brew
  - env-vars:
    - FIGTERM_SESSION_ID: eff97c84-0f7c-4694-9806-2b226e7dfc63
    - FIG_HOSTNAME: CP-Mac-010.local
    - FIG_TERM: 2.5.8-beta.12
    - PATH: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:/Users/zac.kolton/.fig/bin:/Users/zac.kolton/.local/bin:/Users/zac.kolton/.local/share/fig/plugins/git-extra-commands_unixorn/bin:/Users/zac.kolton/.local/share/fig/plugins/git-extra-commands_unixorn/bin
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - FIG_PID: 8637
    - FIG_PARENT: eff97c84-0f7c-4694-9806-2b226e7dfc63
    - FIG_SET_PARENT: eff97c84-0f7c-4694-9806-2b226e7dfc63
zacKolton commented 2 years ago

Additional Information

This is similar to https://github.com/withfig/fig/issues/1971. However, attempting to apply possible fixes discussed in the thread did not work.

It get stuck on this:

Screen Shot 2022-11-03 at 9 12 09 AM

zac.kolton@CP-Mac-010 ~ % fig doctor --verbose Let's check if you're logged in... ✔ Logged into Fig

Let's check your dotfiles... ✔ ~/.bashrc contains valid fig hooks ✔ ~/.profile contains valid fig hooks ✔ ~/.zshrc contains valid fig hooks ✔ ~/.zprofile contains valid fig hooks

Let's make sure Fig is setup correctly... ✔ Fig bin exists ✔ PATH contains ~/.local/bin ✔ PATH contains ~/.fig/bin ✔ Fig Integration

Let's make sure Fig is running... ✔ Fig is running ✘ Fig socket exists: Fig socket missing ✔ Daemon ✔ Daemon diagnostics

Let's see if Fig is in a working state... ✔ Figterm ✔ Insertion lock does not exist ✔ PATH and PseudoTerminal PATH match ✔ Autocomplete dev mode ✔ Plugin dev mode ✔ Mission Control is loading from the correct URL

Let's check if your system is compatible... ✔ OS is supported ✔ Fish is up to date

Let's check fig diagnostic... Failed to get context: 0: No such file or directory (os error 2)

Location: fig_cli/src/cli/diagnostics.rs:267

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it. Run with RUST_BACKTRACE=full to include source snippets.

✘ 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!

zacKolton commented 2 years ago

Never mind - just needed to restart the computer