Base solution for your next web application
Open Closed

Database connection timeout. Azure Kubernetes cluster using docker image with Asp.Net Zero cannot connect to database. Asp.Net Zero solution works on local machine. #8934


User avatar
0
Suretys created

Please see the attached error file.

We developed an Azure Kubernetes microservice solution and then built an ASP.NET Zero web UI. The microsoervices all run fine on the Azure Kubernetes cluster.

When we deployed our UI service using ASP.NET Zero with Docker to the Azure Kubernetes cluster we cannot connect to our database. This ASP.NET Zero code works on the local machine but we cannot figure out how to promote it to our Kubernetes Cluster with Docker.

Please help. We have been struggling with this for over a week. We love ASP.NET Zero but cannot figure this out.

Ed & Uday from the Suretys team


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @Suretys

    Is your database also in a container or is it Azure's SQL database ?

  • User Avatar
    0
    Suretys created

    Azure SQL database. Not in a container, Thanks