Jump to content

Antivirus software blocks Server Side Events (EventSource)


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

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

Loading...
×
×
  • Create New...