anthropics / anthropics/claude-code
login Session bug
- Ngôn ngữ chính
- Python
- Star
- 145k
- Fork
- 23.1k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
### Preflight Checklist
- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
### What's Wrong?
Also hitting this on Ubuntu (Claude desktop app), same error:
{"type":"error","error":{"type":"permission_error","message":"Session is not fresh
enough to grant elevated access. Sign in again to continue.","details":
{"error_code":"session_stale_relogin"}},"request_id":"req_011CeuwL63H4edrzQjo9EzvB"}
Happened again after re-authenticating twice, so re-login isn't a lasting fix on my
end either. Would appreciate a silent token refresh or at minimum a heads-up
notification before force-logout, as requested above.
Claude desktop app version: [check Settings → About, or Help menu]
OS: Ubuntu [run `lsb_release -a` for exact version]
### What Should Happen?
Happened again after re-authenticating twice, so re-login isn't a lasting fix on my
end either. Would appreciate a silent token refresh or at minimum a heads-up
notification before force-logout, as requested above.
### Error Messages/Logs
```shell
Unable to start session. Authentication failed (403): {"type":"error","error":{"type":"permission_error","message":"Session is not fresh enough to grant elevated access. Sign in again to continue."
```
### Steps to Reproduce
1. uSe claude code
2. After few mins this occurring
### Claude Model
Not sure / Multiple models
### Is this a regression?
Yes, this worked in a previous version
### Last Working Version
_No response_
### Claude Code Version
2.1.111
### Platform
Anthropic API
### Operating System
Ubuntu/Debian Linux
### Terminal/Shell
WSL (Windows Subsystem for Linux)
### Additional Information
_No response_
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
No source file or test is identified in the report. Start by reproducing the failure with Claude Code 2.1.111 on Ubuntu/Debian under WSL, recording the exact version with `lsb_release -a` and the `session_stale_relogin` response. Done means the recurring authentication failure is resolved or users receive the requested warning before forced reauthentication.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- linux, ubuntu
- Lĩnh vực
- authentication, operating-systems
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100