sendBeacon intermittently not working for Edge Chromium Beta or Canary

%3CLINGO-SUB%20id%3D%22lingo-sub-1180794%22%20slang%3D%22en-US%22%3EsendBeacon%20intermittently%20not%20working%20for%20Edge%20Chromium%20Beta%20or%20Canary%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1180794%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20having%20intermittent%20problem%20with%20Edge%20Chromium%20Beta%20and%20Canary%20where%20if%20I%20leave%20the%20browser%20up%20for%20a%20few%20minutes%20and%20then%20closes%20the%20browser%2C%20sendBeacon%20POST%20request%20sometimes%20does%20not%20reach%20the%20remote%20web%20server%20when%20calling%20inside%20window.onbeforeunload%20or%20window.unload%20listener.%26nbsp%3B%20I%20have%20no%20problem%20with%20it%20when%20using%20latest%20Chrome%20or%20Chrome%20Canary.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1180875%22%20slang%3D%22en-US%22%3ERe%3A%20sendBeacon%20intermittently%20not%20working%20for%20Edge%20Chromium%20Beta%20or%20Canary%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1180875%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F562521%22%20target%3D%22_blank%22%3E%40yc_edge_insider%3C%2FA%3E%26nbsp%3BThanks%20for%20reaching%20out%20and%20welcome%20to%20the%20MS%20Edge%20Insider%20community!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe're%20sorry%20to%20hear%20that%20you're%20encountering%20issues%20with%20sendBeacon%20on%20Canary.%20If%20you%20haven't%20yet%2C%20can%20you%20please%20submit%20feedback%20through%20the%20browser%20so%20that%20our%20devs%20can%20take%20a%20look%20at%20the%20error%20logs%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CI%3EFawkes%20(they%2Fthem)Project%20%26amp%3B%20Community%20Manager%20-%20Microsoft%20Edge%3CI%3E%3C%2FI%3E%3C%2FI%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I'm having intermittent problem with Edge Chromium Beta and Canary where if I leave the browser up for a few minutes and then closes the browser, sendBeacon POST request sometimes does not reach the remote web server when calling inside window.onbeforeunload or window.unload listener.  I have no problem with it when using latest Chrome or Chrome Canary.

2 Replies

@yc_edge_insider Thanks for reaching out and welcome to the MS Edge Insider community!

 

We're sorry to hear that you're encountering issues with sendBeacon on Canary. If you haven't yet, can you please submit feedback through the browser so that our devs can take a look at the error logs?

 

Fawkes (they/them)
Project & Community Manager - Microsoft Edge

Yes. I've just submitted my feedback. THANKS!