Describe the issue
I have a fully self-hosted Standard Notes installation via docker containers (sync, web and filesafe although I can't get this last one to work with my WebDav but this is a different story).
It currently works perfectly from mobile (both Android and iOS) and Windows desktop: all notes get synchronized nicely across all devices .
But I can't get the web app to work (actually it did work initially but I've changed some components in the deployment, added File Safe and now it doesn't, so, let's assume it never worked).
To Reproduce
Steps to reproduce the behavior:
- Open the browser to the domain where the standard notes web server is running (e.g. https://sn.mydomain.com)
- The application page opens
- Click on the "Account" button located at the bottom left: the sign-in / registration panel opens
- Click on Sign-in
- Enter the credentials (email, password)
- Click on Advanced Options
- Enter the Sync Server Domain name (e.g. https://sn_sync.mydomain.com)
- Click on "Sign In"
- The message "Generating Login Keys" appears for a brief moment
- The login panel closes
- The "Account" button label at the bottom left turns red
- By clicking on that button again, the login panel opens and shows a red text box saying: Sync Unreachable, Hmmm...we can't seem to sync your account. The reason: Unknown Error". The "Syncing" icon spins forever
Expected behavior
After step 8 the login panel should close and the notes should start synchronizing.
I just performed the same procedure in the Windows desktop app and it went flawlessly.
Screenshots
See here
Desktop (please complete the following information):
- Windows 10
- Tried with Firefox, Chrome and Edge
Additional context
standard notes web is deployed in a docker container with the following command:
docker run -d -p 3001:3001 --name "standard_notes_web" --env-file=standard_notes_web_env --network=mynetwork --restart always standardnotes/web:stable
The env file used by this container is:
RAILS_ENV=production
PORT=3001
WEB_CONCURRENCY=0
RAILS_LOG_TO_STDOUT=true
RAILS_SERVE_STATIC_FILES=true
SECRET_KEY_BASE=[my secret key]
APP_HOST=https://sn.mydomain.com
EXTENSIONS_MANAGER_LOCATION=extensions/extensions-manager/dist/index.html
BATCH_MANAGER_LOCATION=extensions/batch-manager/dist/index.min.html
SF_DEFAULT_SERVER=https://sn_sync.mydomain.com
# Datadog
DATADOG_ENABLED=false
Question on the web server SECRET_KEY_BASE variable: must this match the namesake env variable of the syncing server?
Thanks
S.
Describe the issue
I have a fully self-hosted Standard Notes installation via docker containers (sync, web and filesafe although I can't get this last one to work with my WebDav but this is a different story).
It currently works perfectly from mobile (both Android and iOS) and Windows desktop: all notes get synchronized nicely across all devices .
But I can't get the web app to work (actually it did work initially but I've changed some components in the deployment, added File Safe and now it doesn't, so, let's assume it never worked).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
After step 8 the login panel should close and the notes should start synchronizing.
I just performed the same procedure in the Windows desktop app and it went flawlessly.
Screenshots
See here
Desktop (please complete the following information):
Additional context
standard notes web is deployed in a docker container with the following command:
docker run -d -p 3001:3001 --name "standard_notes_web" --env-file=standard_notes_web_env --network=mynetwork --restart always standardnotes/web:stableThe env file used by this container is:
Question on the web server SECRET_KEY_BASE variable: must this match the namesake env variable of the syncing server?
Thanks
S.