2,116 questions
1
vote
0
answers
47
views
How to properly log HTTPS (especially SSE) request responses in Electron webview without using deprecated APIs?
Here's a minimal GitHub Gist that runs on Electron Fiddle :
It's supposed to show GitHub Copilot (github.com/copilot) in a webview element as if it was in a normal browser :
Using the following code ...
0
votes
1
answer
93
views
No Data or Errors from Server Sent Events
I'm new to server sent events and I'm trying the MSDN laid-out method of going about server sent events; with no luck.
No errors and no data seem to be received by my small HTML file's embedded ...
0
votes
0
answers
69
views
ASP.NET Core SSE works locally but not on Azure App Service (events not flushing)
I have a simple ASP.NET Core API that streams events using Server-Sent Events (SSE).
Locally (Kestrel) it works fine: every WriteAsync + FlushAsync sends data to the client immediately.The endpoint ...
0
votes
1
answer
95
views
NestJS proxy stream not streaming on Cloud Run (buffers until end)
I have a NestJS API that proxies a streaming response from a Python FastAPI service running on Cloud Run.
Locally, the proxy works as expected: the client receives data in chunks as the upstream sends ...
3
votes
1
answer
129
views
SSE connection fails(in server) when multiple connections are made from the same device
I’ve built a simple SSE (Server-Sent Events) server in Node.js using Express. When I try to connect multiple clients (4000) from the same machine using a stress test script, the server fails to ...
1
vote
0
answers
37
views
Facebook Live comments with Server Sent Events - Error 400
I'm trying to make SSE for live comments work with nodejs, The application runs a nestjs app, but when I try to access the SSE, I got an error 400. I'm using a page access token, already checked the ...
0
votes
1
answer
195
views
The meaning of the timeout for Spring SseEmitter
SseEmitter sseEmitter = new SseEmitter(30000L)
Indicates the maximum amount of time (in milliseconds) that the server can hold an SSE connection idle. If no data is sent to the client within 30 ...
0
votes
0
answers
70
views
SSE connection throws exceptions (ServletException, AuthorizationDeniedException) but still works as expected
I have this endpoint that notifies orders that users make in real time. The orders come from a RabbitMQ queue.
@GetMapping(value = "/sse", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
...
1
vote
1
answer
2k
views
Is MCP HTTP streaming actually streaming?
The MCP standard released in Nov 2024 HTTP+SSE was recently deprecated and the protocol change to "HTTP streaming". But looks like MCP now default to just old fashioned non streaming HTTP ...
0
votes
0
answers
227
views
LangGraph SSE Streaming Delay: Events Batched, Not Real-time
logger = setup_logger()
async def generate_sse_event(event: str, data: Any, step: str = None) -> str:
"""Generate SSE formatted message with timestamp and consistent structure."&...
0
votes
0
answers
105
views
How to stream SSE response in Ktor server from an upstream OpenRouter streaming API?
I'm working on a Ktor server as a middle layer between a client (like a web browser or mobile app) and OpenRouter's streaming chat completions API. My goal is to stream the response back to the client ...
0
votes
1
answer
3k
views
FastMCP SSE port control
Is there a way to control which SSE port (not initial connection port) the sse session will land on?
I am running regular fastmcp sse in docker and without knowing which port SSE will land it's ...
2
votes
1
answer
185
views
Why do I have to set up an infinite loop on an Event Source? [closed]
I'm trying to learn about how Event sources work in a JS-PHP environment.
In my project directory, I have 3 mains files:
script.js
/agents/handler.php
/agents/transmitter.php
The script.js will post ...
2
votes
1
answer
170
views
How to terminate a TIdHTTP.Get() request when receiving SSE events?
I need to handle Server-Sent Events (SSE) via an HTTP GET request. Everything is working fine, except that I have no way of terminating the GET request immediately. Instead, I need to wait for some ...
1
vote
1
answer
555
views
Why is my EventSource not receiving events from Spring Boot SseEmitter, even though the server logs show successful delivery?
I'm trying to implement server-sent events (SSE) using Spring Boot and Nuxt3.
I set up a basic SSE endpoint like this:
@GetMapping(value = "/subscribe", produces = MediaType....
0
votes
2
answers
153
views
sse not streaming data with vue, node.js and nginx
i had built a sse example with vue3 and node.js , and node.js server is behind a nginx. Here is the implementation.
vue3 code
eventSource = new EventSource('https://app.kuangcc.com/sse/events');
...
0
votes
1
answer
157
views
Cannot set cookies when using StreamingResponse in FastAPI route for SSE (Server-Sent Events) [duplicate]
I am working on a FastAPI application where I need to set an HTTP cookie while streaming data to the client using Server-Sent Events (SSE). However, I am encountering an issue where the cookie is not ...
2
votes
1
answer
163
views
Spring WebFlux SSE connection, update header on retry
I establish a ServerSentEvent connection using the code below. The GET request must have a "Last-Event-ID" HTTP Header set that indicates the last fully processed event. Occasionally the ...
0
votes
0
answers
110
views
Nginx cuts off data and does not use Transfer-Encoding: chunked
I use nginx to proxy requests to the Server Sent Events API. Without nginx everything works fine, but when proxying through nginx the event body is cut off and further events do not arrive.
Nginx ...
1
vote
0
answers
91
views
How to use the YouTrack event source bus in your own software?
We are currently developing an AI service to improve interaction with YouTrack issues. One mayor problem we encountered is that its really hard to detect if issues where deleted so we can drop them ...
0
votes
0
answers
64
views
Intermittent Issue Saving Cumulated Response From SSE Stream
was wondering if someone would be able to give me a hand at trying to figure out an issue I'm having with an SSE stream.
Basically, I'm trying to fully integrate streaming and pubsub into a AI chat ...
4
votes
1
answer
299
views
Server-Sent-Events (SSE) and HTTPS
I have a spring-boot backend and wanted to create a SSE endpoint, sample:
@CrossOrigin(origins = "http://localhost:4200") // Angular Dev-Server
@GetMapping(path = "/stream-flux", ...
1
vote
1
answer
79
views
PHP Server Sent Event overload on While loop
I'm creating an infopage for work that updates "live".
Now I came across Server Sent Events.
I managed to put data on the screen but the update was every 3 seconds (after looking online it ...
0
votes
0
answers
18
views
How to store "res" object in case of Server Sent Events (SSE) or "call" object in case of gRPC
Use Case:
For example, an app like Uber Driver requires the backend to maintain awareness of user-specific connections. Let's assume Uber's search algorithm shortlists 3 nearby drivers; the system ...
1
vote
0
answers
62
views
Handling stale SSE connection response objects in Node js(Nest js)
I am using SSE connection workflow in one of my projects. I store SSE response objects in the local memory which can then be used to notify the client. SSE connections/response are stored in following ...