Open stevus opened 7 years ago
please update the eventsource-polyfill, thanks
Hello, I'm having the same issue and I'm using version 1.0.5 and Chrome Version 72.0.3626.109
@MmtBkn , hello, it is very strange, could you check if polyfill is used instead of native EventSource and why?
@Yaffle I'm sorry to resurrect this closed issue but I have exactly the same problem. I'm using 1.0.8 and Chrome 76.0.3809.100. I'm using authentication so I can't test it without the pollyfill
@verbeeckjan, polyfill uses the fetch api, so you should see it on the XHR subtab. Please look
My call to /events shows up in the XHR tab but the 'EventStream' tab replaces the response and preview tabs when selecting a request. In this eventstream tab nothing shows up. Even though I get my messages (in the console on the screenshot)
I have the exact same problem as @verbeeckjan. Events are received and processed by my application, but they don't show up in the eventstream tab in Chrome.
@larsnedb , isn't this a bug in Chrome DevTools ? Do you have a linked to the issue in the DevTools?
I opened a bug here: https://bugs.chromium.org/p/chromium/issues/detail?id=1025893 Please star the bug to help the DevTools team prioritize this issue
I don't see anything in firefox either.
I think that the DevTools will not show the events if the native event source isn't used. Is this really a bug in EventSourcePolyfill or even Chrome or it is expected that they won't be displayed there if the polyfill is used? They have the same issue in another polyfill https://github.com/EventSource/eventsource/issues/94
Same issue. https://github.com/Yaffle/EventSource/issues/165 This must be fixed on either way or another way to debug a stream. With polyfil we can not debug and track normally. Tested with Mozila and Chrome.
I have the same issue, do we have a workaround to solve the issue?
REMEMBER : the EventSourcePolyfill is not a EventSource because it wraps up by xmlhttprequest. This will broke your server because of simultaneously fetch request.
I have same problem, too. Is there any solution?
I have seen the chatGPT network request/response, and I found a request called conversation
, there is only a request but it cannot show a response, then I have a deep investigation and found this issue, LOL ...
Now I basically think that a Google Chrome DevTool does not support if we use nonnative EventSource yet.
Now I basically think that a Google Chrome DevTool does not support if we use nonnative EventSource yet.
I have the same problem, too. The chatgpt eventStream response is empty.
there is a chrome extension to view EventStream in devtools. https://github.com/maltoze/sse-viewer
I am facing the same problem, seems chatgpt with the same issue: https://stackoverflow.com/questions/75841904/why-did-not-found-the-chatgpt-event-stream-data-in-google-chrome-devtools
Couldn't find a solution, so I logged all data in the console for easier debugging.
Here is my log code. group all data in a table in the console panel.
https://gist.github.com/huoyixin/82a8deb64aa6b380f89d6048a44dda11
Can y'all comment what Content-Type responses your servers are sending for the event stream? Is it possible that they're not sending text/event-stream
?
The fetch example here, does seem to work.
If I use the native EventSource, I can see messages coming through with the type and data listed, however if I use eventsource-polyfill, I don't see this information.