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

​Self-hosted: Link preview is not working #7979

Open
1 task done
oolxg opened this issue Aug 27, 2024 · 3 comments
Open
1 task done

​Self-hosted: Link preview is not working #7979

oolxg opened this issue Aug 27, 2024 · 3 comments

Comments

@oolxg
Copy link

oolxg commented Aug 27, 2024

What happened?

When inserting Github link to a document(Card view), it fails to preload the content

image

Distribution version

Linux

v0.16.3

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

Chrome, Other

Are you self-hosting?

  • Yes

Relevant log output

affine_selfhosted  | [Nest] 117  - 08/27/2024, 12:10:19 AM   ERROR [HTTP] Internal server error
affine_selfhosted  | NotFoundException: Cannot POST /api/worker/link-preview
affine_selfhosted  |     at callback (/app/node_modules/@nestjs/core/router/routes-resolver.js:77:19)
affine_selfhosted  |     at /app/node_modules/@nestjs/core/router/router-proxy.js:9:23
affine_selfhosted  |     at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
affine_selfhosted  |     at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)
affine_selfhosted  |     at /app/node_modules/express/lib/router/index.js:286:9
affine_selfhosted  |     at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)
affine_selfhosted  |     at next (/app/node_modules/express/lib/router/index.js:280:10)
affine_selfhosted  |     at serveStatic (/app/node_modules/serve-static/index.js:75:16)
affine_selfhosted  |     at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
affine_selfhosted  |     at trim_prefix (/app/node_modules/express/lib/router/index.js:328:13)


### 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

@Brooooooklyn @darkskygit we need to make worker a part in selfhost instance

@darkskygit
Copy link
Member

@Brooooooklyn @darkskygit we need to make worker a part in selfhost instance

will do this later

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

4 participants
@forehalo @darkskygit @oolxg and others