I am developing a REST API using ASP.NET and .NET 7. Everything works fine on my local machine (in and out of a Docker container), when I publish to Azure App Service again no problem but when I publish to AKS (HTTP layer for now) I get 500 internal server error when ever I try to reach any of the endpoints, even if I try to reach endpoint that doesn't exist I still get 500 error. The strange thing is that when I use "Bridge To Kubernetes" extension to debug the application everything works fine. I suspect the authentication with the key-vault, where my secrets are stored, is failing but I can not find out what is happening. Any ideas on how to approach this problem?
Asked
Active
Viewed 81 times