HinaraH
ZITADEL4w ago
Hinara

Zitadel-Login Error "Self-signed certificate"

Hello my instance of Zitadel-login fails with an unusual error, it tells me that the connection to zitadel fails because of a self-signed certificate
   ▲ Next.js 15.4.0-canary.86
   - Local:        http://[::1]:3000
   - Network:      http://[::]:3000

 ✓ Starting...
 ✓ Ready in 669ms
getAllSessions: No session cookie found, returning empty array
Error [ConnectError]: [internal] self-signed certificate
    at h.from (.next/server/chunks/518.js:2:209608)
    at aA (.next/server/chunks/518.js:1:39566)
    at ClientHttp2Session.h (.next/server/chunks/518.js:1:47325) {
  rawMessage: 'self-signed certificate',
  code: 13,
  metadata: Headers {},
  details: [],
  [cause]: [Error: self-signed certificate] { code: 'DEPTH_ZERO_SELF_SIGNED_CERT' }
}

Thing is this error started by itself like that, and I can access my zitadel instance via API fine without any error
  zitadel-login:
    restart: unless-stopped
    image: 'ghcr.io/zitadel/zitadel-login:${ZITADEL_VERSION?error}'
    environment:
      - ZITADEL_API_URL=https://login.hinara.dev
      - NEXT_PUBLIC_BASE_PATH=/ui/v2/login
      - ZITADEL_SERVICE_USER_TOKEN=${ZITADEL_LOGIN_PAT?error}
    depends_on:
      zitadel:
        condition: service_healthy
        restart: false

I don't understand why this error happens, even tried connecting with curl from the container and everything seems to be fine.
Was this page helpful?