Not able to do http stream
abhinavraj23
PROOP
8 months ago
Not able to do HTTP stream, it's working locally, but with railways this is how it is responding
No event stream is being created, but locally it is being created!
Attachments
1 Replies
himanshusingh9647
FREE
8 months ago
Best Solution: Deploy using Express.js with SSE, and keep the connection alive with pings — explicitly flush headers and disable buffering.
Debugging Suggestions
1. Use curl -N to verify stream headers and response.
2. Check if your server flushes data properly (use res.flush() or res.flushHeaders() in Node).
3. Test using Postman or Insomnia, but remember they may not support streaming.
4. Deploy the same code to Render.com or Fly.io to verify if the issue is with Railway.
