{"action":"created","issue":{"url":"https://api.github.com/repos/Redth/PushSharp/issues/49","labels_url":"https://api.github.com/repos/Redth/PushSharp/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/Redth/PushSharp/issues/49/comments","events_url":"https://api.github.com/repos/Redth/PushSharp/issues/49/events","html_url":"https://github.com/Redth/PushSharp/issues/49","id":7566542,"number":49,"title":"PushSharp and Azure","user":{"login":"Discobanan","id":2553732,"avatar_url":"https://avatars.githubusercontent.com/u/2553732?v=3","gravatar_id":"","url":"https://api.github.com/users/Discobanan","html_url":"https://github.com/Discobanan","followers_url":"https://api.github.com/users/Discobanan/followers","following_url":"https://api.github.com/users/Discobanan/following{/other_user}","gists_url":"https://api.github.com/users/Discobanan/gists{/gist_id}","starred_url":"https://api.github.com/users/Discobanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Discobanan/subscriptions","organizations_url":"https://api.github.com/users/Discobanan/orgs","repos_url":"https://api.github.com/users/Discobanan/repos","events_url":"https://api.github.com/users/Discobanan/events{/privacy}","received_events_url":"https://api.github.com/users/Discobanan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Redth/PushSharp/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"Redth","id":271950,"avatar_url":"https://avatars.githubusercontent.com/u/271950?v=3","gravatar_id":"","url":"https://api.github.com/users/Redth","html_url":"https://github.com/Redth","followers_url":"https://api.github.com/users/Redth/followers","following_url":"https://api.github.com/users/Redth/following{/other_user}","gists_url":"https://api.github.com/users/Redth/gists{/gist_id}","starred_url":"https://api.github.com/users/Redth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Redth/subscriptions","organizations_url":"https://api.github.com/users/Redth/orgs","repos_url":"https://api.github.com/users/Redth/repos","events_url":"https://api.github.com/users/Redth/events{/privacy}","received_events_url":"https://api.github.com/users/Redth/received_events","type":"User","site_admin":false},"milestone":null,"comments":51,"created_at":"2012-10-13T21:18:28Z","updated_at":"2016-01-18T15:19:41Z","closed_at":null,"body":"I've been using PushSharp in a .NET 4 WebAPI-application for a while on my local development-machine for sending  push notifications to my iOS app, and it works great. However when i publish it to Azure, the OnChannelException-event is called and i get the exception below. I am using the latest package from NuGet, 1.0.17. Any idea why this happens?\r\n\r\nThe credentials supplied to the package were not recognized\r\n   at System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface SecModule, String package, CredentialUse intent, SecureCredential scc)\r\n   at System.Net.Security.SecureChannel.AcquireCredentialsHandle(CredentialUse credUsage, SecureCredential& secureCredential)\r\n   at System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]& thumbPrint)\r\n   at System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, Int32 count, Byte[]& output)\r\n   at System.Net.Security.SecureChannel.NextMessage(Byte[] incoming, Int32 offset, Int32 count)\r\n   at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest)\r\n   at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult)\r\n   at System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, Boolean checkCertificateRevocation)\r\n   at PushSharp.Apple.FeedbackService.Run(ApplePushChannelSettings settings, CancellationToken cancelToken)\r\n   at PushSharp.Apple.ApplePushService.<>c__DisplayClass2.<.ctor>b__0(Object state)\r\n"},"comment":{"url":"https://api.github.com/repos/Redth/PushSharp/issues/comments/172557419","html_url":"https://github.com/Redth/PushSharp/issues/49#issuecomment-172557419","issue_url":"https://api.github.com/repos/Redth/PushSharp/issues/49","id":172557419,"user":{"login":"vsporrior","id":2990247,"avatar_url":"https://avatars.githubusercontent.com/u/2990247?v=3","gravatar_id":"","url":"https://api.github.com/users/vsporrior","html_url":"https://github.com/vsporrior","followers_url":"https://api.github.com/users/vsporrior/followers","following_url":"https://api.github.com/users/vsporrior/following{/other_user}","gists_url":"https://api.github.com/users/vsporrior/gists{/gist_id}","starred_url":"https://api.github.com/users/vsporrior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsporrior/subscriptions","organizations_url":"https://api.github.com/users/vsporrior/orgs","repos_url":"https://api.github.com/users/vsporrior/repos","events_url":"https://api.github.com/users/vsporrior/events{/privacy}","received_events_url":"https://api.github.com/users/vsporrior/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T15:19:41Z","updated_at":"2016-01-18T15:19:41Z","body":"Also having this issue on a webjob. Things seemed to be working fine until I had to regenerate my APNS cert, as the current one was expiring. Now I get this issue periodically. Running locally seems fine. Any ideas anyone?"}}