problem to send push to device
waraxtle opened this issue · 1 comments
Hello Sir,
i use uniqush from 2 years.
Now i send push to a device token and receive UNIQUSH_SUCCESS.
In log i see
**[Push][Info] 2018/02/21 12:15:21 Connection closed by APNS: EOF
[Push][Info] 2018/02/21 12:15:21 Service=etruck_IOS Subscriber=3FC38A11-9ACE-49D2-83A6-A71DB4E3859E DeliveryPoint=apns:c2c58e522797c873152b66f2dc12c32866fe0b59 Unsubscribe success
[Push][Error] 2018/02/21 12:15:21 Error:
**
If i send another push i receive
[Push][Info] 2018/02/21 12:15:26 RequestId=5a8d54ce-qkG8YbRm0Unl5pciFwWImA== From=5.94.118.210:49942 Service=etruck_IOS NrSubscribers=1 Subscribers="[3FC38A11-9ACE-49D2-83A6-A71DB4E3859E]"
[Push][Error] 2018/02/21 12:15:26 RequestID=5a8d54ce-qkG8YbRm0Unl5pciFwWImA== Service=etruck_IOS Subscriber=3FC38A11-9ACE-49D2-83A6-A71DB4E3859E Failed: No device
because device is removed by unsubscriptions.
Device token is correct. Can you help me?
I resolved this issue.
gateway.sandbox.push.apple.com server had problem to send push.
I now use gateway.push.apple.com.
I define a service with parameter -d addr=gateway.push.apple.com:2195
I found this parameter in source code not in documentation...
Now all it's ok.
Best regards.