gaurun_recover failed with "device token was not specified"
tugusuke opened this issue · 1 comments
tugusuke commented
log is here.
[info] {"type":"accepted-push","time":"2016/08/16 01:11:34 UTC","id":10,"platform":"ios","token":"cc763874eb07992073e682ae8f67807bea7f9cddea7aff6b4ce3fce0a411c35d","message":"test","ptime":0,"error":"","content_available":true}
[error] {"type":"failed-push","time":"2016/08/16 01:12:09 UTC","id":10,"platform":"ios","token":"cc763874eb07992073e682ae8f67807bea7f9cddea7aff6b4ce3fce0a411c35d","message":"test","ptime":5,"error":"Post https://api.push.apple.com/3/device/cc763874eb07992073e682ae8f67807bea7f9cddea7aff6b4ce3fce0a411c35d: net/http: request canceled (Client.Timeout exceeded while awaiting headers)","content_available":true}
Fitst, I got following output.
2016/08/16 12:05:50 failed to push notification: cc763874eb07992073e682ae8f67807bea7f9cddea7aff6b4ce3fce0a411c35d ios test
To investigate this problem, I embed fmt.Print()
in the error handling section. (cmd/gaurun_recover/gaurun_recover.go:l73
)
Then, I got following output.
device token was not specified
cubicdaiya commented