hey super tokeneans. I got these "supertokens_pyth...
# support-questions-legacy
m
hey super tokeneans. I got these "supertokens_python.exceptions.GeneralError: No SuperTokens core available to query" issues after configuring super token with React and Django rest framework. can anyone help me
r
hey @meseret_14335 are you using our managed service?
m
no
r
whats the connection uri you have set?
if you visit hello API on the browser of the core, does it work?
m
r
can i see the code?
m
API_DOMAIN = env('API_DOMAIN') WEBSITE_DOMAIN = env('WEBSITE_DOMAIN') CONNECTION_URI = env('CONNECTION_URL') supertokens_config = SupertokensConfig( connection_uri=CONNECTION_URI ) app_info = InputAppInfo( app_name="AIChemy", api_domain=API_DOMAIN, website_domain=WEBSITE_DOMAIN, api_base_path="/", website_base_path="/" )
r
@KShivendu can help here.
m
Sorry to barge in @meseret_14335 and @rp_st. I'm also getting this error all of sudden. waiting for resolution here.
r
whats your connection uri @michaelliv ?
m
I think the https://try.supertokens.com/ connectrion url is not working for some countries
r
the connection uri for both are working
m
it works when I use VPN
r
oh really. which country are you from?
m
Ethiopia
r
what happens when you click on the URL above
?
m
Intersting, I'm from Israel. we are not very far from each other.
m
m
Yeah something is weird. try supertokens works for me. I'll open a new thread I guess.
r
Hmm. I VPNed into Israel and tried it, it works.
@michaelliv the dev URL you sent works for me as well.
m
hey @rp_st what should I do when I get refresh token error.
r
you will have to be more specific @meseret_14335
m
I have been logged in and when I return again to my website the access_token is expired so I have to refresh the token to get a new acess_token from super tokens.
How could I do that because I can't logged in to my dashboard. it say refresh_token error
r
please see our docs and follow the quick setup instrs. The frontend SDK should auto refresh
m
I see that. I'm curious why it raises refresh_token error
r
cause the access token has expired, and so you must refresh the session for it to continue.
m
hey @rp_st
I'm really sorry. my clients are getting mad by supertokens and by me
r
hey
im sorry to hear that
m
after completing my work on my machine and send it to my client with docker
they are getting this error on their machine using docker
Tenant(, public, public) | What caused the crash: io.supertokens.pluginInterface.exceptions.DbInitException: io.supertokens.pluginInterface.exceptions.DbInitException: java.sql.SQLException: com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: FATAL: password authentication failed for user "postgres"
r
this is a db connection issue. You must have misconfigured the db, or not provided the right db connection uri to supertokens
m
this is my configuration
- POSTGRESQL_CONNECTION_URI="postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:${POSTGRES_PORT}/${POSTGRES_DB}"
r
yea.. im not sure i can help here. The db connection issue is on your end
if you like, you can use our mananged service instead and that would remove this issue
but otherwise, since you are on self hosted, adn the db is under your control, it's on you
11 Views