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

Resolved 💬 5 comments Opened Nov 18, 2025 by rookoor Closed Jan 20, 2026

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 <branch-name>
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

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗