https://supertokens.com/ logo
Title
a

Alex

10/03/2022, 1:34 AM
I occasionally get the error
No SuperTokens core available to query
. It fails my requests. I'm only on dev right now - hoping this doesn't happen on prod?
r

rp

10/03/2022, 1:45 AM
Hey! This shouldn’t happen in dev either. When you get this, do you have to do something to resolve if? Or just retry and it works?
a

Alex

10/03/2022, 1:49 AM
I just retry the request and it usually works. Although once or twice it hung around for a bit
r

rp

10/03/2022, 1:49 AM
Hmmmm. How much ram are you giving the core?
a

Alex

10/03/2022, 1:49 AM
It's hosted by supertokens
r

rp

10/03/2022, 1:50 AM
Ohhh. Hmm. We don’t see any errors from our side.
Maybe it’s an issue with the python server you host on your side?
For example unreliable internet connection
a

Alex

10/03/2022, 1:51 AM
I just pasted the stack trace
hmm, there should be some retry logic in the sdk or some better error messaging
r

rp

10/03/2022, 1:52 AM
Hmm. Agreed. Can you open an issue about this? We can check it out.
Are you running the python server on your local machine? Or cloud?
a

Alex

10/03/2022, 1:53 AM
Right now I'm local dev testing
r

rp

10/03/2022, 1:54 AM
Right. So this issue shouldn’t come in cloud env (for prod)
a

Alex

10/03/2022, 1:55 AM
Okay, I'll open the ticket and we can close for now if you are 100% sure :). I don't have a ton of confidence that the error doesn't say what went wrong.
r

rp

10/03/2022, 2:03 AM
I’m quite sure. Cause no one else has complained about this ever in the context of their prod env. And whenever it’s happened, it’s always due to local machine internet issues. But it’s always better to print out the network error message anyway.
So thanks for opening the issue