cline
cline copied to clipboard
Cline AI is not responding for prompts
Getting below error for any simple prompt in Cline AI through Visual Studio Code:
[ERROR] Failed to process response: The pending stream has been canceled (caused by: self signed certificate in certificate chain) Cline is having trouble... This may indicate a failure in his thought process or inability to use a tool properly, which can be mitigated with some user guidance (e.g. "Try breaking down the task into smaller steps").
Hi @ppasupul! I'm Dosu and I’m helping the cline team.
This error happens because Cline AI uses Axios for HTTP requests, which does not trust self-signed certificates by default—so any endpoint (like a custom MCP server) with a self-signed cert will be rejected unless your system trusts it. There’s no built-in way in Cline to bypass or trust self-signed certs, so you’ll need to either add your certificate to your system’s trusted store or set the NODE_EXTRA_CA_CERTS environment variable to point to your CA file if you want to proceed with a self-signed cert. These workarounds are not officially documented or supported by Cline, but they follow standard Node.js/VSCode practices details.
If you’re using a public or production API, make sure it uses a valid CA-signed certificate. If you’re running into persistent issues, clearing the VSCode cache and reinstalling the Cline extension has resolved similar problems for others example steps.
To get more details on the error, open VS Code, press Ctrl+Shift+P (or Cmd+Shift+P on Mac), run “Developer: Toggle Developer Tools,” and check the Console tab for logs how-to. This can help pinpoint if the certificate is the root cause.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other
Im getting the error when prompting to cline ai in visual studio code from my laptop. How to Add your certificate to system’s trusted store and also how to find where is my CA file located in my laptop to configure env variable "NODE_EXTRA_CA_CERTS"
Your response is much appreciated
Hi @ppasupul , what provider and model are you using, when you're receiving this error? Additionally, if you have any screenshots of what you're seeing, that would give us more context around your issue. Thanks!
Hi Kevin,
We use “Amazon Bedrock” as API provider, with the model as anthropic.claude-sonnet-4-20250514-v1:0. However, we are consistently encountering the error mentioned in below screenshot for all prompts: To validate, we also tested with a very basic prompt - “Write a simple code to print hello world in Python” — and the same error was returned.
@.*** @.***
Regards, Prasad
From: kevinneung @.> Sent: Thursday, June 12, 2025 3:16 AM To: cline/cline @.> Cc: Prasad Pasupuleti @.>; Mention @.> Subject: Re: [cline/cline] Cline AI is not responding for prompts (Issue #4168)
WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros. [https://avatars.githubusercontent.com/u/94151024?s=20&v=4]kevinneung left a comment (cline/cline#4168)https://github.com/cline/cline/issues/4168#issuecomment-2964371772
Hi @ppasupulhttps://github.com/ppasupul , what provider and model are you using, when you're receiving this error? Additionally, if you have any screenshots of what you're seeing, that would give us more context around your issue. Thanks!
— Reply to this email directly, view it on GitHubhttps://github.com/cline/cline/issues/4168#issuecomment-2964371772, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVXJ5BMYM6KWRQWXLJWEYXT3DCPQ5AVCNFSM6AAAAAB7DH44LCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDSNRUGM3TCNZXGI. You are receiving this because you were mentioned.Message ID: @.@.>>
Hi Kevin,
We use “Amazon Bedrock” as API provider, with the model as anthropic.claude-sonnet-4-20250514-v1:0. However, we are consistently encountering the error mentioned in below screenshot for all prompts: To validate, we also tested with a very basic prompt - “Write a simple code to print hello world in Python” — and the same error was returned.
I was encountering the same issue today after upgrading to Cline v3.17.12 in VS Code. Rolling back to Cline 3.17.11 got me working again.
Is this a bug in 3.17.12 version? Any workarounds by sticking to 3.17.12 version?
Same issue ever since >=3.17.12. Using AWS Bedrock.
I've set NODE_EXTRA_CA_CERTS and still have the same issue. Rolling back to Version 3.17.11 seems to fix it.
Ditto. Also seeing the self signed cert errors when connecting to AWS Bedrock and selecting multiple Claude models. We have multiple users seeing the same issue.
When setting NODE_EXTRA_CA_CERTS, I could change the error from the self signed certificate error listed above to: "[ERROR] Failed to process response: Protocol Error"
Reverting to 3.17.11 resolved both issues.
When is the fix planned for this?
Exact same error here, Roocode. Restarted my project 3 times already and keep running into the same error.
Seconding. AWS auth not working with latest but works with 3.17.11 so there seems to be a depreciation there
I'm not sure if will help anyone that could work on this, but I'm seeing this error in the Developer logs related to this topic.
index.js:82 [ChatView] handleSendMessage - Sending message: test
console.ts:137 [Extension Host] [MCP Debug] Notification callback set
console.ts:137 [Extension Host] [DEBUG] sending followup state to controller f622e219-8587-4b06-a3ea-c7772f972824 78344 chars
index.js:44 [DEBUG] parsed state JSON, updating state
index.js:44 [DEBUG] returning new state in ESC
index.js:44 [DEBUG] ended "got subscribed state"
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:a12b5355-5089-4d82-932d-22b8f33670dc
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:a12b5355-5089-4d82-932d-22b8f33670dc
console.ts:137 [Extension Host] [DEBUG] sending followup state to controller f622e219-8587-4b06-a3ea-c7772f972824 78881 chars
index.js:44 [DEBUG] parsed state JSON, updating state
index.js:44 [DEBUG] ended "got subscribed state"
index.js:44 [DEBUG] returning new state in ESC
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:ac2e7356-f7af-41d3-94fc-9711648f6e66
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:ac2e7356-f7af-41d3-94fc-9711648f6e66
index.js:44 [DEBUG] parsed state JSON, updating state
index.js:44 [DEBUG] returning new state in ESC
index.js:44 [DEBUG] ended "got subscribed state"
console.ts:137 [Extension Host] [DEBUG] sending followup state to controller f622e219-8587-4b06-a3ea-c7772f972824 79036 chars
console.ts:137 [Extension Host] Creating new CheckpointTracker for task 1751893408878
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:cd38a45a-fb6a-4f62-a846-d06c09872a03
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:cd38a45a-fb6a-4f62-a846-d06c09872a03
console.ts:137 [Extension Host] Initializing shadow git
console.ts:137 [Extension Host] Using existing shadow git at /Users/458674/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/checkpoints/498886947/.git
J1s @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
B @ event.ts:1219
fire @ event.ts:1250
fire @ ipc.net.ts:652
l.onmessage @ localProcessExtensionHost.ts:382
console.ts:137 [Extension Host] Creating new checkpoint commit for task 1751893408878
console.ts:137 [Extension Host] Using shadow git at: /Users/458674/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/checkpoints/498886947/.git
console.ts:137 [Extension Host] Starting checkpoint add operation...
console.ts:137 [Extension Host] Creating checkpoint commit with message: checkpoint-498886947-1751893408878
console.ts:137 [Extension Host] Checkpoint commit created: 508121df97eeaa3da5cb4fd11ed6588bcc75152d
J1s @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
B @ event.ts:1219
fire @ event.ts:1250
fire @ ipc.net.ts:652
l.onmessage @ localProcessExtensionHost.ts:382
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:03d05e56-06ff-4382-954a-121e865b0453
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:03d05e56-06ff-4382-954a-121e865b0453
console.ts:137 [Extension Host] [DEBUG] sending followup state to controller f622e219-8587-4b06-a3ea-c7772f972824 79127 chars
index.js:44 [DEBUG] parsed state JSON, updating state
index.js:44 [DEBUG] returning new state in ESC
index.js:44 [DEBUG] ended "got subscribed state"
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:be4e1a48-abcd-4063-ad36-097fae8b3f12
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:be4e1a48-abcd-4063-ad36-097fae8b3f12
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:12ace17d-d0cd-48e6-895e-2531912e09e6
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:12ace17d-d0cd-48e6-895e-2531912e09e6
console.ts:137 [Extension Host] [DEBUG] sending followup state to controller f622e219-8587-4b06-a3ea-c7772f972824 80491 chars
index.js:44 [DEBUG] parsed state JSON, updating state
index.js:44 [DEBUG] returning new state in ESC
index.js:44 [DEBUG] ended "got subscribed state"
log.ts:460 ERR [Extension Host] Error processing Converse API response: Error: Protocol error
at Http2Session.onSessionInternalError (node:internal/http2/core:815:26)
at Http2Session.callbackTrampoline (node:internal/async_hooks:130:17)
error @ log.ts:460
error @ log.ts:565
error @ logService.ts:51
Y1s @ remoteConsoleUtil.ts:58
$logExtensionHostMessage @ mainThreadConsole.ts:38
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
B @ event.ts:1219
fire @ event.ts:1250
fire @ ipc.net.ts:652
l.onmessage @ localProcessExtensionHost.ts:382
console.ts:137 [Extension Host] Error processing Converse API response: Error: Protocol error
at Http2Session.onSessionInternalError (node:internal/http2/core:815:26)
at Http2Session.callbackTrampoline (node:internal/async_hooks:130:17)
J1s @ console.ts:137
$logExtensionHostMessage @ mainThreadConsole.ts:39
S @ rpcProtocol.ts:458
Q @ rpcProtocol.ts:443
M @ rpcProtocol.ts:373
L @ rpcProtocol.ts:299
(anonymous) @ rpcProtocol.ts:161
B @ event.ts:1219
fire @ event.ts:1250
fire @ ipc.net.ts:652
l.onmessage @ localProcessExtensionHost.ts:382
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:85c76327-72a6-4a5f-b44a-18686baf09f6
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:85c76327-72a6-4a5f-b44a-18686baf09f6
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:45497b34-30fb-498d-a34d-67c5cd4d56ce
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:45497b34-30fb-498d-a34d-67c5cd4d56ce
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:0b47456e-ee64-4829-a4bd-c405408bee81
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:0b47456e-ee64-4829-a4bd-c405408bee81
index.js:44 [DEBUG] parsed state JSON, updating state
index.js:44 [DEBUG] returning new state in ESC
index.js:44 [DEBUG] ended "got subscribed state"
console.ts:137 [Extension Host] [DEBUG] sending followup state to controller f622e219-8587-4b06-a3ea-c7772f972824 80781 chars
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:c1c1cb92-2a92-447b-93d6-7fbf6ed2210c
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:c1c1cb92-2a92-447b-93d6-7fbf6ed2210c
console.ts:137 [Extension Host] [DEBUG] sending followup state to controller f622e219-8587-4b06-a3ea-c7772f972824 80782 chars
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:392ef825-3230-442b-8de0-f0b1e011b5e7
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:392ef825-3230-442b-8de0-f0b1e011b5e7
index.js:44 [DEBUG] parsed state JSON, updating state
index.js:44 [DEBUG] returning new state in ESC
index.js:44 [DEBUG] ended "got subscribed state"
index.js:44 [DEBUG] parsed state JSON, updating state
index.js:44 [DEBUG] returning new state in ESC
index.js:44 [DEBUG] ended "got subscribed state"
console.ts:137 [Extension Host] [DEBUG] sending followup state to controller f622e219-8587-4b06-a3ea-c7772f972824 81978 chars
console.ts:137 [Extension Host] [DEBUG] gRPC host call to host.WorkspaceService.getWorkspacePaths req:c1451d06-3678-4565-99eb-7b98d7274097
console.ts:137 [Extension Host] [DEBUG] gRPC host resp to host.WorkspaceService.getWorkspacePaths req:c1451d06-3678-4565-99eb-7b98d7274097
console.ts:137 [Extension Host] [DEBUG] sending followup state to controller f622e219-8587-4b06-a3ea-c7772f972824 83143 chars
index.js:44 [DEBUG] parsed state JSON, updating state
index.js:44 [DEBUG] returning new state in ESC
index.js:44 [DEBUG] ended "got subscribed state"
index.html:1 Access to fetch at 'https://data.cline.bot/e/?ip=1&_=1751893410846&ver=1.224.1' from origin 'vscode-webview://1tk03p5kiktgogs5kegl0s9fo20fiddee5h1rooje0a1outl8h8k' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
index.js:4743