Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger "Internal server error" during connecting the server in affine app. #10644

Open
1 task done
Resery opened this issue Mar 6, 2025 · 3 comments
Open
1 task done

Comments

@Resery
Copy link

Resery commented Mar 6, 2025

What happened?

The log of the affine server:

NotFoundException: Cannot POST /api/auth/preflight

    at callback (/app/node_modules/@nestjs/core/router/routes-resolver.js:77:19)

    at /app/node_modules/@nestjs/core/router/router-proxy.js:9:23

    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)

    at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)

    at /app/node_modules/express/lib/router/index.js:286:9

    at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)

    at next (/app/node_modules/express/lib/router/index.js:280:10)

    at serveStatic (/app/node_modules/serve-static/index.js:75:16)

    at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)

    at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)

Distribution version

FnOs x64 (Intel)

What browsers are you seeing the problem on if you're using web version?

No response

Are you self-hosting?

  • Yes

Relevant log output

Anything else?

No response

@affine-issue-bot
Copy link

Issue Status: 🆕 *Untriaged

*🆕 Untriaged

The team has not yet reviewed the issue. We usually do it within one business day.
Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.

@forehalo
Copy link
Member

forehalo commented Mar 6, 2025

looks like you are trying to connect to a very old selfhost server, plz upgrade it first

@Resery
Copy link
Author

Resery commented Mar 6, 2025

looks like you are trying to connect to a very old selfhost server, plz upgrade it first

Thanks for you reply. I will try this method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 *Untriaged
Development

No branches or pull requests

2 participants