[BUG] Resource not accessible by integration" 403, GitHub
Preflight Checklist
- [x] I have searched existing issues 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?
Claude Code on the web(Cowork) 세션에서 GitHub 저장소(zzmm8029-max/-)에
git push를 시도하면 계속 403 Forbidden이 발생합니다.
- git push 시: "The requested URL returned error: 403" (git-receive-pack만 403,
git-upload-pack/fetch는 정상 200)
- GitHub MCP 도구(push_files)로 시도해도 동일하게 실패:
"403 Resource not accessible by integration"
claude.ai 설정 > 커넥터에서 GitHub 연동은 "연결됨" 상태로 표시되고,
연결 해제 후 재연결도 해봤지만 동일합니다.
GitHub 계정 설정(Settings > Applications > Installed GitHub Apps,
Authorized OAuth Apps)에는 이 연동에 해당하는 앱이 전혀 보이지 않아서,
사용자가 직접 저장소 쓰기 권한을 확인하거나 수정할 방법이 없습니다.
읽기(fetch, get_file_contents, get_me 등)는 모두 정상 동작하고
쓰기(push)만 막혀 있습니다.
What Should Happen?
Claude Code 세션이 저장소에 쓰기 권한(git push, GitHub API를 통한 파일 생성/수정)을
정상적으로 사용할 수 있어야 합니다. 최소한 다음 중 하나가 필요합니다:
- 이 GitHub 연동에 쓰기 권한이 정상적으로 부여되도록 백엔드 설정을 고치거나,
- 사용자가 claude.ai 커넥터 화면 또는 GitHub 계정 설정에서 직접 쓰기 권한
여부를 확인/부여할 수 있는 UI를 제공해주세요.
Error Messages/Logs
$ git push -u origin claude/honjacs-intro-site-3ai1af 2>&1
Exit code 128
fatal: unable to access 'http://127.0.0.1:41729/git/zzmm8029-max/-/': The requested URL returned error: 403
Steps to Reproduce
- Claude Code on the web(Cowork)에서 GitHub 저장소 zzmm8029-max/- 를
소스로 연결하여 새 세션을 시작한다.
- 세션 내에서 파일을 생성하고 git commit을 만든다.
- 다음 명령으로 push를 시도한다:
git push -u origin <branch-name>
- 결과: "fatal: unable to access '.../git/zzmm8029-max/-/':
The requested URL returned error: 403" 로 실패한다.
- GitHub MCP 도구(push_files)로 동일한 저장소에 파일 생성을 시도해도
"403 Resource not accessible by integration" 로 동일하게 실패한다.
- 같은 세션에서 git fetch/ls-remote, GitHub MCP의 get_file_contents,
get_me 등 읽기 동작은 모두 정상 작동한다 (200 OK) — 쓰기만 막힘.
- claude.ai > 설정 > 커넥터 > GitHub 연동에서 "연결 해제" 후 재연결해도
동일한 세션에서는 여전히 403이 발생한다.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.211 (Claude Code)
Platform
Anthropic API
Operating System
Other Linux
Terminal/Shell
Other
Additional Information
- 실행 환경: Claude Code on the web (Cowork), 원격 컨테이너 세션
(Linux vm 6.18.5, x86_64)
- 저장소: https://github.com/zzmm8029-max/-
- claude --version: 2.1.211 (Claude Code)
- 관련 스크린샷: claude.ai 커넥터 > GitHub 연동 화면(연결됨 상태),
GitHub 계정 설정 > Installed GitHub Apps / Authorized OAuth Apps
(둘 다 Claude/Anthropic 항목 없음, Supabase만 존재)
(세션 내부 git 프록시, insteadOf 규칙으로 github.com 요청이 자동 리라이트됨)