# Getting internal unexpected error for every prompt

**URL:** <https://forum.cursor.com/t/getting-internal-unexpected-error-for-every-prompt/165189>\
**Category:** Bug Reports\
**Created:** [July 8, 2026, 5:21pm UTC](https://forum.cursor.com/t/getting-internal-unexpected-error-for-every-prompt/165189 "2026-07-08T17:21:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paromita\_Das](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@Paromita\_Das](https://forum.cursor.com/u/Paromita_Das)\
**Post date:** [July 8, 2026, 5:21pm UTC](https://forum.cursor.com/t/getting-internal-unexpected-error-for-every-prompt/165189/1 "2026-07-08T17:21:18Z")

</div>

I am unable to use Cursor all of a sudden. Getting internal unexpected error for every prompt. Here is the request id for the last error message Request ID: 5cf89f24-4678-482c-a072-5922bb28a1ed  
[internal] self signed certificate in certificate chain  
RetriableError: [internal] self signed certificate in certificate chain  
at hdf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9066:9690)  
at Wqi (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9066:8425)  
at wcp (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9067:11962)  
at Object.classify (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9067:16467)  
at gdf (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9067:5856)  
at async fWo.runWithSharedTurnRunner (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9067:15819)  
at async xz.runAgentLoop (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20459:3067)  
at async lba.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20487:14009)  
at async lba.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20487:23432)  
at async VIe.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:9229:2399)

How to fix it? Pls suggest.

---

<div class="post-metadata">

**Author:** ![kevinn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevinn/32/101206_2.png) [@kevinn](https://forum.cursor.com/u/kevinn)\
**Post date:** [July 8, 2026, 5:40pm UTC](https://forum.cursor.com/t/getting-internal-unexpected-error-for-every-prompt/165189/6 "2026-07-08T17:40:38Z")

</div>

Hi @Paromita_Das Thank you for forum post. I looked at this request and it appears that the request never reached our servers. The `self signed certificate in certificate chain` error usually means a corporate proxy or security tool is intercepting HTTPS with a certificate Cursor does not trust.

On macOS, open **\*\*Preferences: Open User Settings (JSON)\*\*** from the Command Palette and add:

```json
"http.systemCertificates": true,

"http.experimental.systemCertificatesV2": true,

"cursor.general.disableHttp2": true

```

Fully quit and restart Cursor. Also confirm your corporate root CA is trusted in the macOS System Keychain.

If it persists, run Cursor Settings \> Network \> Run Diagnostics and ask your IT team to exclude Cursor domains from SSL inspection. See our [network configuration guide](https://cursor.com/docs/enterprise/network-configuration).

This same settings change resolved an identical issue [https://forum.cursor.com/t/164279](https://forum.cursor.com/t/164279). Let me know what Network Diagnostics reports afterward.

---

<div class="post-metadata">

**Author:** ![Daniel\_Sandler](https://avatars.discourse-cdn.com/v4/letter/d/3e96dc/32.png) [@Daniel\_Sandler](https://forum.cursor.com/u/Daniel_Sandler)\
**Post date:** [July 8, 2026, 10:21pm UTC](https://forum.cursor.com/t/getting-internal-unexpected-error-for-every-prompt/165189/7 "2026-07-08T22:21:04Z")

</div>

What can I do on my PC? Same issue.

---

<div class="post-metadata">

**Author:** ![kevinn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevinn/32/101206_2.png) [@kevinn](https://forum.cursor.com/u/kevinn)\
**Post date:** [July 8, 2026, 11:30pm UTC](https://forum.cursor.com/t/getting-internal-unexpected-error-for-every-prompt/165189/8 "2026-07-08T23:30:25Z")

</div>

Hi @Daniel_Sandler it’s probably the same root cause on Windows. The `self signed certificate in certificate chain` error usually means a corporate proxy or security tool is intercepting HTTPS with a certificate Cursor does not trust yet.

On Windows, open **Preferences: Open User Settings (JSON)** from the Command Palette (`Ctrl+Shift+P`) and add:

```json
"http.systemCertificates": true,
"http.experimental.systemCertificatesV2": true,
"cursor.general.disableHttp2": true

```

Fully quit Cursor (not just close the window) and reopen it.

If it still fails:

1. Go to Cursor Settings \> Network \> Run Diagnostics and share what fails.
2. Ask IT to exclude Cursor domains from SSL inspection: `*.cursor.sh`, `*.cursor-cdn.com`, `*.cursorapi.com` — details in the [network configuration guide](https://cursor.com/docs/enterprise/network-configuration).

If you’re in a corporate environment, confirm your corporate root CA is installed and trusted in the Windows Trusted Root Certification Authorities store (ask IT for the CA if it is missing). That is what lets Cursor pick up the corporate cert after the settings change.

---

<div class="post-metadata">

**Author:** ![kevinn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevinn/32/101206_2.png) [@kevinn](https://forum.cursor.com/u/kevinn)\
**Post date:** [July 8, 2026, 11:30pm UTC](https://forum.cursor.com/t/getting-internal-unexpected-error-for-every-prompt/165189/9 "2026-07-08T23:30:52Z")

</div>

Looks like your forum email doesn’t match a cursor email so if you want me to take a closer look please also include your cursor email 😃

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [September 3, 2026, 8:16pm UTC](https://forum.cursor.com/t/getting-internal-unexpected-error-for-every-prompt/165189/11 "2026-09-03T20:16:15Z")

</div>

Closed on September 3, 2026, 8:16pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
