-
Notifications
You must be signed in to change notification settings - Fork 35
Unable to establish connection #44
Comments
Same here. Any workaround? |
Yes. I just decided to use other libraries. |
Funny thing but I found where the problem is. For some reason, if you comment out lines 607 & 608 (610 & 611 for windows) in apn.c: ======> Connecting to api.sandbox.push.apple.com:2197... Is anyone has the same issue? |
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?
The text was updated successfully, but these errors were encountered: