web-push-csharp icon indicating copy to clipboard operation
web-push-csharp copied to clipboard

Current Edge (Not Chromium Edge) not working

Open ndr-thitinan opened this issue 5 years ago • 0 comments

I tried the sample code for the edge endpoint (with the link https://sg2p.notify.windows.com/w/?token=...), but the error (Unexpected error) occurred. So, I add the below code, and it can be run without crashing.

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls;

But I never get the notification, while for the same info (endpoint, key) works on web-push-php.

Btw, the same version on the NuGet, VapidDetails doesn't have the Expiration. Would that cause the problem ?

ndr-thitinan avatar Sep 01 '20 09:09 ndr-thitinan