Connection failed (Ctrl-K/inline)
Brand new user - still in Pro trial period.
Sidebar chat (ctrl-L) works fine -- inline chat (ctrl-K) results in "Connection Failed". Using default model settings and no personal accounts/keys.
Windows 11 Business Version: 0.40.1 VSCode Version: 1.91.1 Commit: 58b91712431381a1b75817cd3437cee35dddcb30 Date: 2024-08-24T02:52:24.035Z Electron: 29.4.0 ElectronBuildId: undefined Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Windows_NT x64 10.0.22631
Same issue with 0.40.3
I wanted to share a solution I found.
My company environment: Uses a separate network.
Since I heard Cursor uses HTTP/2, I suspected this might be the issue.
Disabling HTTP/2 in the settings resolved the problem and made the previously non-working code functional.
I wanted to share a solution I found.我想分享我找到的解决方案。
My company environment: 我公司环境: Uses a separate network. 使用单独的网络。
Since I heard Cursor uses HTTP/2, I suspected this might be the issue.由于我听说 Cursor 使用 HTTP/2,我怀疑这可能是问题所在。
Disabling HTTP/2 in the settings resolved the problem and made the previously non-working code functional.在设置中禁用 HTTP/2 解决了问题,并使之前无法工作的代码正常工作。
how to disable HTTP/2. Can u teach me?
Found 'Disable Http2' in IDE settings by searching 'HTTP'.
Did it work for you too?
Found 'Disable Http2' in IDE settings by searching 'HTTP'.
Did it work for you too?
![]()
thank u very much. it worked and i have another problem. why this function is not worked in SSH
I'm experiencing the same error.
But if you retry and then restart your IDE, the codebase search actually works fine.
Try this:
- Use Command + L to enter the interactive chat mode in your code editor
- Type in your question
- Hit Command + Enter
And then plase share ur result.
I'm experiencing the same error.
But if you retry and then restart your IDE, the codebase search actually works fine.
Try this:
- Use Command + L to enter the interactive chat mode in your code editor
- Type in your question
- Hit Command + Enter
And then plase share ur result.
i know how to fix it. i use clash in linux and it fixed.
Found 'Disable Http2' in IDE settings by searching 'HTTP'.
Did it work for you too?
![]()
that's work for me ,thanks