Skip to content

Can't setup on Debian 13 #78

Description

@Mathildeuh

Hello, i have an issue on your project,

➜  cloudnet-webinterface git:(main) pnpm run dev


> cloudnet-webinterface@0.8.2 dev /root/cloudnet-webinterface
> next dev --turbopack

⚠ Port 3000 is in use by process 710064
710066
710067
710068
710069
710070
710071, using available port 3001 instead.
▲ Next.js 16.2.6 (Turbopack)
- Local:         http://localhost:3001
- Network:       http://192.168.1.1:3001
- Environments: .env
✓ Ready in 347ms
⚠ Warning: Next.js inferred your workspace root, but it may not be correct.
 We detected multiple lockfiles and selected the directory of /root/yarn.lock as the root directory.
 To silence this warning, set `turbopack.root` in your Next.js config, or consider removing one of the lockfiles if it's not needed.
   See https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack#root-directory for more information.
 Detected additional lockfiles:
   * /root/cloudnet-webinterface/pnpm-lock.yaml

- Experiments (use with caution):
  · clientTraceMetadata
  ✓ rootParams
  · swcPlugins

⚠ Blocked cross-origin request to Next.js dev resource /_next/webpack-hmr from "192.168.1.1".
Cross-origin access to Next.js dev resources is blocked by default for safety.

To allow this host in development, add it to "allowedDevOrigins" in next.config.js and restart the dev server:

// next.config.js
module.exports = {
  allowedDevOrigins: ['192.168.1.1'],
}

Read more: https://nextjs.org/docs/app/api-reference/config/next-config-js/allowedDevOrigins
 POST /en 200 in 1501ms (next.js: 568ms, proxy.ts: 205ms, application-code: 729ms)
 POST /en 200 in 88ms (next.js: 13ms, proxy.ts: 9ms, application-code: 65ms)
 POST /en 200 in 92ms (next.js: 12ms, proxy.ts: 8ms, application-code: 72ms)
 POST /en 200 in 92ms (next.js: 11ms, proxy.ts: 5ms, application-code: 76ms)
 POST /en 200 in 80ms (next.js: 11ms, proxy.ts: 6ms, application-code: 64ms)
 POST /en 200 in 81ms (next.js: 12ms, proxy.ts: 5ms, application-code: 64ms)
 POST /en 200 in 86ms (next.js: 11ms, proxy.ts: 7ms, application-code: 68ms)


When i login, the page reload and nothing appens. Did i do something wrong ?

Rest Module is configured like that:

{
  "maxContentLength": 5242880,
  "requestDispatchThreadLimit": 50,
  "disableNativeTransport": false,
  "corsConfig": {
    "allowedOrigins": [
      ".*"
    ],
    "allowedHeaders": [
      "*"
    ],
    "exposedHeaders": [],
    "allowCredentials": true,
    "allowPrivateNetworks": null,
    "maxAge": -1
  },
  "proxyMode": "DISABLED",
  "authConfig": {
    "jwtTokenLifetimeSeconds": 43200,
    "jwtRefreshTokenLifetimeSeconds": 259200,
    "ticketLifetimeSeconds": 15
  },
  "httpListeners": [
    {
      "host": "0.0.0.0",
      "port": 2812
    }
  ],
  "connectionInfoResolver": [],
  "sslConfiguration": null
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions