pushy icon indicating copy to clipboard operation
pushy copied to clipboard

Strange behaviour with some subscriptions

Open janzar opened this issue 6 years ago • 11 comments

It's not an issue with 0.13.11, because have checked with earlier version, and it repeats. We began to notice strange behavior when sending pushes to certain subscriptions. We do not receive response from APNS servers at all. Have waited up to 25 minutes. While copied one such "broken" device token from production servers and experimenting with delivery from development notebook, have found that for example from these APNS servers we do not receive response:

17.188.168.10, 17.188.134.156

At the same moment for other device tokens we receive response from these APNS servers. If connect to other APNS servers, then we receive response for push to this "broken" device token. Some examples of such server IPs:

17.188.140.22, 17.188.134.156, 17.188.136.153,17.188.130.155

Example tcpdump for 17.188.168.10:

15:54:35.406306 IP 192.168.8.100.58368 > 17.188.168.10.443: Flags [P.], seq 3203778702:3203779003, ack 3304768724, win 501, options [nop,nop,TS val 1136145488 ecr 906819811], length 301
15:54:35.568743 IP 17.188.168.10.443 > 192.168.8.100.58368: Flags [.], ack 301, win 266, options [nop,nop,TS val 906848832 ecr 1136145488], length 0

And 17.188.140.22:

15:50:55.429240 IP 192.168.8.100.33058 > 17.188.140.22.443: Flags [P.], seq 2751945605:2751945906, ack 272698980, win 501, options [nop,nop,TS val 661810850 ecr 2319328342], length 301
15:50:55.638930 IP 17.188.140.22.443 > 192.168.8.100.33058: Flags [.], ack 301, win 266, options [nop,nop,TS val 2319351269 ecr 661810850], length 0
15:50:55.639531 IP 17.188.140.22.443 > 192.168.8.100.33058: Flags [P.], seq 1:79, ack 301, win 266, options [nop,nop,TS val 2319351270 ecr 661810850], length 78
15:50:55.682907 IP 192.168.8.100.33058 > 17.188.140.22.443: Flags [.], ack 79, win 501, options [nop,nop,TS val 661811103 ecr 2319351270], length 0

Problem with this device token remained more than a day. Have stopped to check. I'm not sure if it is a pushy problem at all, because looks like some problem on some Apple servers?

janzar avatar Apr 29 '20 08:04 janzar

I agree that this sounds like an upstream issue; have you opened a support ticket with Apple?

jchambers avatar Apr 29 '20 11:04 jchambers

Hi, our iOS developer wrote to them. Now waiting response..:./

janzar avatar Apr 29 '20 15:04 janzar

Thank you!

Have you noticed any patterns ("always happens after a VOIP push" or "tokens were all issued in the last week" or anything) as to which tokens get "broken?"

jchambers avatar Apr 29 '20 18:04 jchambers

Also, @janzar, can you share the radar number for the issue you filed?

jchambers avatar Apr 29 '20 19:04 jchambers

One more for you, @janzar (sorry for the pile of comments): is there a way I can get in touch with you directly? There might be some details—tokens, app IDs, etc.—that would be helpful for debugging this that may not make sense to post in public.

Thanks!

jchambers avatar Apr 29 '20 21:04 jchambers

@jchambers, yes. my email is [email protected]

janzar avatar Apr 30 '20 07:04 janzar

can you share the radar number

We have reported issue through feedbackassistant.apple.com, not sure that there is such number.

Have you noticed any patterns

I'm afraid don't see yet any patterns. Can provide more details through PM.

janzar avatar Apr 30 '20 07:04 janzar

For other folks following this issue: we've been discussing this extensively via a private channel. While I still wouldn't say it's "resolved" (though I hope we're getting close), we haven't yet uncovered anything that suggests that Pushy itself needs any changes.

jchambers avatar May 09 '20 19:05 jchambers

It sounds like the issue—or at least this instance of it—has self-resolved. @janzar are you comfortable with me closing this issue, or do you think there's more to do here?

jchambers avatar May 12 '20 13:05 jchambers

Yes, you can close it.

Thank you!

janzar avatar May 12 '20 14:05 janzar

Right on. Thanks for all your help in debugging this one!

jchambers avatar May 12 '20 15:05 jchambers