ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 64 forks source link

Truststore not packed correctly with the graalvm native image in Choreo #6634

Open tharindu-nw opened 5 months ago

tharindu-nw commented 5 months ago

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):