Closed paolosalvatori closed 11 months ago
This is probably caused by a websocket configuration issue on your infra. Can you confirm @paolosalvatori ?
I will try to deploy the app using the NGINX Ingress Controller as a repro and then close the issue.
I created an application with Chainlit that works as expected when running locally, even in a Docker container. When I deploy the application to Azure Kubernetes Service, and I expose the service with a gateway or an ingress, I see the following error:
Could not reach the server.
However, if I create a port-forward to the service or one of the pods, the application works as expected. May the issue be due to the actual DNS used by the application? I can share the code, but again, the application works locally, in a container, and even in Azure Kubernetes Service, if I port-forward the service or the individual pod. Thoughts? I'm stuck.
You can find the code of the application here.