I'm trying to send push notifications to an app. The program, PushMeBaby, which a co-worker of mine used does not seem to work anymore. I get an -909 error from the SSLwrite command. I couldn't figure out the meaning of it.
Does anyone know a good tool/program that sends push notifications to the APNs-server?
or has anyone know, what the error code means?
Yours
Bujtor
Well... as it turns out the problem was the certificate.
Apparently it's not that easy to get the correct and valid push-certificate. My boss's third attempt succeeded. The Certificate Signing Request had to be made using the MAC i'm working on, where PushMeBaby is running. Otherwise there was no private key associated with the certificate. In addition the provisioning profil had to be made to only work for that one application.
I hope it helps others having the same problem.
Related
I am working on a blackberry application that was developed by someone else. I tried creating and running other applications. All the applications work except this specific one.
For this application I need the secure element signatures. I got signature keys from blackberry and I requested the secure element signatures.
Whenever I run the application on a simulator it works perfectly. However when I try to run it on Blackberry Bold 9900, it tells me 'application name' has verification errors and sometimes it says application terminated and other times it says 'net_rim_tsm_lib' not found.. Currently it says 'net_rim_tsm_lib' not found.
I am not sure what is wrong with it. Please help.
Thank you in advance,
After searching the web and asking co-workers, I found out what was the problem. Basically, I was trying to use the secure element and the signing keys given to me by BlackBerry do not have permission to use the secure element. For my purpose, I do not need to access the secure element so I just took that part of the application out and it worked fine. However if you need to access the secure element, then you need to get the signing keys for the secure element. You can ask for them from BlackBerry, my request was not approved so I was not able to get the signing keys. Good luck with getting them.
Just a note, while searching over the web I found many reasons for the verification error. I am not sure if all of that is just BS and the whole reason behind the verification error is just some signing keys. So I am not sure if this is true for all of your issues.
Thanks
I am developing an iOS App with Push Notifications. I am able to successfully test the push notifications using the Developer APN Certificate but it does not work with the Production APN Certificate.
I have ensured that the profiles in the iOS Developer Portal (adhoc / distribution) are generated after Push Notification is enabled for the APP ID and have taken care to use the correct UA_KEY and UA_SECRET in AppDelegate.m.
Can anybody please provide insights on as to what could be the possible reason(s) why Push notifications are failing using Production Certificate but working fine with Development Certificate.
I finally seemed to have sorted this out and posting back here in hope that it may help.
The key point which helped me to identify the problem was to turn on 'Debugging' in the UA Console to see the details errors. (This was actually the suggestion provided by their support team)
Most probably you have figured that out by now. Anyway, I think the problem caused by not including your Production UA_Key and UA_Secret in your UAConfig file. It's better to follow up with the sample they provide in their Resources page as you can't go wrong with their sample.
I am using APNS service in my universal app (iPhone/iPad) and i am not geting notifications on device. Previously i was getting notifications perfectly but now a days with the same code at server side and client, it is not working.
On server side notification status is delivered but i am not receiving it on my device.
I have checked most of the questions on stackoverflow but i was unable to find my question. one guy said that in development environment it may have delays, but my problem is that i am not receiving notifications at all.
Note: i am using sandbox environment not production.
Just in case you haven't found a solution yet, one additional thing you could check is if your device's date and time is properly set (in the OS). If your iPod, iPhone or iPad isn't set to the current date, we found that notifications are ignored silently. Of course, there are many other possible explanations as to why your service stopped working, but this is a simple thing to check when everything else appears to be fine.
Following are the things you can check
Check the entitlements while codesigning the app. (They can be seen in Xcode build log).
Check whether notifications are on for the device in the settings menu.
If you are using corporate network on the iOS device, the push notifications might be blocked. Try using a different network.
After launching the app, check the organizer for any logs with the reason why push notifications can not be enabled.
I hope some of this helps you out.
I just revoke my certificates
Uploaded new certificates deleted all provision from my organizer
and then created new provisions and installed them on my system.
At the same time I got my APNS working.
I already have asked about how to test Push notification in iPhone.
Now I have to test the same in iPad. I found that the tool PushMeBaby does not work in iPad. When I tried to do so it is showing some Socket error(5).
Is there any other tool which helps me to test this? Or Can I fix this error in PushMeBaby tool and make it workable to test the same in iPad?
Thanks in advance.
I am adding this answer just for those who may do the same mistake I have done.
It was giving me error sometime otherwise it was neither giving any error nor any push message is displayed. The Problem was in Device Token. Since I did not copy/paste it but added it manually it was very difficult to find the miss characters. When I replaced it with copy/paste data and re-execute it, it is sending a push message for each click.
Those who believe that PushMeBaby tool is only for iPhone/iPod are wrong (including me before today). It is meant for all the devices. Hats Off to PushMeBaby.
I've recently started developing iphone applications for a project at school and I've been having some problems testing push notifications. I've read I need to get some SSL certificate from the program portal, but I cannot find the link AppID where I am supposed to get them. Is it really necesary even though I am just starting out making some tests in XCode? What else do I need to run push notifications?
I've started coding the client side, but I cannot register for remote notifications. (I run registerForRemoteNotificationTypes:..., but it cannot register) I think it is because I don´t have the certificates, but I really don´t know.
Thanks!!
you need to be enrolled in developer programe.you can not test push notification for free.