Skip to main content
0 votes
1 answer
71 views

Quarkus Client: Deserialization fails for Server Side Events

I trying to learn Quarkus, so feel free to correct me if I made any mistakes. So now to the problem. I have a server that sends SSE responses. I want to write a quarkus client to make calls to that ...
dali's user avatar
  • 63
0 votes
0 answers
21 views

TransformStream throwing TypeError: Response body object should not be disturbed or locked

I am using langchain.js streamEvents for streaming events to frontend. The intermediate steps output some sensitive data that I want to strip away before forwarding the stream so I am using the ...
Kunal's user avatar
  • 1
1 vote
0 answers
43 views

How to mplement event streaming using golang github.com/r3labs/sse/v2

I tried the below program to implement event streaming using github.com/r3labs/sse/v2 but which is not working as expected , it is going to infinite loop looks like. What I need is to implement event ...
Aylen's user avatar
  • 11
0 votes
0 answers
105 views

Request exception: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

I am making a Python app to fetch data from my website (which is written in PHP) as a stream. main.py import requests from sseclient import SSEClient def get_sse(url): try: # Make the ...
blazgocompany's user avatar
0 votes
1 answer
787 views

How to stream LLM response from FastAPI to React?

I want to stream an LLM (ollama) response using fastapi and react. I can successfully get an answer from the LLM without streaming, but when I try to stream it, I get an error in react. The LLM answer ...
Simon1's user avatar
  • 686
0 votes
0 answers
213 views

How to make the Event Stream (EventSource()) working with cloudflare?

basically i am using an ai tool api, so i create a POST request first to create a database entry then to get a streaming output I do it using EventSource() this works perfectly in deployment even (...
Pragyan's user avatar
  • 477
0 votes
1 answer
115 views

How can I copy all event stream data from an endpoint in Chrome DevTools?

Is there a workaround or a method within Chrome DevTools that allows for copying all the event stream data of an endpoint at once? If not directly possible through DevTools, is there any alternative ...
Dinesh Sonachalam's user avatar
0 votes
0 answers
66 views

How to print SSE Event from API in Textview in Android Studio?

I am trying to implement API whose Content type is "text/event-stream" using retrofit library. I am able to successfully implement it but i don't know how to manage the events and print it ...
Pratik Chauhan's user avatar
1 vote
0 answers
160 views

SSE using NGINX + PHP returns in large chunks with headers missing

I am using SSE EventStream to stream large text to the client. My local Apache+PHP works great, however our NGINX+PHP servers are behaving oddly: There is an initial delay that is always ~10x of the ...
msawired's user avatar
  • 140
0 votes
2 answers
114 views

What is the Logic Behind Synchronization in CQRS with Separate Storages?

When using CQRS, we operate with two separate storages. How exactly is the sync operation performed in this context? Let's say I used an event store database for the Write storage and Elasticsearch ...
Arabaaa's user avatar
  • 31
1 vote
0 answers
130 views

FireFox recognised text/event-stream as a download

Is there a way to view the content-type:text/event-stream in FireFox instead of download? e.g. https://stream.wikimedia.org/v2/stream/recentchange I am able to view the url directly in Chrome browser. ...
user3422290's user avatar
1 vote
1 answer
233 views

Return Eventstream response from Azure openai to nextjs

In order to not expose the api key of my Azure openai ,I create a nextjs API that send the request to openai and get the stream and send it back to the Front End ,I created the pages/api/gpt Here is ...
Yafaa Ben Tili's user avatar
1 vote
0 answers
462 views

Retrieving data from EventStream (server side events)

I got the following page from Veikkaus: https://www.veikkaus.fi/fi/vedonlyonti/pitkaveto which loads an EventStream (Serve Side Events (SSE)) to retrieve data from the server. See the picture below I'...
Sander Bakker's user avatar
2 votes
0 answers
159 views

Gracefull shutdown when SSE stream is openned

I have an spring boot 3 back-end application, which does serve also some Flux (SSE, https://www.w3schools.com/html/html5_serversentevents.asp ) event streams. i.e.: @RequestMapping(path = "/...
Lubo's user avatar
  • 1,817
0 votes
1 answer
1k views

PHP Content-Type: text/event-stream with PHP FPM/CGI - ChatGPT text streaming

I'm working with the ChatGPT API in PHP. I'm trying to stream the ChatGPT completion text in PHP. When I do it on my local machine it works fine, but my server is using PHP FPM and as a result, it isn'...
Jimmison Johnson's user avatar

15 30 50 per page
1
2 3 4 5
10