Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stevus opened this issue Dec 7, 2016 · 20 comments

Comments

@stevus
Copy link

stevus commented Dec 7, 2016

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.

@Yaffle
Copy link
Owner

Yaffle commented Dec 10, 2016

please update the eventsource-polyfill, thanks

@Yaffle Yaffle closed this as completed Dec 10, 2016
@MmtBkn
Copy link

MmtBkn commented Feb 24, 2019

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

@Yaffle
Copy link
Owner

Yaffle commented Feb 24, 2019

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

@verbeeckjan
Copy link

@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

@Yaffle
Copy link
Owner

Yaffle commented Aug 20, 2019

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

@verbeeckjan
Copy link

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)

@larsnedb
Copy link

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.

@Yaffle Yaffle reopened this Nov 18, 2019
@Yaffle
Copy link
Owner

Yaffle commented Nov 18, 2019

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

@josepharhar
Copy link

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

@SantoJambit
Copy link

I don't see anything in firefox either.

@Vaggal
Copy link

Vaggal commented Jun 26, 2020

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 EventSource/eventsource#94

@BonBonSlick
Copy link

BonBonSlick commented Mar 6, 2021

Same issue. #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.

@doraemonxxx
Copy link

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

@doraemonxxx
Copy link

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

@GuanJdoJ
Copy link

GuanJdoJ commented Mar 1, 2023

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

@jasonred8
Copy link

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.

@Yuki-Asuuna
Copy link

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.

@maltoze
Copy link

maltoze commented Jul 25, 2023

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

@jiangxiaoqiang
Copy link

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

@huoyixin
Copy link

huoyixin commented Sep 7, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests