I'm getting an error access supertokens db
# general
f
I'm getting an error access supertokens db
r
Hey @funk101 what’s the error?
f
sorry
r
You shouldn’t be querying the dev db directly though
f
even for dev purposes?
anyway, it's happening in my web app as well
never got this error before
r
Right. Give us some time. We did a db migration in dev instance today.
f
ah, ok
r
But supertokens instance in dev should still work
Just direct access to the dev db is affected
f
this from my web app nextjs
Copy code
error:  pgConnect: Error: getaddrinfo EAI_AGAIN us-east-1-cluster-dev-1.cluster-cef2h4iyk59c.us-east-1.rds.amazonaws.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
log file
r
Ok thanks
We will fix it within 24 hours.
f
ok, np
thanks
r
Thanks
f
is UserManagement down too?
r
Nope. That should work. Everything else should be working
f
hmm, I'm getting this
Copy code
Server Error:

Failed to load user list. Please refresh to try again.
r
Can you check the backend for error logs?
f
Copy code
error - Error: SuperTokens core threw an error for a GET request to path: '/users' with status code: 500 and message: Internal Error

    at Querier.<anonymous> (G:\Documents\Projects\LaCasting-BitBucket-Repo\lacastinginc\node_modules\supertokens-node\lib\build\querier.js:252:31)
    at Generator.throw (<anonymous>)
    at rejected (G:\Documents\Projects\LaCasting-BitBucket-Repo\lacastinginc\node_modules\supertokens-node\lib\build\querier.js:22:44)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {      
  page: '/api/auth/[[...path]]'
}
r
I see. Ok thanks. We will check it out
f
k
r
Can you please dm me your email you used to sign up for supertokens service?
f
jeff@lacastinginc.com
r
Thanks
hey @funk101 can you please visit the supertokens.com dashbaord and check your connection info for the postgresql db? They may have changed after we did the migration.
@funk101 did you manually remove users from the emailpassword table?
I think you had removed them from that table but not the all_auth_recipe table and that caused this 500 issue. Next time, i would recommend you call the delete API instead of manually removing users.
f
Yes, user management is up now
r
cool
f
good day, I'm still getting these errors on signIns/signUps/signOuts in dev
Copy code
error:  pgConnect: Error: getaddrinfo EAI_AGAIN us-east-1-cluster-dev-1.cluster-cef2h4iyk59c.us-east-1.rds.amazonaws.com
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26)
r
@kakashi_44 can help here
k
Hey @funk101 , the database connection host has been changed to
us-east-1-cluster-dev-serverless.cluster-cef2h4iyk59c.us-east-1.rds.amazonaws.com
. Please try with this and let me know if you're still facing the issue
f
ok, that worked, thanks
k
awesome 👍
2 Views