https://supertokens.com/ logo
#support-questions
No SuperTokens core available to query
# support-questions
a

aaronkopplin

05/12/2023, 1:11 AM
I have my website deployed and I am getting the following error when trying to sign in using an account I created on localhost (connected to the same supertokens hosted instance) Error: No SuperTokens core available to query at Querier. (/home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:225:27) at Generator.next () at /home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:30:75 at new Promise () at __awaiter (/home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:12:16) at Querier.sendRequestHelper (/home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:218:13) at Querier. (/home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:245:43) at Generator.throw () at rejected (/home/rscsguex/nodevenv/api-development/14/lib/node_modules/supertokens-node/lib/build/querier.js:22:44) at processTicksAndRejections (internal/process/task_queues.js:95:5)

https://cdn.discordapp.com/attachments/644849840475602944/1106388183224168538/image.png

n

nkshah2

05/12/2023, 4:37 AM
Hi @aaronkopplin Can you confirm that you have the correct URL set for connectionUri in the backend?
a

aaronkopplin

05/12/2023, 11:31 AM
Yes, I have verified that the connection uri is correct and is being populated at run time
The only thing I can’t think of is that the server it is running on is not letting my API talk to supertokens
I’m using the managed AWS instance
Which I am very grateful to use
n

nkshah2

05/12/2023, 11:33 AM
Can you log into supertokens.com and verify that your application shows as running?
a

aaronkopplin

05/12/2023, 11:34 AM
I can try that but I’m pretty sure it’s running. When I go to the connection URI:port number the connection displays “hello”
Additionally, when I run my application on local host I can log in just fine.
It only happens on the server
n

nkshah2

05/12/2023, 11:34 AM
Right, what framework are you using for your server?
a

aaronkopplin

05/12/2023, 11:35 AM
Node js
Supertokens-node
n

nkshah2

05/12/2023, 11:35 AM
Express?
a

aaronkopplin

05/12/2023, 11:35 AM
The error is getting thrown by querierjs because the retries count gets to 0
And yes, express
n

nkshah2

05/12/2023, 11:36 AM
Sounds like whatever you are using to host your server isn’t allowing requests to the managed service
I would check if you need to whitelist domains for external api calls
a

aaronkopplin

05/12/2023, 11:36 AM
Perfect I’ll try that!
my server provider (namecheap) opened up the port and it works now!
n

nkshah2

05/13/2023, 2:01 AM
Awesome, glad you got it working
4 Views