-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
fix: streaming issue fixed for build versions #1006
fix: streaming issue fixed for build versions #1006
Conversation
still not working |
* fix: streaming issue fixed for build versions * added keep-alive header
what is your setup and issue ? |
|
sorry I mean to say can you try this command |
thanks, but I have some custom edits:) |
but even with the 2 headers mentioned in #1060
the problm persists for me. It also uses https using CloudFlare tunnels. |
* fix: streaming issue fixed for build versions * added keep-alive header
* fix: streaming issue fixed for build versions * added keep-alive header
may you can try append one host ,just like 192.168.1.9 myblot.local,you need use .local that is importent |
Fix Chat Streaming in Production Environment
Summary
Fixed real-time message streaming in production by correctly configuring Content-Type headers for Server-Sent Events (SSE).
Problem Description
The chat interface was experiencing inconsistent behavior between development and production environments:
Root Cause Analysis
Server response headers were incorrectly configured:
This caused:
Solution
Updated response headers to properly indicate Server-Sent Events:
Technical Details
text/event-stream
Content-Type signals that the response should be processed as a streamTesting Performed
Impact
Rollback Plan
If issues are discovered, we can revert to the previous content-type by changing the header back to
text/plain; charset=utf-8
.