New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug - A call to SSPI failed, see inner exception. #368
Comments
Hi, We were having the same issue using the now depricated APNS-Sharp library (ancestor to PushSharp). I submitted a pull request for APNS-Sharp that fixes the issue based on my tests. The modification was to change (in ApplePushChannel.cs) stream.AuthenticateAsClient(this.appleSettings.Host, this.certificates, System.Security.Authentication.SslProtocols.Ssl3, false); to stream.AuthenticateAsClient(this.appleSettings.Host, this.certificates, System.Security.Authentication.SslProtocols.Tls, false); I didn't find a confirmation on this, but it looked like the SSL3 protocol was no longer supported by the Sandbox APNS. Like others that reported the issue, my notifications against the Production APNS were still working. You can find the pull request here: |
I encountered this issue too. I originally thought it's my .p12 file issue. But now I am sure this is a bug when I pushed a message through another library successfully with the same .p12 file. |
I have closed the issue, the problem was the .p12 certificate. Dev and Production app ID was the same. Thanks! |
still i am facing the problem can anyone please let me know what i have missed. |
SSL3 support has been removed by apple. It is for both Pre-Prod (Development) and Production environment. However, TLS should be working fine. Here is the link to official announcement. @coffeesmurf thanks for your changes! |
I have ssl and tls both enabled on my domain and i am using jdsoft library to send ios push notifications. It was working fine but from 7 days i am not able to send push notifications. I am getting this error "A Call to SSPI failed, see inner exception". Can some help please? |
I was using "PushSharp" version="2.0.4.0". Just updated to "PushSharp" version="2.2.1.0" and it started working. Thanks! =) |
A few days ago the library stopped working and it showed me the next error:
I have tested to direct connection without firewall and the result is the same.
My program's code is the next:
Thanks in advance!
The text was updated successfully, but these errors were encountered: