bug(JetBrains): Cody console has errors about self-signed certificates in certificate chain when using Cloudflare WARP
IDE Information
IntelliJ IDEA 2025.1 (Ultimate Edition) Build #IU-251.23774.435, built on April 15, 2025 Source revision: 9b2a2c261c093 Licensed to Ross C Subscription is active until September 1, 2025. Runtime version: 21.0.6+9-b895.109 aarch64 (JCEF 122.1.9) VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Toolkit: sun.lwawt.macosx.LWCToolkit macOS 15.4 Kotlin plugin: K2 mode GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation Memory: 2048M Cores: 10 Metal Rendering is ON Registry: ide.experimental.ui=true Non-Bundled Plugins: some.awesome (1.16) org.intellij.plugins.hcl (251.23774.426) com.intellij.plugins.watcher (251.23774.318) org.jetbrains.plugins.go-template (251.23774.318) PythonCore (251.23774.460) String Manipulation (9.15.0) Pythonid (251.23774.460) com.sourcegraph.jetbrains (7.86.1) izhangzhihao.rainbow.brackets (2024.2.10-241) pro.bashsupport (4.6.2.251) zielu.gittoolbox (600.1.2+243) Kotlin: 251.23774.435-IJ
Bug Description
Previously used IntelliJ with Cody while on Cloudflare WARP without issue. After recent update (I updated to IntelliJ 2025.1 and updated Cody at the same time) I see repeated errors in the Cody console as follows:
Cody: Network: req<164>: Request Finished with Error {"agent":"other","error":{"code":"SELF_SIGNED_CERT_IN_CHAIN","message":"self-signed certificate in certificate chain","stack":"Error: self-signed certificate in certificate chain\n at TLSSocket.onConnectSecure (node:_tls_wrap:1679:34)\n at TLSSocket.emit (node:events:518:28)\n at TLSSocket.emit (node:domain:489:12)\n at TLSSocket._finishInit (node:_tls_wrap:1078:8)\n at ssl.onhandshakedone (node:_tls_wrap:864:12)\n at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17)"},"protocol":"https","timeline":"start@0ms → socket@0ms → connected@22ms → error@49ms → close@49ms"}
I can confirm that the WARP CA is in my System Keychain and I do not see these errors with other system software. I do not see this error when not using WARP.
My company mandates WARP for any internal system access so it's often on while I am developing.
Additional context
This doesn't seem to affect chat functionality or general Cody behaviour, seems like a background polling job because I can't trigger it with edits/code complete/opening new files etc.