Hello Community,
Anyone able to deploy fineract on Google App Engine flex  successfully?
I am having a connection exception when fineract tries to make a connection
to a Cloud Sql instance in the same VPC network.

Error: Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException:
Communications link failure

1. I set the JDBC parameters as environment variable in my app.yaml file :
runtime: custom
env: flex

env_variables:
  DRIVERCLASS_NAME: "com.mysql.jdbc.Driver"
  PROTOCOL: "jdbc"
  SUB_PROTOCOL: "mysql"
  fineract_tenants_driver: "com.mysql.jdbc.Driver"
  fineract_tenants_url: "jdbc:mysql://IP:3306/fineract_tenants"
  fineract_tenants_uid: "root"
  fineract_tenants_pwd: "mysql"
  FINERACT_DEFAULT_TENANTDB_HOSTNAME: ""
  FINERACT_DEFAULT_TENANTDB_PORT: "3306"
  FINERACT_DEFAULT_TENANTDB_UID: "root"
  FINERACT_DEFAULT_TENANTDB_PWD: "IP"

2. I provide a simple Dockerfile - openjdk11
FROM gcr.io/distroless/java:11 as fineract

ADD fineract-provider.jar fineract-provider.jar

ENTRYPOINT ["java","-jar","fineract-provider.jar"]

===
Appreciate anyone helping to figure out why I am getting a connection issue.

Reply via email to