ERROR: Could not query the database for the schema cache. Retrying. #3021
-
Environment
Description of issueI run PostgREST on google cloud run service . Some time i recived error : Could not query the database for the schema cache. Retrying.
I don't know fixed this. Or This problem because PostgREST on google cloud run service . How fixed this. Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
@mrkhoiit Please share the logs of the postgrest service. There should be more details there. |
Beta Was this translation helpful? Give feedback.
-
@steve-chavez. Thank you for response. This is log from google clound run ( This is Serverless) . Seem log don't show more infomation. I don't know PostgREST can work on serverless or how i can config for this work ?
|
Beta Was this translation helpful? Give feedback.
-
@mrkhoiit There should be output like shown here: https://postgrest.org/en/stable/references/admin.html#logging We'd need |
Beta Was this translation helpful? Give feedback.
-
@steve-chavez this is log :
Because it runs on serverless, PosgREST must reconnect after a period of inactivity. |
Beta Was this translation helpful? Give feedback.
Ah, thanks for mentioning that. I've just noticed this is the same discussion as #2918
So I don't think we can run on serverless mode for now but it might be possible later.