claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] [Webapp] Git push failing with 504 Gateway Timeout - proxy service unresponsive

Open rookoor opened this issue 1 month ago • 3 comments

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?

Git push operations fail with 504 Gateway Timeout errors when using Claude Code webapp. All push attempts result in connection failures to the local Git proxy service, preventing any commits from being synced to the remote GitHub repository. The error persists across multiple retry attempts and the local proxy port number changes between attempts (26174 → 36877 → 63150), suggesting the service may be restarting but continues to fail.

This completely blocks the ability to push changes from the Claude Code webapp, and since there's no terminal access in the browser environment, there's no workaround available. The stop hook configured in the repository fires continuously because it detects unpushed commits, creating an infinite loop that interrupts the workflow.

What Should Happen?

Git push operations should succeed when executed from the Claude Code webapp, pushing local commits to the remote GitHub repository.

Error Messages/Logs

fatal: unable to access 'http://127.0.0.1:63150/git/JesseConstruction/80_20_SOP/': The requested URL returned error: 504
fatal: unable to access 'http://127.0.0.1:36877/git/JesseConstruction/80_20_SOP/': The requested URL returned error: 503
The port number changes between attempts (26174 → 36877 → 63150), suggesting the service may be restarting but continues to fail.

Steps to Reproduce

Open Claude Code webapp at claude.ai/code Make changes to files in a repository Commit changes locally using: git commit -m "message" Attempt to push: git push -u origin Observe 504 Gateway Timeout error Retry multiple times - error persists Check Anthropic status page - shows all systems operational

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

Webapp version (claude.ai/code) - no CLI version available in browser environment

Platform

Anthropic API

Operating System

Other

Terminal/Shell

Other

Additional Information

Timing: Issue began afternoon 11-18-25 Reproducibility: 100% - every push attempt fails Workaround: None available from webapp; would require external Git client access Service monitoring: Anthropic status page incorrectly shows all services operational Port behavior: Localhost proxy port changes between attempts (26174 → 36877 → 63150), suggesting service restarts but continued failure Stop hook: User has a git pre-stop hook that checks for unpushed commits, creating an infinite loop when push fails

rookoor avatar Nov 18 '25 21:11 rookoor

Github is currently down when this was reported.

chippwalters avatar Nov 18 '25 21:11 chippwalters

GitHub is reporting that they're recovered, so please give this another try https://www.githubstatus.com/incidents/5q7nmlxz30sk

shawnm-anthropic avatar Nov 18 '25 22:11 shawnm-anthropic

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Dec 19 '25 10:12 github-actions[bot]