Unable to start server

Hi ,

I am seeing below error in most of the temporal pods. Is there anything i need to check on this ?
Unable to start server. Error: sql schema version compatibility check failed: Error 9009: Client from Azure Virtual Networks is not allowed to access the server. Please make sure your Virtual Network is correctly configured. │ │ stream closed

Hi Team ,

Could someone help us in resolving this issue ?

Please find the logs from temporal-live-stag-frontend service …


2021/10/29 12:30:58 Loading config; env=docker,zone=,configDir=config
2021/10/29 12:30:58 Loading config files=[config/docker.yaml]
{"level":"info","ts":"2021-10-29T12:30:58.735Z","msg":"Updated dynamic config","logging-call-at":"file_based_client.go:235"}
{"level":"info","ts":"2021-10-29T12:30:58.735Z","msg":"Starting server for services","value":["frontend"[],"logging-call-at":"server.go:117"}
{"level":"info","ts":"2021-10-29T12:30:58.737Z","msg":"Get dynamic config","name":"system.advancedVisibilityWritingMode","value":"off","default-value":"off","logging-call-at":"config.go:79"}
Unable to start server. Error: sql schema version compatibility check failed: Error 9009: Client from Azure Virtual Networks is not allowed to access the server. Please make sure your Virtual Network is correctly configured.

@maxim Can you please help with this ticket?
we are blocked with this error from couple of days and unable to deploy the temporal.

Server is not able to talk to your database. You need to resolve that first.

Similar issue from stackoverflow: postgresql - Can't connect from azure resource to Azure database for postgres server - Stack Overflow