rip21
08/02/2023, 6:36 PM02 Aug 2023 18:30:18:397 +0000 | ERROR | pid: cbf1c137-e9a8-440c-899f-a3aa49318855 | [pool-1-thread-4] thread | io.supertokens.multitenancy.MultitenancyHelper.lambda$refreshTenantsInCoreBasedOnChangesInCoreConfigOrIfTenantListChanged$0(MultitenancyHelper.java:145) | Tenant(, public, public) | io.supertokens.pluginInterface.exceptions.StorageQueryException: org.postgresql.util.PSQLException: ERROR: prepared statement "S_5" already exists
And these:
02 Aug 2023 18:29:28:160 +0000 | ERROR | pid: cbf1c137-e9a8-440c-899f-a3aa49318855 | [http-nio-0.0.0.0-3567-exec-6] thread | io.supertokens.webserver.WebserverAPI.service(WebserverAPI.java:445) | Tenant(, public, public) | jakarta.servlet.ServletException: io.supertokens.pluginInterface.exceptions.StorageQueryException: org.postgresql.util.PSQLException: ERROR: bind message supplies 3 parameters, but prepared statement "S_7" requires 0
Also, I'm using https://neon.tech and I can see that supertoken always makes calls to the database or so, and that my computes are up as supertoken seems to ping it or try to do some queries or so. My app is before the release, so there are no clients and there are no calls to the database at all (I can see that by logs). So it's not my app that keeps computes alive.
Is there a way to disable such pinging of the database? At least for the dev instance of supertoken that would be quite useful to save some money here.rp_st
08/02/2023, 6:43 PMrp_st
08/02/2023, 6:44 PMprepared statement "S_5" already exists
are something that we haven't really seen before, even on our managed service. Which version of postgresql are you using?rip21
08/02/2023, 6:45 PMrp_st
08/02/2023, 6:46 PMrip21
08/02/2023, 6:46 PMrip21
08/02/2023, 6:46 PMrp_st
08/02/2023, 6:46 PMrp_st
08/02/2023, 6:47 PMrip21
08/02/2023, 6:51 PMrefreshTenantsInCoreBasedOnChangesInCoreConfigOrIfTenantListChanged
rip21
08/02/2023, 6:51 PMrip21
08/02/2023, 7:11 PMrp_st
08/02/2023, 7:53 PMrip21
08/02/2023, 8:21 PMrip21
08/02/2023, 8:21 PMrip21
08/02/2023, 8:21 PMrip21
08/02/2023, 8:22 PMsattvikc
08/03/2023, 7:03 AMrp_st
08/03/2023, 7:04 AMrp_st
08/03/2023, 7:04 AMsattvikc
08/03/2023, 7:04 AMTenant(, public, public) | What caused the crash: io.supertokens.pluginInterface.exceptions.DbInitException: org.postgresql.util.PSQLException: ERROR: must be owner of table passwordless_codes
sattvikc
08/03/2023, 7:08 AMrip21
08/03/2023, 9:15 AM/hello
request, which is considered the default healthcheck?
It just bloats the console so much. I usually reenable logging of health check routes for services only in case something goes wrong and I need to be 100% sure healthcheck is being called, which is rarely needed TBH.rip21
08/03/2023, 9:15 AMrp_st
08/03/2023, 9:17 AMrp_st
08/03/2023, 9:17 AMrip21
08/03/2023, 11:32 AMFailed to validate connection org.postgresql.jdbc.PgConnection@5ba4e963 (This connection has been closed.). Possibly consider using a shorter maxLifetime value.
Anything I can do about it?
I assume, making it so DB never sleeps will do the trick, but it defeats the purpose of serverless computes. These are warns BTW.rp_st
08/03/2023, 11:33 AMrip21
08/03/2023, 11:44 AMrp_st
08/03/2023, 11:46 AMrp_st
08/03/2023, 11:46 AMrip21
08/03/2023, 1:13 PMrp_st
08/03/2023, 1:22 PMrip21
08/03/2023, 1:48 PMrip21
08/03/2023, 1:50 PMrip21
08/03/2023, 1:51 PMrip21
08/03/2023, 1:52 PMrp_st
08/03/2023, 1:57 PMrp_st
08/03/2023, 1:58 PMrip21
08/03/2023, 5:35 PMrp_st
08/03/2023, 5:36 PMrip21
08/03/2023, 9:28 PMrp_st
08/04/2023, 1:18 AMrip21
08/04/2023, 11:22 AMrip21
08/04/2023, 11:25 AMSuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).
Powered by