Apns notification error: 'ConnectionError' - System.NullReferenceException
elvirp opened this issue · comments
What version of PushSharp are you using?
We are using PushSharp.Apple 1.0.1
Describe your issue:
We get the following error:
Source : PushSharp.Apple
Exception :
PushSharp.Apple.ApnsNotificationException: Apns notification error: 'ConnectionError' ---> System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
à PushSharp.Apple.ApnsConnection.createBatch(List`1 toSend)
à PushSharp.Apple.ApnsConnection.d__21.MoveNext()
--- End of inner exception stack trace ---
à PushSharp.Apple.ApnsServiceConnection.d__2.MoveNext()
What are the steps required to reproduce this issue?
It seems to happen randomly. I'm using PushSharp
Please provide any Exception Stack Traces
lease advise how to troubleshoot this error.