Share via

Azure Bot Framework Deploy To AKS

Murugan Andezuthu Dharmaratnam 121 Reputation points
2021-12-17T12:28:07.123+00:00

Hi,

I was trying to deploy Bot Framework to AKS & I am getting some errors.

I have tested the azure bot application by connecting it to the application running on visual studio using ngrok and it's working fine. tested using "Test in web chat"

I have deployed the bot framework application to AKS and It's not working. Here are the logs

[40m [32minfo [39m [22m [49m: Microsoft.Hosting.Lifetime[0]
Now listening on: http://[::]:80
[40m [32minfo [39m [22m [49m: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
[40m [32minfo [39m [22m [49m: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
[40m [32minfo [39m [22m [49m: Microsoft.Hosting.Lifetime[0]
Content root path: /app
[40m [32minfo [39m [22m [49m: Microsoft.AspNetCore.Hosting.Diagnostics[1]
Request starting HTTP/1.1 OPTIONS http://mysubdomain.domain.com/api/messages
[40m [32minfo [39m [22m [49m: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
Executing endpoint '405 HTTP Method Not Supported'
[40m [32minfo [39m [22m [49m: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
Executed endpoint '405 HTTP Method Not Supported'
[40m [32minfo [39m [22m [49m: Microsoft.AspNetCore.Hosting.Diagnostics[2]
Request finished in 26.3098ms 405

ingress

  - backend:
      service:
        name: xyz-bot-service
        port:
          number: 80
    path: /api/messages/*
    pathType: ImplementationSpecific
Azure Kubernetes Service
Azure Kubernetes Service

An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.