[
https://issues.apache.org/jira/browse/FINERACT-1753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18053439#comment-18053439
]
Krishna Mewara commented on FINERACT-1753:
------------------------------------------
I attempted to reproduce this on the latest {{develop}} branch using Minikube
(WSL2). The {{localhost}} connection issue is resolved; the application
successfully connects to the MariaDB service (verified via logs showing
database lock acquisition). This issue seems to be outdated/fixed.
> Unable to deploy application on Kubernetes
> ------------------------------------------
>
> Key: FINERACT-1753
> URL: https://issues.apache.org/jira/browse/FINERACT-1753
> Project: Apache Fineract
> Issue Type: Bug
> Components: Deployment
> Reporter: Prajyot Parab
> Priority: Major
> Labels: beginner-friendly
>
> fineract-server container throwing issue while trying to deploy on a
> Kubernetes cluster using the deployment files available in repo. (using the
> *fineract:latest* available image (updated 9 months ago on DockerHub)
> Error -
> {code:java}
> 2022-09-22 11:57:26.297 INFO 9 --- [ main]
> org.apache.fineract.ServerApplication : Starting ServerApplication using
> Java 11.0.13 on fineract-server-66948d6dc4-6lg5p with PID 9 (/app started by
> root in /)
> 2022-09-22 11:57:26.352 INFO 9 --- [ main]
> org.apache.fineract.ServerApplication : No active profile set, falling
> back to default profiles: basicauth
> 2022-09-22 11:57:36.888 INFO 9 --- [ main]
> o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s):
> 8080 (http) 8443 (https)
> 2022-09-22 11:57:39.457 ERROR 9 --- [ main]
> com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during
> pool initialization.
> java.sql.SQLNonTransientConnectionException: Could not connect to
> address=(host=localhost)(port=3306)(type=master) : Socket fail to connect to
> host:localhost, port:3306. Connection refused (Connection refused)
> {code}
> I tried to build latest image and use that as part of docker-compose
> deployment process, however I observe this issue while trying to access -
> https://localhost:8443/fineract-provider/
> h1. Whitelabel Error Page
> This application has no explicit mapping for /error, so you are seeing this
> as a fallback.
> Fri Sep 23 10:23:18 GMT 2022
> There was an unexpected error (type=Not Found, status=404).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)