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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...