Hi Mike,
Thanks for the response. The parameters were indeed set exactly as you
described. The FINERACT_DEFAULT_TENANTDB_PWD was set to our password(not
the default) and FINERACT_DEFAULT_TENANTDB_HOSTNAME was  set to the
hostname of the tenant. I guess it was an error introduced while trying to
change some of the parameters before sending the mail.
So , I finally got it fixed. The issue was with some missing permissions on
the service account.
As for the 1 click setup, I dont think that will be useful in our case
since there are additional features(Agency, ...) built on top of the
fineract that needs to be tested. I must say that fineract.dev has been
very invaluable.

On Mon, Nov 23, 2020 at 1:53 PM Tony O <tcbu...@gmail.com> wrote:

> 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