w250697116 / apns-sharp

Automatically exported from code.google.com/p/apns-sharp
0 stars 0 forks source link

Error opening connection #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
hi,
tried both notificationTest and feedbackTest but it show this in the 
monitor:
Notification queued
sleeping 15000 millisecondsbefore next Notification
error: unknow credential (in italian)
error: unknow credential (in italian)
error: unknow credential (in italian)
and so on

my p12 file and password are corrected because i can use to send 
notification with javapns library (created as you explain too)

what can i check ??

Original issue reported on code.google.com by iw2...@gmail.com on 15 Aug 2009 at 5:56

GoogleCodeExporter commented 8 years ago
sorry, thisis the stack
{"Impossibile riconoscere le credenziali fornite al pacchetto"}
    [System.ComponentModel.Win32Exception]: {"Impossibile riconoscere le credenziali 
fornite al pacchetto"}
    Data: {System.Collections.ListDictionaryInternal}
    HelpLink: null
    InnerException: null
    Message: "Impossibile riconoscere le credenziali fornite al pacchetto"
    Source: "System"
    StackTrace: "   in System.Net.SSPIWrapper.AcquireCredentialsHandle(SSPIInterface 
SecModule, String package, CredentialUse intent, SecureCredential scc)\r\n   in 
System.Net.Security.SecureChannel.AcquireCredentialsHandle(CredentialUse 
credUsage, 
SecureCredential& secureCredential)\r\n   in 
System.Net.Security.SecureChannel.AcquireClientCredentials(Byte[]& 
thumbPrint)\r\n   
in System.Net.Security.SecureChannel.GenerateToken(Byte[] input, Int32 offset, 
Int32 
count, Byte[]& output)\r\n   in 
System.Net.Security.SecureChannel.NextMessage(Byte[] 
incoming, Int32 offset, Int32 count)\r\n   in 
System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, 
AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, 
AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, 
AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtoc
olRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken 
message, 
AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, 
AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, 
AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, 
AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, 
AsyncProtocolRequest 
asyncRequest)\r\n   in 
System.Net.Security.SslState.CheckCompletionBeforeNextReceive
(ProtocolToken message, AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, 
AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, 
AsyncProtocolRequest asyncRequest)\r\n   in System.Net.Security.SslState.Star
tReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest 
asyncRequest)\r\n   
in System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, 
AsyncProtocolRequest 
asyncRequest)\r\n   in 
System.Net.Security.SslState.CheckCompletionBeforeNextReceive
(ProtocolToken message, AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, 
AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] 
buffer, AsyncProtocolRequest asyncRequest)\r\n   in 
System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult 
lazyResult)\r\n   
in System.Net.Security.SslStream.AuthenticateAsClient(String targetHost, 
X509CertificateCollection clientCertificates, SslProtocols enabledSslProtocols, 
Boolean checkCertificateRevocation)\r\n   in 
JdSoft.Apple.Apns.Notifications.NotificationConnection.ensureConnected() in 
C:\\cygwin\\MAC\\push\\Apns-Sharp-1.0.1.0-Source\\Apns-Sharp-1.0.1.0-
Source\\JdSoft.Apple.Apns.Not
ifications\\NotificationConnection.cs:riga 374"
    TargetSite: {System.Net.SafeFreeCredentials AcquireCredentialsHandle
(System.Net.SSPIInterface, System.String, System.Net.CredentialUse, 
System.Net.SecureCredential)}

Original comment by iw2...@gmail.com on 15 Aug 2009 at 6:09

GoogleCodeExporter commented 8 years ago
Sounds like it must be to do with the format of your certificate file.  Does it 
contain 
both public and private keys?

Original comment by jond...@gmail.com on 27 Aug 2009 at 3:11

GoogleCodeExporter commented 8 years ago
No answer, and not able to replicate. Not fixing.

Original comment by jond...@gmail.com on 22 Dec 2009 at 5:49