I am trying to connect to a YDB serverless database in the cloud. The application is built for GraalVM and runs inside a serverless container. In the logs, I am encountering the following error:
discovery fail Error{message='Channel Endpoint{host=ydb.serverless.yandexcloud.net, port=2135, node=0, location=null, overrideAuthority=null} connecting timeout', cause=java.lang.RuntimeException: Channel Endpoint{host=ydb.serverless.yandexcloud.net, port=2135, node=0, location=null, overrideAuthority=null} connecting timeout}
Grpc channel Endpoint{host=ydb.serverless.yandexcloud.net, port=2135, node=0, location=null, overrideAuthority=null} new state: TRANSIENT_FAILURE
However, when running the container locally, it starts up and successfully connects to the database.