Closed griefie closed 1 year ago
Likely missing some env var. Double check with the latest documentation to make sure you have all the necessary variables. cc @karolsojko in case you know the exact env var related to this error.
@griefie is it possible you don't have your keys set up as in the last 3 variables in here? https://raw.githubusercontent.com/standardnotes/server/main/.env.sample
Thanks for the replies @moughxyz and @karolsojko!
I have the keys set. However with a different value. I am not sure if this makes a difference.
Here are all variables that are configured:
######
# DB #
######
DB_HOST=db
DB_PORT=3306
DB_USERNAME=*************
DB_PASSWORD=*************
DB_DATABASE=*************
DB_TYPE=mysql
#########
# CACHE #
#########
REDIS_PORT=6379
REDIS_HOST=cache
CACHE_TYPE=redis
########
# KEYS #
########
AUTH_JWT_SECRET=*************
AUTH_SERVER_ENCRYPTION_SERVER_KEY=*************
VALET_TOKEN_SECRET=*************
any chance you changed the AUTH_JWT_SECRET
, AUTH_SERVER_ENCRYPTION_SERVER_KEY
after your registered?
it seems that i did while migrating to v2... any idea how i could solve that?
Do you have your previous keys? Otherwise maybe re-registering and importing a backup?
thanks! I will try it out!
It seems that replacing the current Auth secrets with the old ones has worked and i can log in again now. Thanls for the support!
I have a self hosted V2 and it seems that i am not able to log in anymore. Already logged in clients have no issues.
Only when i try to log in i get an error on the web client that states:
"Unfortunately, we couldn't handle your request. Please try again or contact our support if the error persists."
On the desktop client it says:"Invalid authentication, please try again."
the only place where somethig is stated is in the log file:
there is nothing in the error log and docker compose logs does not help either.
would be able to tell me what to do?