hey <@!498057949541826571> Do you have any sugges...
# support-questions-legacy
m
hey @User Do you have any suggestion where else i could check whats wrong. I have supertokens core as well as an api in separate containers. versions: supertokens-node@^7.0.2, supertokens-core latest from dockerhub reciper: emailpassword I am stuck on
No Supertokens Core to query.
error on signup and cannot see whats wrong. The logs in supertokens_core do not seem like anything is wrong. I have checked that containers do see each other and can ping each other just normally.
Copy code
sh
8 Jan 2022 22:35:47:281 +0000 | INFO | pid: 6f16aa35-8966-4fb4-bfb3-6d6e14ff888e | [main] thread | io.supertokens.Main.init(Main.java:213) | Started SuperTokens on 0.0.0.0:3567 with PID: 33

18 Jan 2022 22:35:47:947 +0000 | DEBUG | pid: 6f16aa35-8966-4fb4-bfb3-6d6e14ff888e | [pool-1-thread-1] thread | io.supertokens.cronjobs.CronTask.run(CronTask.java:52) | Cronjob finished: Telemetry

18 Jan 2022 22:36:16:204 +0000 | DEBUG | pid: 6f16aa35-8966-4fb4-bfb3-6d6e14ff888e | [SuperTokens housekeeper] thread | io.supertokens.storage.postgresql.HikariLoggingAppender.doAppend(HikariLoggingAppender.java:136) | SuperTokens - Pool stats (total=10, active=0, idle=10, waiting=0)
After that just keeps logging the same as the last message, pool stats My signup method (it extends the supertokens one):
Copy code
const signUp =
  (apiInterface: EmailPassword.APIInterface) => async (input: SignUpInput) => {
    if (apiInterface.signUpPOST === undefined) {
      throw Error('SignUpPOST is not reachable.')
    }
    // First we call the original implementation of signUpPOST.
    let response: signUpPOSTResponse = {
      status: 'EMAIL_ALREADY_EXISTS_ERROR',
    }
    try {
      response = await apiInterface.signUpPOST(input)
    } catch (e) {
      console.log('post', JSON.stringify(e))
    }

    // Post sign up response, we check if it was successful
    if (response?.status === 'OK') {
      const { fullName, displayName } = input.formFields.reduce(
        (allFields, field) => ({
          ...allFields,
          [field.id]: field.value,
        }),
        {} as FormUser,
      )
      const { id, email } = response.user
      // Create another entry into meta database
      try {
        // await queryDatabase() ...
      } catch (err: any) {
        console.log(err.stack)
      }
    }
    return response
  }
The error this throws is:
Copy code
js
Error: No SuperTokens core available to query
    at Querier.<anonymous> (/home/node/app/node_modules/supertokens-node/lib/build/querier.js:225:27)
    at Generator.next (<anonymous>)
    at /home/node/app/node_modules/supertokens-node/lib/build/querier.js:30:75
    at new Promise (<anonymous>)
    at __awaiter (/home/node/app/node_modules/supertokens-node/lib/build/querier.js:12:16)
    at Querier.sendRequestHelper (/home/node/app/node_modules/supertokens-node/lib/build/querier.js:218:13)
    at Querier.<anonymous> (/home/node/app/node_modules/supertokens-node/lib/build/querier.js:244:43)
    at Generator.throw (<anonymous>)
    at rejected (/home/node/app/node_modules/supertokens-node/lib/build/querier.js:22:44)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
any help / direction would be appreciated
7 Views