EventSource icon indicating copy to clipboard operation
EventSource copied to clipboard

Event does not show up in the Chrome EventStream subtab inside the Network tab when viewing the eventstream connection

Open stevus opened this issue 8 years ago • 21 comments

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.

stevus avatar Dec 07 '16 17:12 stevus

please update the eventsource-polyfill, thanks

Yaffle avatar Dec 10 '16 12:12 Yaffle

Hello, I'm having the same issue and I'm using version 1.0.5 and Chrome Version 72.0.3626.109

MmtBkn avatar Feb 24 '19 18:02 MmtBkn

@MmtBkn , hello, it is very strange, could you check if polyfill is used instead of native EventSource and why?

Yaffle avatar Feb 24 '19 19:02 Yaffle

@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 avatar Aug 20 '19 13:08 verbeeckjan

@verbeeckjan, polyfill uses the fetch api, so you should see it on the XHR subtab. Please look

Yaffle avatar Aug 20 '19 13:08 Yaffle

Screenshot 2019-08-21 at 10 13 16

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)

verbeeckjan avatar Aug 21 '19 08:08 verbeeckjan

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 avatar Nov 18 '19 09:11 larsnedb

@larsnedb , isn't this a bug in Chrome DevTools ? Do you have a linked to the issue in the DevTools?

Yaffle avatar Nov 18 '19 09:11 Yaffle

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

josepharhar avatar Nov 18 '19 18:11 josepharhar

I don't see anything in firefox either.

SantoJambit avatar Feb 11 '20 11:02 SantoJambit

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

Vaggal avatar Jun 26 '20 08:06 Vaggal

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.

BonBonSlick avatar Mar 06 '21 11:03 BonBonSlick

I have the same issue, do we have a workaround to solve the issue?

doraemonxxx avatar Jul 08 '22 23:07 doraemonxxx

REMEMBER : the EventSourcePolyfill is not a EventSource because it wraps up by xmlhttprequest. This will broke your server because of simultaneously fetch request.

doraemonxxx avatar Jul 09 '22 13:07 doraemonxxx

I have same problem, too. Is there any solution?

GuanJdoJ avatar Mar 01 '23 06:03 GuanJdoJ

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.

jasonred8 avatar Mar 02 '23 06:03 jasonred8

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.

Yuki-Asuuna avatar Mar 22 '23 04:03 Yuki-Asuuna

there is a chrome extension to view EventStream in devtools. https://github.com/maltoze/sse-viewer

maltoze avatar Jul 25 '23 01:07 maltoze

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

jiangxiaoqiang avatar Sep 01 '23 06:09 jiangxiaoqiang

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. image

https://gist.github.com/huoyixin/82a8deb64aa6b380f89d6048a44dda11

huoyixin avatar Sep 07 '23 07:09 huoyixin