advait
12/22/2023, 1:03 AMsupertokens-postgres
is run on port 3567. All of this is run on the same network.
When I try to send a POST request to /auth/signin
, I receive a status 500
. Additionally, in my logs I receive the following error
TypeError: fetch failed
2023-12-22 06:26:56 at Object.fetch (node:internal/deps/undici/undici:11730:11)
2023-12-22 06:26:56 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-12-22 06:26:56 at async sendRequestHelper._a (/usr/src/node_modules/supertokens-node/lib/build/querier.js:51:36)
2023-12-22 06:26:56 at async Querier.sendRequestHelper (/usr/src/node_modules/supertokens-node/lib/build/querier.js:326:32)
2023-12-22 06:26:56 at async Querier.getAPIVersion (/usr/src/node_modules/supertokens-node/lib/build/querier.js:41:38)
2023-12-22 06:26:56 at async sendRequestHelper._a (/usr/src/node_modules/supertokens-node/lib/build/querier.js:85:38)
2023-12-22 06:26:56 at async Querier.sendRequestHelper (/usr/src/node_modules/supertokens-node/lib/build/querier.js:326:32)
2023-12-22 06:26:56 at async Querier.sendPostRequest (/usr/src/node_modules/supertokens-node/lib/build/querier.js:81:40)
2023-12-22 06:26:56 at async Object.signIn (/usr/src/node_modules/supertokens-node/lib/build/recipe/emailpassword/recipeImplementation.js:58:30)
2023-12-22 06:26:56 at async Object.signInPOST (/usr/src/node_modules/supertokens-node/lib/build/recipe/emailpassword/api/implementation.js:450:28)
The localhost:3567/hello
is reachable and responsive. The other endpoints on my backend are also responsive. Could someone help me with this error please?rp_st
12/22/2023, 5:23 AMrp_st
12/22/2023, 5:23 AMadvait
12/22/2023, 4:48 PMsupertokens.init
?
The connection uri here is http://localhost:3567
advait
12/22/2023, 4:53 PMrp_st
12/22/2023, 4:59 PMhttp://supertokens:3567
advait
12/22/2023, 5:29 PMadvait
12/22/2023, 6:17 PMrp_st
12/22/2023, 6:18 PMadvait
12/22/2023, 6:18 PMrp_st
12/22/2023, 6:18 PMrp_st
12/22/2023, 6:19 PMadvait
12/22/2023, 6:20 PMrp_st
12/22/2023, 6:21 PMadvait
12/22/2023, 6:27 PMrp_st
12/22/2023, 6:27 PMrp_st
12/22/2023, 6:27 PMadvait
12/22/2023, 6:31 PMsupertokens.init
is not configured properly?advait
12/22/2023, 7:00 PM