PerfectlySoft / PerfectlySoft/Perfect-Notifications

Refresh APNS Connection

Open
#11 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
117
Forks
29
Avg merge
16m
Merged PRs (30d)
1

Description

Hello,

APNS service has a known. bug that, if you send a request in a session which stays idle for a while, APNS service returns an internal server error such that : "500 Internal Server Error: Unable to write frame"

Other push services overcome this problem by refreshing their APNS connections when they encounter this kind of a problem. (for example: https://github.com/relayrides/pushy/pull/529)

Is there a way to refresh connection in Perfect Notifications?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the APNSClient entry point and locate how APNS connections handle requests after an idle period. Reproduce the reported “Unable to write frame” error, then verify that a failed idle connection can be refreshed and the request succeeds afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.