ballerina-platform/ballerina-library

Truststore not packed correctly with the graalvm native image in Choreo

Opened this issue · 0 comments

Description:
Network calls made from an SSL client are failing with the following issue:
message="error connecting to https://dog.ceo/api" error={"causes":[],"message":"SSL connection failed:handshake timed out after 10000ms dog.ceo/172.67.178.228:443","detail":{},"stackTrace":[]}

This happens when the service is deployed in choreo via a graalvm native image. Deploying with the .jar does not give the issue. Deploying with the graalvm image in a local cluster also works as expected. Issue is only encountered when deploying in Choreo

Please refer to https://github.com/wso2-enterprise/choreo/issues/29001 for more info.

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):