Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Unable to establish connection #44

@AlanMaxwell

Description

@AlanMaxwell

Hello.
I tried to use performed example on Ubuntu and Mac OS, but every time I get the same error:

======> Connecting to gateway.sandbox.push.apple.com:2195...
======> Resolving server hostname...
======> Creating socket...
======> Socket successfully created
======> Trying to connect to x.x.x.x...
======> Could not to connect to: Operation now in progress (errno: 36)
======> Trying to connect to x.x.x.x...
======> Could not to connect to: Operation already in progress (errno: 37)
======> Trying to connect to x.x.x.x...
======> Could not to connect to: Operation already in progress (errno: 37)
======> Trying to connect to x.x.x.x...
======> Could not to connect to: Operation already in progress (errno: 37)
======> Trying to connect to x.x.x.x...
======> Could not to connect to: Operation already in progress (errno: 37)
======> Trying to connect to x.x.x.x...
======> Could not to connect to: Operation already in progress (errno: 37)
======> Trying to connect to x.x.x.x...
======> Could not to connect to: Operation already in progress (errno: 37)
======> Trying to connect to x.x.x.x...
======> Could not to connect to: Operation already in progress (errno: 37)
======> Unable to establish connection
======> Connection closing...
======> Connection closed
Could not connect to Apple Push Notification Service: unable to establish connection (errno: 9013)

Instead of x.x.x.x are various IPs.

I tried two ways:
-p12 file
-cert and key .pem files

Tried to use apn-pusher and got the same result.

I tested certificates with the other push-messaging applications and they are working.

What should I do to make it work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions