server icon indicating copy to clipboard operation
server copied to clipboard

Failed to uploads files to my self-hosted standard notes server

Open frank-stonybrook opened this issue 1 year ago • 1 comments

Hi,

I have successfully installed the standard notes docker containers and can verify both desktop app and web app can use my own server to sync notes. I had activated the offline plan, however when I tested the upload function, I got the following error on my web browser:

Screenshot

The masked part is my file server public address and matched the PUBLIC_FILES_SERVER_URL variable in the .env file.

I am using a nginx reverse proxy to listen on the 443 port of my public facing IP and redirect it to the 3125 port on my server which host the standard note container.

Can someone help me figure out where I might do wrong? Thanks!

frank-stonybrook avatar Dec 22 '23 02:12 frank-stonybrook

Looking at the ...due to access control checks seems like an nginx configuration issue with CORS?

Maybe this could help: https://stackoverflow.com/a/35553666

karolsojko avatar Dec 27 '23 11:12 karolsojko