-
Notifications
You must be signed in to change notification settings - Fork 7.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git Clone Fails in Bolt.diy - Proxy error #1552
Comments
UPDATE: I foud out a way to connect from the "Connection" view in the settings. But I still have this issue when I'm trying to clone any project: ![]() The response in detail is here:
And this is the error logged:
|
Issue happens because the duplex option was removed and nodejs requires duplex 'half' value for standard HTTP requests. Add in api.git-proxy.$.ts inside the if statement at line 118 Should fix the issue. |
Looks like a bug then. @Stijnus can you take a look? |
Hi @etsraphael , @treicadani can you test the PR : #1537 To see if this resolves your issue... Thx, Br, Stijnus |
I pulled it, and now this is the new issue:
The response from the API is different:
|
ok, thank you for your feedback i will look into it what repo you want to clone? |
I have made some changes could you test once more please? |
I still have the same issue even after getting your two commits. Is it working on your side?
|
i have tested again and its working on my side... |
What's your OS and browser? |
im using chrome and Macos Chrome is up to date System Version: macOS 15.4 (24E246) |
I pulled the latest code from main branch to test and tried to pull a private git repo you get this error
adding the half duplex to the git proxy allows it to pull the code. |
I have updated my PR and added the changes to the api.git.proxy Can you test one more time, please? Thx, Br, Stijnus |
ok, i think we are ready to merge this PR asap. |
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:
Link to the Bolt URL that caused the error
none
Steps to reproduce
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
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.
The text was updated successfully, but these errors were encountered: