If anyone else has this working, please chime in. I’m pulling my hair out trying to figure out approaches to troubleshoot this.
According to NSLog messages and stepping through the code, my messages are pushed to Apple. My iPod touch is showing up in the CocoaServer, and the token from that registration is the token being sent to Apple.
My push notification certificate looks to be correct. My home network passes push notifications to my iPod touch for other applications.
There is a Tech Note about troubleshooting push notifications, but it’s a little dated and suggests running checks against the .app bundle. I’ve applied all those tips.
I have duplicated much of the stream code to new methods that connect to the feedback server to see if there was anything there that could help, but I, like many others, get no data from the feedback server (for documentation purposes, the inputStream from the feedback server gets an “has bytes” event, but when you read the buffer the length of data is zero – very confusing).