Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7503635
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:17:59+00:00 2026-05-29T21:17:59+00:00

It’s been now 1 week that I am facing this problem. I’m trying to

  • 0

It’s been now 1 week that I am facing this problem. I’m trying to get the push notification service to work on my app in 3 different ways. Here are the steps I followed (I suppose registration for a developer account, creation of the app id and generation of the push certificate are done):

Retrieve the device token.

  • PushMeBaby iPhone app :

Insert the aps_developer_identity.cer into the PushMeBaby app under Resources.


Copy paste the device token with spaces (also tried without spaces) into self.deviceToken


Copy paste aps_developer_identity into self.certificate

When running the app, I get asked to allow the use of the private key, here is the output I have :

2012-02-01 15:10:44.464 PushMeBaby[21219:903] MakeServerConnection(): 0


2012-02-01 15:10:44.482 PushMeBaby[21219:903] SSLNewContext(): 0


2012-02-01 15:10:44.486 PushMeBaby[21219:903] SSLSetIOFuncs(): 0


2012-02-01 15:10:44.488 PushMeBaby[21219:903] SSLSetConnection(): 0


2012-02-01 15:10:44.490 PushMeBaby[21219:903] SSLSetPeerDomainName(): 0


2012-02-01 15:10:44.492 PushMeBaby[21219:903] SecKeychainOpen(): 0


2012-02-01 15:10:44.493 PushMeBaby[21219:903] SecCertificateCreateFromData(): 0


2012-02-01 15:10:44.504 PushMeBaby[21219:903] SecIdentityCreateWithCertificate(): 0


2012-02-01 15:10:44.505 PushMeBaby[21219:903] SSLSetCertificate(): 0


2012-02-01 15:11:12.420 PushMeBaby[21219:903] SSLHandshake(): 0

Then when I press “push” :

2012-02-01 15:11:26.767 PushMeBaby[21219:903] SSLWrite(): 0 78

and “push” again :

2012-02-01 15:11:38.668 PushMeBaby[21219:903] SSLWrite(): 0 78

The value of the variable “processed” doesn’t change ! And of course I do not get any push notification on my iPhone.

  • Javapns :

Download the needed libraries form the website http://code.google.com/p/javapns/wiki/GeneralRequirements


Generate a .p12 file exporting the push certificate and the private key associated to it.


Copy paste the java code

import javapns.Push;

 public class PushTest {


  public static void main(String[] args) {

            Push.alert("Hello World!", "keystore.p12", "keystore_password", false, "My token");
  }

}

into a java class, replacing the device token with the right device token without spaces, adding the .p12 file and the right password.


Debugging the project allows me to see this message :

Transmitted: device token My device token

But no notification into my iPhone !
When changing the device token I have a “invalid device token” message

  • php script :

Followed the steps here


Got the messages :

Connected to APNS


Message successfully delivered

But didn’t get any notification on my iPhone either !

Would you guys have any idea on what went wrong ?
Could it be a problem with the provisioning profile ? But then would I be able to retrieve the device token ? I saw in some previous questions something related to the date setting so I added this in the php script and my iPhone is set to automatically set the date parameters. I think I tried also quitting the app, but nothing did. I did something unusual, which is using the app id for 2 different apps, I’m now just wild guessing since I don’t know where to look. Any help would be much appreciated. Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:18:00+00:00Added an answer on May 29, 2026 at 9:18 pm

    It was actually an error from the IT team which generated the wrong SSL push certificate !

    And the value of the variable “processed” mentioned in the question is related to the number of characters in the payload.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a jquery bug and I've been looking for hours now, I can't
this is what i have right now Drawing an RSS feed into the php,
I'm trying to create an if statement in PHP that prevents a single post
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.