Chat Response Gets Stuck in Loading State with Azure OpenAI Models in a Semi-Production Environment #6001
Unanswered
genaiservice
asked this question in
Troubleshooting
Replies: 1 comment 1 reply
-
There is not enough information to help, could you inspect how your server is performing when running and the app is used? In a remote VPS (1 vCPU, 2 GB RAM), I have no issues with Azure using the same compose file. firefox_tobDnwppFA.mp4 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
Description:
I'm experiencing a bug in a semi-production environment when using the following
deploy-compose.yml
configuration for the application:Issue Details:
When making a request using Azure OpenAI models, the message is generated correctly, but the application gets stuck in a loading state for about 30 seconds before completing the action. During this time, the application is unresponsive, and it eventually loads the response, but it's unclear why it takes those 30 seconds. Notably, when conducting tests on localhost, I do not encounter this issue.
Expected Behavior:
Upon sending a message, the application should respond quickly without getting stuck for an extended period. The chat should display the generated message and any subsequent response without delay.
Actual Behavior:
After sending a message, the chat remains in a loading state for about 30 seconds before finally ending the response from the model.
Additional Information:
The configurations for MongoDB and other environment variables are set correctly in the .env file.
All services appear to be running without any errors in the logs.
The issue does not occur when testing locally.
Please let me know if you need any other information to help resolve this issue. Thank you!
Version Information
The image I am using has been created by modifying the repository from the main branch. The modifications are primarily related to the frontend and are based on the following Dockerfile:
Beta Was this translation helpful? Give feedback.
All reactions