-
Notifications
You must be signed in to change notification settings - Fork 200
Description
Component(s)
cli
Component version
Latest
wgc version
Latest
controlplane version
NA
router version
NA
What happened?
ConnectError: [internal] self-signed certificate in certificate chain
at ConnectError.from (file:///opt/homebrew/lib/node_modules/wgc/node_modules/@connectrpc/connect/dist/esm/connect-error.js:71:20)
at connectErrorFromNodeReason (file:///opt/homebrew/lib/node_modules/wgc/node_modules/@connectrpc/connect-node/dist/esm/node-error.js:52:29)
at ClientRequest.reject (file:///opt/homebrew/lib/node_modules/wgc/node_modules/@connectrpc/connect-node/dist/esm/node-universal-client.js:293:63)
at ClientRequest.emit (node:events:508:28)
at emitErrorEvent (node:_http_client:108:11)
at TLSSocket.socketErrorListener (node:_http_client:575:5)
at TLSSocket.emit (node:events:508:28)
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21) {
rawMessage: 'self-signed certificate in certificate chain',
code: 13,
metadata: Headers {},
details: [],
cause: Error: self-signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:internal/tls/wrap:1630:34)
at TLSSocket.emit (node:events:508:28)
at TLSSocket._finishInit (node:internal/tls/wrap:1076:8)
at ssl.onhandshakedone (node:internal/tls/wrap:862:12) {
code: 'SELF_SIGNED_CERT_IN_CHAIN'
}
}
╭────────────────────────────────────────────────────────────────╮
│ │
│ Please try the below steps to solve the issue │
│ │
│ [1] Upgrade to the latest version: │
│ npm i -g wgc@latest │
│ [2] If it persists, please open an issue: │
│ https://github.com/wundergraph/cosmo/issues/new/choose │
│ │
╰────────────────────────────────────────────────────────────────╯
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Package Manager: pnpm, npm, yarn, etc
Compiler(if manually compiled): (e.g., "go 14.2")
Router configuration
Router execution config
Log output
Additional context
No response