Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
[V] I have searched budibase discussions and github issues to check if my issue already exists
Hosting
Self
Method: Docker compose
Budibase Version: latest
App Version: latest
Describe the bug
When trying to login, I have an error "Invalid initialization vector".
Here is the stacktrace from the bbworker:
bbworker | {"level":"WARN","timestamp":"2024-08-24T10:11:02.738Z","service":"@budibase/worker","err":{"type":"TypeError","message":"Invalid initialization vector","stack":"TypeError: Invalid initialization vector\n at Decipheriv.createCipherBase (node:internal/crypto/cipher:121:19)\n at Decipheriv.createCipherWithIV (node:internal/crypto/cipher:140:3)\n at new Decipheriv (node:internal/crypto/cipher:289:3)\n at Object.createDecipheriv (node:crypto:155:10)\n at decrypt (/app/dist/index.js:135589:43)\n at checkApiKey (/app/dist/index.js:135719:21)\n at /app/dist/index.js:135793:50\n at dispatch (/app/node_modules/koa-compose/index.js:42:32)\n at /app/node_modules/@koa/router/lib/router.js:368:16\n at dispatch (/app/node_modules/koa-compose/index.js:42:32)\n at /app/node_modules/koa-compress/lib/index.js:38:11\n at dispatch (/app/node_modules/koa-compose/index.js:42:32)\n at /app/node_modules/@koa/router/lib/router.js:368:16\n at dispatch (/app/node_modules/koa-compose/index.js:42:32)\n at errorHandling (/app/dist/index.js:140306:11)\n at dispatch (/app/node_modules/koa-compose/index.js:42:32)","code":"ERR_CRYPTO_INVALID_IV","expose":true,"statusCode":403,"status":403},"pid":28,"tenantId":"default","correlationId":"2a3a8baa-cf00-41cb-9ab9-debdb5459426","msg":""}
To Reproduce
Steps to reproduce the behavior:
Follow the install method of the doc for docker-compose
Run it
Try to connect
See error in log, and you're redirected to the login screen
Expected behavior
Being able to login
Additional context
My installation is behind a reverse proxy (swag, so nginx). But I don't think it matters as the error is from nodeJS.
Checklist
Hosting
Describe the bug When trying to login, I have an error "Invalid initialization vector".
Here is the stacktrace from the bbworker:
To Reproduce Steps to reproduce the behavior:
Expected behavior Being able to login
Additional context My installation is behind a reverse proxy (swag, so nginx). But I don't think it matters as the error is from nodeJS.