Jump to content

Antivirus software blocks Server Side Events (EventSource)

Recommended Posts


I'm trying to implement a Server Side Event connection between a Node.js backend and the frontend with EventSource.

It works perfectly... as long as I turn off my antivirus. As soon as it's on, it's silently blocking incoming responses.

It doesn't matter if I try it on localhost or my Heroku VM. It just doesn't work.

However, the example provided by W3Schools works:

What's the magic? I've looked at the HTTP headers and replicated them... but to no avail.

I offered a bounty on Stack Overflow for a solution:


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...