Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to send message ID 1: Internal error #153

Open
juanqui66 opened this issue May 2, 2017 · 0 comments
Open

Unable to send message ID 1: Internal error #153

juanqui66 opened this issue May 2, 2017 · 0 comments

Comments

@juanqui66
Copy link

Hello, I can not send a PUSH message in sandbox mode (in production mode I have not tried it yet). Or I have timeout problems or when writing (@fwrite) always says '0 bytes written'.

Any ideas?

I leave here the trace that leaves the sending of a single message PUSH:

Tue, 02 May 2017 13:23:09 0200 ApnsPHP [22524]: INFO: Trying tls: //gateway.sandbox.push.apple.com: 2195 ...
Tue, 02 May 2017 13:23:10 0200 ApnsPHP [22524]: INFO: Connected to tls: //gateway.sandbox.push.apple.com: 2195.
Tue, 02 May 2017 13:23:10 0200 ApnsPHP [22524]: INFO: Sending messages queue, run # 1: 1 message (s) left in queue.
Tue, 02 May 2017 13:23:10 0200 ApnsPHP [22524]: STATUS: Sending message ID 1 [custom identifier: Message-Badge-3] (1/3): 167 bytes.
Tue, 02 May 2017 13:23:10 0200 ApnsPHP [22524]: ERROR: Unable to send message ID 1: Internal error (0 bytes written instead of 167 bytes) (999).
Tue, 02 May 2017 13:23:10 0200 ApnsPHP [22524]: INFO: Disconnected.
Tue, 02 May 2017 13:23:10 0200 ApnsPHP [22524]: INFO: Trying tls: //gateway.sandbox.push.apple.com: 2195 ...
Tue, 02 May 2017 13:23:10 0200 ApnsPHP [22524]: ERROR: Unable to connect to 'tls: //gateway.sandbox.push.apple.com: 2195': (0)
Tue, 02 May 2017 13:23:10 0200 ApnsPHP [22524]: INFO: Retry to connect (1/3) ...
Tue, 02 May 2017 13:23:11 0200 ApnsPHP [22524]: INFO: Trying tls: //gateway.sandbox.push.apple.com: 2195 ...
Tue, 02 May 2017 13:23:12 0200 ApnsPHP [22524]: ERROR: Unable to connect to 'tls: //gateway.sandbox.push.apple.com: 2195': (0)
Tue, 02 May 2017 13:23:12 0200 ApnsPHP [22524]: INFO: Retry to connect (2/3) ...
Tue, 02 May 2017 13:23:13 0200 ApnsPHP [22524]: INFO: Trying tls: //gateway.sandbox.push.apple.com: 2195 ...
Tue, 02 May 2017 13:23:14 0200 ApnsPHP [22524]: ERROR: Unable to connect to 'tls: //gateway.sandbox.push.apple.com: 2195': (0)
Tue, 02 May 2017 13:23:14 0200 ApnsPHP [22524]: INFO: Retry to connect (3/3) ...
Tue, 02 May 2017 13:23:15 0200 ApnsPHP [22524]: INFO: Trying tls: //gateway.sandbox.push.apple.com: 2195 ...
Tue, 02 May 2017 13:23:15 0200 ApnsPHP [22524]: ERROR: Unable to connect to 'tls: //gateway.sandbox.push.apple.com: 2195': (0)


Fatal error : Uncaught ApnsPHP_Exception: Unable to connect to 'tls: //gateway.sandbox.push.apple.com: 2195': (0) in D: \ XAMPP \ htdocs \ easy_santa \ json \ 000 \ push \ ApnsPHP-master \ ApnsPHP \ Abstract.php: 396 Stack trace: ApnsPHP-master \ ApnsPHP \ Abstract.php (334): ApnsPHP_Abstract-> _connect () # 1 D: \ XAMPP \ htdocs \ easy_santa \ json \ 000 \ push \ ApnsPHP-master \ ApnsPHP \ Push.php (357): ApnsPHP_Abstract-> connect () # 2 D: \ XAMPP \ htdocs \ easy_santa \ json \ 000 \ push \ ApnsPHP-master \ ApnsPHP \ Push.php (185): ApnsPHP_Push-> _updateQueue (Array) # 3 D: \ XAMPP \ htdocs \ easy_santa \ json \ 000 \ push \ ApnsPHP-master \ sample_push.php (80): ApnsPHP_Push-> send () # 4 {main}   Thrown in D: \ XAMPP \ htdocs \ easy_santa \ json \ 000 \ push \ ApnsPHP-master \ ApnsPHP \ Abstract.php 396
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant