Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Its not correctly reporting results #58

Open
hjuraev opened this issue Aug 28, 2017 · 1 comment
Open

Its not correctly reporting results #58

hjuraev opened this issue Aug 28, 2017 · 1 comment

Comments

@hjuraev
Copy link

hjuraev commented Aug 28, 2017

No matter when kind of respond im getting from apple server its always success

  • We are completely uploaded and fine
    < HTTP/2 429
    < apns-id: FB0E795C-1FDC-4F4B-A823-E9BD1853EE2D
    <
  • Connection #0 to host api.development.push.apple.com left intact
    VaporAPNS.Result.success(apnsId: "FB0E795C-1FDC-4F4B-A823-E9BD1853EE2D", deviceToken: "85018c74733882e6a36efd32d6e4797fe6ea67476b01f382efd4ab37106c73b1", serviceStatus: VaporAPNS.ServiceStatus.success)
  • Found bundle for host api.development.push.apple.com: 0x102d2be00 [can multiplex]
  • Re-using existing connection! (#0) with host api.development.push.apple.com
  • Connected to api.development.push.apple.com (17.188.165.218) port 443 (#0)
  • Using Stream ID: 11 (easy handle 0x105823a00)
@edwinveger
Copy link

I too noticed that (sometimes?) errors are not parsed correctly.

VaporAPNS.swift:153 if let reason = jsonNode["reason"]?.string {

During development, set a breakpoint here and print the entire jsonNode instead to determine what's going in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants