favret / poutoupush Goto Github PK
View Code? Open in Web Editor NEWSwift server side - push notification. APNS and GCM
Swift server side - push notification. APNS and GCM
* Expire in 0 ms for 6 (transfer 0x5573514f47d0)
* 38 bytes stray data read before trying h2 connection
* Found bundle for host api.push.apple.com: 0x7f80a400a250 [can multiplex]
* Connection 0 seems to be dead!
* Closing connection 0
* Expire in 1 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 2 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 2 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 2 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 2 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 2 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 2 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 2 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 0 ms for 1 (transfer 0x5573514f47d0)
* Expire in 2 ms for 1 (transfer 0x5573514f47d0)
* Expire in 1 ms for 1 (transfer 0x5573514f47d0)
* Expire in 1 ms for 1 (transfer 0x5573514f47d0)
* Expire in 1 ms for 1 (transfer 0x5573514f47d0)
* Trying 17.188.164.143...
* TCP_NODELAY set
* Expire in 149997 ms for 3 (transfer 0x5573514f47d0)
* Expire in 200 ms for 4 (transfer 0x5573514f47d0)
* Connected to api.push.apple.com (17.188.164.143) port 443 (#1)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
* SSL re-using session ID
* old SSL session ID is stale, removing
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=api.push.apple.com; OU=management:idms.group.533599; O=Apple Inc.; ST=California; C=US
* start date: Jan 6 00:14:15 2018 GMT
* expire date: Feb 5 00:14:15 2020 GMT
* subjectAltName: host "api.push.apple.com" matched cert's "api.push.apple.com"
* issuer: CN=Apple IST CA 2 - G1; OU=Certification Authority; O=Apple Inc.; C=US
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x5573514f47d0)
> POST /3/device/c6b5adc4ae736a307bad3bba6022ed47045ca17858f63ed4ffdd67a136c52c3a HTTP/2
Host: api.push.apple.com
Accept: */*
Content-Length: 713
Content-Type: application/x-www-form-urlencoded
* Connection state changed (MAX_CONCURRENT_STREAMS == 1000)!
* We are completely uploaded and fine
< HTTP/2 400
< apns-id: E5EC85D4-028F-38A9-0BFF-5B4850D8FF11
<
* Connection #1 to host api.push.apple.com left intact
* Re-using existing connection! (#1) with host api.development.push.apple.com
* Connected to api.development.push.apple.com (17.188.165.219) port 443 (#1)
* Using Stream ID: 9 (easy handle 0x102822c00)
> POST /3/device/c6b5adc4ae736a307bad3bba6022ed47045ca17858f63ed4ffdd67a136c52c3a HTTP/2
Host: api.development.push.apple.com
Accept: */*
Content-Length: 432
Content-Type: application/x-www-form-urlencoded
< HTTP/2 200
< apns-id: A1EAA33D-494A-3A6E-F011-481A5FD4A144
<
* Connection #1 to host api.development.push.apple.com left intact
ret = CURLcode(rawValue: 0)```
i am use this `package(url: "https://github.com/favret/PoutouPush.git", from: "0.0.5")` i cant get voip notification after 20/24 hours i have to restart my server for get voip notification does anybody know why i am getting this error?
i am using your this package on my swift perfect framework on local didn't test on production yet
http://prntscr.com/n10r95 ? what is reason ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.