context deadline while posting notification through API https://dm3p.notify.windows.com?token=xxx

景轩 王 35 Reputation points
2024-11-28T08:36:42.49+00:00

got many timeout when using wns for push since about 28.11 9:00(utc+8)
api:

https://dm3p.notify.windows.com?token=xxx

I have been using this function for a year without any problems. This timeout problem has occurred since around 9:00(utc+8) this morning. How can I contact the R & D staff to deal with it? When is it expected to be restored?

example

Post "https://dm3p.notify.windows.com/?token={my token}": context deadline exceeded (Client.Timeout exceeded while awaiting headers)> req=&http.Request{Method:"POST", URL:(*url.URL)(0xc07123c360), Proto:"HTTP/1.1", ProtoMajor:1, ProtoMinor:1, Header:http.Header{"Authorization":[]string{"Bearer {my ak}"}, "Content-Type":[]string{"text/xml"}, "X-Wns-Requestforstatus":[]string{"true"}, "X-Wns-Tag":[]string{"112c4f55c2ae2fdc"}, "X-Wns-Ttl":[]string{"28798"}, "X-Wns-Type":[]string{"wns/toast"}}, Body:io.nopCloserWriterTo{Reader:(*bytes.Reader)(0xc18383fc50)}, GetBody:(func() (io.ReadCloser, error))(0x7ab700), ContentLength:1657, TransferEncoding:[]string(nil), Close:false, Host:"dm3p.notify.windows.com", Form:url.Values(nil), PostForm:url.Values(nil), MultipartForm:(*multipart.Form)(nil), Trailer:http.Header(nil), RemoteAddr:"", RequestURI:"", TLS:(*tls.ConnectionState)(nil), Cancel:(<-chan struct {})(nil), Response:(*http.Response)(nil), ctx:(*context.valueCtx)(0xc17932f830)} 
Universal Windows Platform (UWP)
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,668 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
349 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.