Lindo (Hannes Colt)
09/13/2022, 12:11 PMIaS1506
09/13/2022, 12:25 PMImpecorator
09/13/2022, 1:33 PMLuxaaa
09/13/2022, 3:43 PMinputWrapper: {
backgroundColor: 'var(--input-background)',
borderColor: 'var(--input-border)'
},
input: {
color: 'var(--text-color)',
}
k5o5
09/13/2022, 3:57 PMonama
09/13/2022, 4:51 PMzabr
09/13/2022, 7:33 PMzabr
09/13/2022, 7:35 PMzabr
09/13/2022, 7:38 PMHansi
09/13/2022, 9:01 PMInstalling collected packages: Werkzeug
Attempting uninstall: Werkzeug
Found existing installation: Werkzeug 2.2.2
Uninstalling Werkzeug-2.2.2:
Successfully uninstalled Werkzeug-2.2.2
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
flask 2.2.2 requires Werkzeug>=2.2.2, but you have werkzeug 2.0.3 which is incompatible.
Successfully installed Werkzeug-2.0.3
EDIT:
Recreating my virtual environment and reinstalling all my dependencies seems to have magically solved this issue.jccastro.mx
09/13/2022, 11:03 PMrp
09/14/2022, 3:53 AMweb3geek
09/14/2022, 4:40 AMshorthair_[]
09/14/2022, 9:54 AMshorthair_[]
09/14/2022, 9:54 AMn1ru4l
09/14/2022, 10:04 AM/hello
but the probe failes a few times a day with the folloing error:
Liveness probe failed: Get "http://10.244.1.77:3567/hello": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
rezaamya
09/14/2022, 11:50 AMsupertokens.init({
framework: "express",
supertokens: {
//...
},
appInfo: {
//...
},
recipeList: [
Session.init() // initializes session features
]
});
n1ru4l
09/14/2022, 1:15 PMHansi
09/14/2022, 1:52 PMapp_info
values to this:
app_info=InputAppInfo(
app_name="GG-Host",
api_domain="http://backend:8080",
website_domain="http://frontend:3000",
api_base_path="/auth",
website_base_path="/auth"
)
Running with this configuration causes the following error:
supertokens_python.exceptions.GeneralError: Since your API and website domain are different, for sessions to work, please use https on your apiDomain and don't set cookieSecure to false.
I don't want to use https, since this is all local networking within the Docker network. Changing api_domain
to use https instead resolves the error, but the sign up form still errors.Diesel
09/14/2022, 4:34 PMrp
09/14/2022, 5:16 PMHansi
09/14/2022, 6:36 PMERROR: relation "st_key_value" does not exist at character 15
STATEMENT: SELECT 1 FROM st_key_value LIMIT 1
ERROR: relation "st_all_auth_recipe_users" does not exist at character 15
STATEMENT: SELECT 1 FROM st_all_auth_recipe_users LIMIT 1
ERROR: relation "st_session_access_token_signing_keys" does not exist at character 15
STATEMENT: SELECT 1 FROM st_session_access_token_signing_keys LIMIT 1
ERROR: relation "st_session_info" does not exist at character 15
STATEMENT: SELECT 1 FROM st_session_info LIMIT 1
ERROR: relation "st_emailpassword_users" does not exist at character 15
STATEMENT: SELECT 1 FROM st_emailpassword_users LIMIT 1
ERROR: relation "st_emailpassword_pswd_reset_tokens" does not exist at character 15
STATEMENT: SELECT 1 FROM st_emailpassword_pswd_reset_tokens LIMIT 1
ERROR: relation "st_emailverification_verified_emails" does not exist at character 15
It seems SuperToken is trying to access something inside the db which is not there? Though sign up/in works and account are persistent until I rebuild the db containeridanh
09/14/2022, 6:51 PMHansi
09/14/2022, 9:29 PM@verify_session()
?gopi
09/15/2022, 7:11 AMBinouse
09/15/2022, 9:04 AMIaS1506
09/15/2022, 9:42 AMhermit908
09/15/2022, 12:33 PMAbhishek Sachdeva
09/15/2022, 2:38 PMrp
09/15/2022, 3:03 PM