https://supertokens.com/ logo
Title
f

funk101

01/10/2023, 6:41 PM
I'm getting an error access supertokens db
r

rp

01/10/2023, 6:41 PM
Hey @funk101 what’s the error?
f

funk101

01/10/2023, 6:42 PM
sorry
r

rp

01/10/2023, 6:43 PM
You shouldn’t be querying the dev db directly though
f

funk101

01/10/2023, 6:43 PM
even for dev purposes?
anyway, it's happening in my web app as well
never got this error before
r

rp

01/10/2023, 6:44 PM
Right. Give us some time. We did a db migration in dev instance today.
f

funk101

01/10/2023, 6:44 PM
ah, ok
r

rp

01/10/2023, 6:44 PM
But supertokens instance in dev should still work
Just direct access to the dev db is affected
f

funk101

01/10/2023, 6:45 PM
this from my web app nextjs
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

rp

01/10/2023, 6:45 PM
Ok thanks
We will fix it within 24 hours.
f

funk101

01/10/2023, 6:45 PM
ok, np
thanks
r

rp

01/10/2023, 6:45 PM
Thanks
f

funk101

01/10/2023, 6:51 PM
is UserManagement down too?
r

rp

01/10/2023, 6:51 PM
Nope. That should work. Everything else should be working
f

funk101

01/10/2023, 6:53 PM
hmm, I'm getting this
Server Error:

Failed to load user list. Please refresh to try again.
r

rp

01/10/2023, 6:53 PM
Can you check the backend for error logs?
f

funk101

01/10/2023, 6:54 PM
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

rp

01/10/2023, 6:54 PM
I see. Ok thanks. We will check it out
f

funk101

01/10/2023, 6:55 PM
k
r

rp

01/10/2023, 6:57 PM
Can you please dm me your email you used to sign up for supertokens service?
f

funk101

01/10/2023, 6:58 PM
jeff@lacastinginc.com
r

rp

01/10/2023, 6:58 PM
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

funk101

01/11/2023, 8:34 AM
Yes, user management is up now
r

rp

01/11/2023, 8:36 AM
cool
f

funk101

01/12/2023, 2:02 PM
good day, I'm still getting these errors on signIns/signUps/signOuts in dev
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

rp

01/12/2023, 2:03 PM
@kakashi_44 can help here
k

kakashi_44

01/12/2023, 2:07 PM
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

funk101

01/12/2023, 2:11 PM
ok, that worked, thanks
k

kakashi_44

01/12/2023, 2:18 PM
awesome 👍