Comments (9)
affine desktop client currently does not support selfhost.
Do you mean web?
from affine.
@EYHN Hello, it's not desktop, it's a self-host. I deployed Affine on Synology, and then penetrated to the external network through the Frp internal network. When accessing the external network to query cloud and other services through /graphql
, an error was thrown Forbidden resource
Forbidden resurce
is from
AFFiNE/packages/frontend/workspace-impl/src/cloud/list.ts
Lines 29 to 50 in 931c29f
from affine.
@aliuq Will it work fine without frp?
from affine.
@EYHN yeah, if running on localhost, its work
from affine.
According to the error message, it seems that you are not logged in.
Please check whether the cookie can be correctly passed to the backend server.
from affine.
@EYHN Frp just forwards the request. I don’t know if ngrok
and cloudflare tunnel
will produce the same error.
from affine.
For me it does the same with nginx - but only if I add auth_basic
(if I run it without auth_basic, all works fine)
I assume it relates to NestJS Guards?
from affine.
btw the solution for nginx is as follows:
proxy_set_header Authorization "";
🤦
from affine.
This issue seems to be resolved in the latest version, closed
from affine.
Related Issues (20)
- AFFiNE is unavailable when the network is offline. HOT 3
- Right side menu is triggered as unexpected in table view HOT 4
- Self-hosted sync problem HOT 6
- Self-hosted upload and storage limit HOT 1
- link between image will disappear after AFFINE reopen HOT 2
- Change font size of a AFFiNE Doc HOT 1
- Sync with Self-hosted Affine Docker instance HOT 1
- Distribute Affine for Linux as something not AppImage HOT 2
- Security Concern: Disable or Customize "X-Powered-By" Header HOT 6
- Page often loses mouse focus HOT 2
- Please allow shared documents content be copying HOT 4
- Issue with Self-Hosting AFFiNE and Nginx HOT 10
- Support for Mermaid.js Integration HOT 1
- Backlink in self-hosted version return 404 HOT 4
- The pop-up window close button needs to be upgraded to a higher level HOT 1
- How do I change the file storage location for my work? HOT 2
- Self hosted: Cannot sign in with the default admin credentials, keeps returning to sign in HOT 10
- Self Hosted Avatar HOT 10
- Self-hosted: Sign in email has invalid button url HOT 7
- Can't start self hosted app due to 'connect ENETUNREACH' error HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from affine.