Jump to content

Antivirus software blocks Server Side Events (EventSource)


tomcatmwi
 Share

Recommended Posts

Hi,

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:
https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_sse

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:

https://stackoverflow.com/questions/63716882/server-side-events-blocked-by-antivirus

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
 Share

×
×
  • Create New...