bolt.diy: Git Clone Fails in Bolt.diy - Proxy error
Describe the bug
I’m trying to clone a GitHub repo using bolt.diy, but I’m running into a proxy error. There’s no visible option to connect my GitHub account, which makes me wonder if I’m missing a required authentication step. The error seems to be related to a failed fetch request via the CORS proxy.
Here’s the error from the console:
Target URL: https://github.com/etsraphael/ChainBrary.git/info/refs?service=git-upload-pack
Request headers: {
accept: '*/*',
'accept-encoding': 'gzip, deflate, br, zstd',
'accept-language': 'en-GB,en;q=0.8',
connection: 'keep-alive',
host: 'github.com',
referer: 'http://localhost:5173/',
'user-agent': 'git/@isomorphic-git/cors-proxy'
}
Proxy error: TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:14152:11)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at handleProxyRequest (/Users/raphaeletang-sale/Projects/bolt.diy/app/routes/api.git-proxy.$.ts:105:22)
Link to the Bolt URL that caused the error
none
Steps to reproduce
- Run the bolt.diy project locally.
- Attempt to clone a repo via the interface using the Git URL: https://github.com/etsraphael/ChainBrary.git
- Observe the error and absence of a GitHub login prompt or connect button.
Expected behavior
I expected to either be prompted to authenticate with GitHub or for the clone operation to work directly (if anonymous access was supported).
Screen Recording / Screenshot
Platform
- OS: macOS
- Node.js: v18+
- Bolt.diy version: latest
- Browser: Chrome (latest)
Provider Used
No response
Model Used
Deepseek
Additional context
Not sure if authentication needs to be set up manually elsewhere or if this is a bug in the proxy/auth flow. Happy to test any fixes or provide more details.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 15
ok, i think we are ready to merge this PR asap.
i confirm checking out pr 1537 i can clone successfully a repository within bolt.diy without adding anything extra.