anthropics / anthropics/claude-code

[Bug] Claude Sonnet refuses to generate network monitoring code

Đang mở
#89,649 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:mcp area:model bug platform:macos
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

**Bug Description**
Sonnet refused to write the network monitoring code it insisted I needed to debug the network stream corruption we've been getting on GCP compute instances.

**Environment Info**
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 2.1.238
- Feedback ID: d2493922-0aa5-4e98-b6ab-9dd3ced34899

**Errors**
```json
[{"error":"Error: Streamable HTTP error: Error POSTing to endpoint: {\"type\":\"error\",\"error\":{\"type\":\"permission_error\",\"message\":\"MCP server returned 403 Forbidden. The request may have been blocked by a firewall or security service.\",\"details\":{\"error_code\":\"mcp_request_blocked\"}},\"request_id\":\"req_011CeQ7QBqh4W7irLrpDWdqr\"}\n at send (/$bunfs/root/cli:3105:6002)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-08-25T20:38:33.511Z"},{"error":"Error: Streamable HTTP error: Error POSTing to endpoint: {\"type\":\"error\",\"error\":{\"type\":\"permission_error\",\"message\":\"MCP server returned 403 Forbidden. The request may have been blocked by a firewall or security service.\",\"details\":{\"error_code\":\"mcp_request_blocked\"}},\"request_id\":\"req_011CeQ7Qdpe2inKMCPFHVCKG\"}\n at send (/$bunfs/root/cli:3105:6002)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-08-25T20:38:39.577Z"},{"error":"Error: Streamable HTTP error: Error POSTing to endpoint: {\"id\":2,\"jsonrpc\":\"2.0\",\"result\":{\"content\":[{\"text\":\"Request had insufficient authentication scopes.\",\"type\":\"text\"}],\"isError\":true}}\r\n at send (/$bunfs/root/cli:3105:6002)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-08-25T20:39:49.721Z"},{"error":"Error: Streamable HTTP error: Error POSTing to endpoint: {\"type\":\"error\",\"error\":{\"type\":\"permission_error\",\"message\":\"MCP server returned 403 Forbidden. The request may have been blocked by a firewall or security service.\",\"details\":{\"error_code\":\"mcp_request_blocked\"}},\"request_id\":\"req_011CeQ7WgW38qb5JjN7oHkxd\"}\n at send (/$bunfs/root/cli:3105:6002)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-08-25T20:40:01.559Z"},{"error":"Error: Streamable HTTP error: Error POSTing to endpoint: {\"id\":5,\"jsonrpc\":\"2.0\",\"result\":{\"content\":[{\"text\":\"Request had insufficient authentication scopes.\",\"type\":\"text\"}],\"isError\":true}}\r\n at send (/$bunfs/root/cli:3105:6002)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-08-25T20:52:29.669Z"},{"error":"Error: Streamable HTTP error: Error POSTing to endpoint: {\"id\":6,\"jsonrpc\":\"2.0\",\"result\":{\"content\":[{\"text\":\"Request had insufficient authentication scopes.\",\"type\":\"text\"}],\"isError\":true}}\r\n at send (/$bunfs/root/cli:3105:6002)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-08-25T20:52:47.423Z"}]
```

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, test, or entry point is named. Start by reproducing the reported MCP Streamable HTTP requests and compare the refusal with the logged 403 and insufficient-scope responses. Done requires identifying whether Claude Code has a client-side failure to address or whether the block is external to the project.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
gcp
Lĩnh vực
authentication, cloud, security
Loại issue
Lỗi
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
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
20/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.