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 946117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:51:50+00:00 2026-05-15T22:51:50+00:00

We had no problem sending notifications to provisioned devices using the development certification and

  • 0

We had no problem sending notifications to provisioned devices using the development certification and gateway.sandbox.push.apple.com. But now now that our app is in the store, it appears we can’t even connect to the production apn server (gateway.push.apple.com) to send pushes, even when we’re using the machines that created the certificates in the first place.

We’ve run this through PushMeBaby and it looks like the connection to gateway.push.apple.com is getting refused. When it executes the handshake ( SSLHandshake(context) ) the result is error code -9044, or errSSLConnectionRefused – The peer dropped the connection before responding.

I know enough about ssl and encryption to know that I don’t know a thing, but I’m pretty sure that the issue is (or starts with) our production SSL cert. Push notification is enabled for production in the iPhone portal (we have a green light). The certificate has been installed on the machine running PushMeBaby and I see both the certificate and the signing key in my keychain. When I exported the development push certificate and used it in PushMeBaby, I was able to connect (and send pushes) no problem. But with the production cert, We get nowhere. We’ve repeatedly revoked and recreated both the dev cert and the prod cert on two separate computers, so if this is human error, we’re doing it repeatedly.

One thing that may be a factor is that I have the “team agent” key on my keychain, but I’m not her. I can and have submitted binaries to the App store without any issue.

Also, we’ve not set up a provisioning profile after creating the production cert. I’m not sure if that’s a factor, but I can’t see how it might be for an in-store app.

I sure hope someone has some ideas, because I’m out of them!

  • 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-15T22:51:50+00:00Added an answer on May 15, 2026 at 10:51 pm

    Yes, I’ve solved this error.
    I lost a few days finding the solution.

    The problem is in the line:

    result = SSLSetPeerDomainName(context, "gateway.sandbox.push.apple.com", 30); 
    
    NSLog(@"SSLSetPeerDomainName(): %d", result);
    

    You have to change the port to number 30. This solves the problem.

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

Sidebar

Ask A Question

Stats

  • Questions 510k
  • Answers 510k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Have you tried Aviary? http://aviary.com/tools/raven May 16, 2026 at 5:00 pm
  • Editorial Team
    Editorial Team added an answer you can trick the parser with something like $str =… May 16, 2026 at 5:00 pm
  • Editorial Team
    Editorial Team added an answer No it's not. In fact, if you peek into IsInstanceOfType… May 16, 2026 at 5:00 pm

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

When apple developed the UITableView for the first iPhone they had a problem in
I have a web app (.NET 3.5) which is sending notifications by email to
We are looking at sending some email notifications to about 1100 employees at a
I am using PHP to connect to apn s to send some notifications to
I'm quite stuck with a problem sending mail from a PHP script. Some data:
I seem to have a problem, I have a growing business to run but
I had a problem with my svn server so I had to get all
Ive had a problem that I cant fix while creating an image carousel in
I have to add e-mail notifications to a client server application. Notifications happen as
I've incorporated Apple's Reachability sample into my own project so I know whether or

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.