Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Chat-UI on EC2 Instance Over HTTPS: Error Occurs on Second Chat Session #1644

Open
Sukhpreetsinghgcrew opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Sukhpreetsinghgcrew
Copy link

We are encountering an issue with our chat application (Chat-UI) hosted on an EC2 instance. When the application runs over HTTP, everything works smoothly. However, when we switch to HTTPS, the following problem arises:

The first chat session works without any issues.
When attempting to start a second chat session immediately after, an error occurs, and the chat functionality fails.

-> Web Server: NGINX running on port 443 (HTTPS).
-> NGINX is configured to redirect traffic to port 5173, where the application is running.
-> Added an Application Load Balancer (ALB) between Route 53 and EC2 to handle HTTPS traffic.
-> Observed the same issue when using ALB for SSL termination.
-> DNS: Route 53 is used for domain management.
-> Application: Chat-UI running on port 5173.

Thanks !

@Sukhpreetsinghgcrew Sukhpreetsinghgcrew added the bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant