Comments (6)
@kylebrowning Do you have an idea about this issue? It's really making it hard for us to use this library in production, as we constantly have to monitor the logs and restart our servers if the connection timed out.
from apns.
Unsure. Last time I looked into this it's an issue on apples end.
from apns.
Would it be possible to implement a timeout function, so that if it has not received a response within a certain time period it releases the connection to the pool again, so it stops blocking other requests?
Also, what's the status of #24 - so we perhaps could try with a longer timeout?
from apns.
That sounds really possible, unfortunately Ive got a done of day job work right now, and my weekends are filled. Are you able to try that? Its probably doing to be a kylebrowning/APNSwift thing instead of here.
I dont think #24 will help you because when I researched this Apple just never returns anything.
from apns.
I created a PR for it here: swift-server-community/APNSwift#101
from apns.
This was resolved upstream in version 2.3.0
from apns.
Related Issues (16)
- A new connection to APN server created for each request. HOT 15
- Allow swapping of configurations HOT 6
- Mock client for testing HOT 4
- Tag a new relaease? HOT 1
- Connection deadlock after random time HOT 6
- Jan 9 HOT 2
- Bundle GeoTrust Global CA certificate HOT 1
- Support for sending PushNotifications via ProxyServer HOT 7
- Pass `Request.logger` as default logger parameter HOT 3
- Can't send "contentAvailable" on it's own HOT 14
- Getting invalidProviderToken HOT 1
- Feature Request: How to register the APNSClient with Application? HOT 1
- Update to 4.0.0-beta.2 not working HOT 3
- Use Data, not ByteBuffer HOT 1
- Doesn't work with certificates HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apns.