On the default docker compose setup, I get an error on login:
-
The frontend shows “Failed to fetch”.
-
The backend returns an HTTP 500 error.
curl http://localhost:7507
<title>Error</title>
Internal Server Error
Checking the backend logs:
docker compose logs admin-sh
admin-sh-1 | {"t":"2026-06-07T22:34:20.479Z","level":"info","msg":"admin-sh listening","port":7507,"composeProject":"gainium-app"}
admin-sh-1 | {"t":"2026-06-07T22:34:20.488Z","level":"info","msg":"redis connect","role":"cmd"}
admin-sh-1 | {"t":"2026-06-07T22:34:20.491Z","level":"info","msg":"enabled_exchanges already present; skipping seed"}
admin-sh-1 | {"t":"2026-06-07T22:34:58.636Z","level":"error","msg":"unhandled error"}
admin-sh-1 | TypeError: res.status is not a function
admin-sh-1 | at /app/dist/index.js:36:9
admin-sh-1 | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
admin-sh-1 | at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)
admin-sh-1 | at /app/node_modules/express/lib/router/index.js:286:9
admin-sh-1 | at router.process_params (/app/node_modules/express/lib/router/index.js:346:12)
admin-sh-1 | at next (/app/node_modules/express/lib/router/index.js:280:10)
admin-sh-1 | at cors (/app/node_modules/cors/lib/index.js:188:7)
admin-sh-1 | at /app/node_modules/cors/lib/index.js:224:17
admin-sh-1 | at originCallback (/app/node_modules/cors/lib/index.js:214:15)
admin-sh-1 | at /app/node_modules/cors/lib/index.js:219:13