aws / aws/amazon-q-developer-cli

Qterm Socket Check: Tried to find the socket file, but it wasn't there.

Open
#1,805 4 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

Linux 5.15.167.4-microsoft-standard-WSL2 - Ubuntu 24.04.2 LTS

### Expected behaviour

Run q in terminal to autocomplete cli

### Actual behaviour

q restart give this error: error: Please restart Amazon Q from your host machine.
q doctor always give me
Qterm Socket Check: Tried to find the socket file, but it wasn't there.

Amazon Q uses the /tmp directory for sockets.
Did you delete files in /tmp? The OS will clear it automatically.
Try making a new tab or window in your terminal, then run q doctor again.
No file at path: "/run/user/1000/cwrun/t/e9db86a924664c76b0fb75df6dd58855.sock"

I have tried in VSCode terminal and regular terminal.

### Steps to reproduce

start q and then run q doctor to try to figure out why autocomplete doesn't work

### Environment

```yaml

[q-details]
version = "1.9.1"
hash = "5d2c2807cab9bc6c9dc5fcd05f92c7a979e8a4f7"
date = "2025-04-29T06:20:37.197033Z (14d ago)"
variant = "minimal"

[system-info]
chip = "11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz"
total-cores = 8
memory = "15.23 GB"

[system-info.os.linux]
kernel_version = "5.15.167.4-microsoft-standard-WSL2"
id = "ubuntu"
name = "Ubuntu"
pretty_name = "Ubuntu 24.04.2 LTS"
version_id = "24.04"
version = "24.04.2 LTS (Noble Numbat)"

[environment]
cwd = "/home/USER/dev/codecommit/ce-cloudwatch-logs-retention"
cli-path = "/home/USER/dev/codecommit/ce-cloudwatch-logs-retention"
os = "Linux"
shell-path = "/usr/bin/zsh"
shell-version = "5.9"
terminal = "VSCode"
install-method = "unknown"
in-wsl = true

[env-vars]
DISPLAY = ":0"
PATH = "/home/USER/dev/codecommit/ce-cloudwatch-logs-retention/.venv/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/USER/bin:/home/USER/.local/bin:/usr/local/bin:/home/linuxbrew/.linuxbrew/bin:/home/USER/.vscode-server/bin/19e0f9e681ecb8e5c09d8784acaa601316ca4571/bin/remote-cli:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/USER/bin:/home/USER/.local/bin:/usr/local/bin:/home/linuxbrew/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/dotnet/:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Users/USER/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/USER/AppData/Local/Programs/Microsoft VS Code/bin:/home/USER/.local/bin:/home/USER/.vscode-server/extensions/ms-python.debugpy-2025.8.0/bundled/scripts/noConfigScripts:/home/USER/.vscode-server/data/User/globalStorage/github.copilot-chat/debugCommand"
QTERM_SESSION_ID = "e9db86a924664c76b0fb75df6dd58855"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.9.1"
SHELL = "/usr/bin/zsh"
TERM = "xterm-256color"
ZDOTDIR = "/home/USER"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.