standardnotes / server

Server ecosystem for Standard Notes; fully self-hostable.
https://standardnotes.com/help/self-hosting/docker
GNU General Public License v3.0
249 stars 60 forks source link

Unable to create account on self hosted web app due to mixed content rules #1042

Closed ctag closed 7 months ago

ctag commented 8 months ago

Describe the issue Hi,

The standardnotes documentation here lists self-hosting the client notes app as supported, but links to the ostensibly-defunct docker image standardnotes/web.

I can see in other forum discussion that the web docker image has been replaced by something else. Is it possible to self-host the replacement notes client app, or is the documentation on this page no longer applicable?

effieeee commented 8 months ago

Hi, the updated instructions for self-hosting with Docker are in this help article 🙏

ctag commented 8 months ago

Thank you for the response @effieeee.

I apologize but I'm still trying to wrap my head around this. That help article mentions using app.standardnotes.com with the server that is set up during the help article, which means the web-based notes app can't be self hosted?

I understand the app and server are separate, but I am hoping to host the app alongside the server. My browser blocks creating an account to the local self-hosted server because of mixed content rules, and I want to avoid setting up https and exposing the server on a domain just to use it locally.

image image

moughxyz commented 7 months ago

You can not use app.standardnotes.com to connect with your own server. This is a recent change:

app.standardnotes.com will no longer allow connections to arbitrary backends. This is a security enhancing mechanism that will prevent the main web app from being able to access external servers in the event of a theoretical XSS vulnerability. You will still however be able to connect to your server from the desktop and mobile app, and of course you can always self-host the web app.

This will be instated soon. The issue you're seeing is that https pages cannot connect to http servers.

You'll need to self-host the web app: https://github.com/standardnotes/app?tab=readme-ov-file#docker-setup

ctag commented 7 months ago

@moughxyz thank you for your response. I will look into self hosting the web app.

This question may be out of scope for this issue, but is the docker image considered current? It was last updated 2 years ago.

moughxyz commented 7 months ago

Looks like we stopped maintaining the docker image after migrating away from it internally. We will look into resupporting it now that self-hosting the web app is a more likely use case.

effieeee commented 7 months ago

Docker image is now updated with instructions on our website! https://standardnotes.com/help/self-hosting/web-app

Self hosting without Docker: https://github.com/standardnotes/app?tab=readme-ov-file#self-hosting-the-web-app

markusthiel commented 5 months ago

Docker image is now updated with instructions on our website! https://standardnotes.com/help/self-hosting/web-app

Self hosting without Docker: https://github.com/standardnotes/app?tab=readme-ov-file#self-hosting-the-web-app

It just does not work like that as you can see for example in https://github.com/standardnotes/server/issues/868