Open edwardgonen opened 7 years ago
I have problem to
I have also stopped to take notice
I found one think i am not getting this error if i am sending notification to only one device.
But if i try to send notification to more the one device using foreach like: foreach (var deviceToken in MY_REGISTRATION_IDS) { SendiOSMsg(deviceToken); }
I am getting this error.
any help ? :(
this is my log:
Apple Notification Failed: DeviceToken=3e77e5ba33c0a45f4a4f71c7dd5aedf89184f463f00d3b6e35293c9196dc4e94,Payload={ "aps": { "alert": { "body": "Test! Bitte kurze Whatsapp an mich, wenn angekommen ;) Gruß CR", "title": "GB 1976" } }, "ModuleId": null, "ActivationId": 0, "image": "icon", "notId": 727395098 }, Code=ConnectionError, IsDeviceRegistrationIdValid = True, exception: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 17.188.142.148:2195 at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult) at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at PushSharp.Apple.ApnsConnection.d__25.MoveNext()
IIS Express is Succeeded and IIS is Failed
What version of PushSharp are you using?
Latest downloaded from here (GitHub)
Describe your issue:
Always when trying to run the Apns_send_Single it fails with the "connectionError" exception at broker.OnNotificationFailed:
What are the steps required to reproduce this issue?
Please provide any Exception Stack Traces
Here is my setting.json file, of course with modified values: