Comments (7)
Set the timeout to 30 s and now the requests work fine.
from node-apn.
Well, found it in the source code but somehow GitHub search did not list it. We have a lot of tokens and therefore it will take longer for later tokens. I will try it and update this ticket later.
from node-apn.
Are you sending these pushes using Parse Server or node-apn directly?
from node-apn.
They are sent through @parse/node-apn.
from node-apn.
You can increase the timeout using the requestTimeout
option in the config object and/or set your app to retry the message that has timed out.
from node-apn.
I only see requestTimeout in the documentation but not in the source code. Is this value still being used and how can it be set?
from node-apn.
I had the same error message popup and in my case it was because I didn't define a topic for the notification. (I am upgrading from an old version of node-apn).
from node-apn.
Related Issues (20)
- Security vulnerability in node-forge HOT 1
- Location Push Service Notification Support HOT 2
- Notification successfully sent but not received HOT 5
- iOS Push Notification Error: {reason: 'TopicDisallowed'} HOT 3
- shutdown callback is not passed through from the Provider to the Client HOT 2
- Upgrade jsonwebtoken library HOT 3
- Resource leak when calling shutdown before finish writing HOT 1
- Is this project abandoned? HOT 4
- Add support for Node 18, 20 HOT 3
- Uncaught VError: Failed to generate token: secretOrPrivateKey must be an asymmetric key when using ES256 HOT 3
- Live Activity app not producing proper APS payload (events instead of event, missing dismissal-date) HOT 1
- I miss the localised subtitle properties `subtitle-loc-key` and `subtitle-loc-args` because you're using old Apple documentation HOT 1
- GOAWAY errors HOT 7
- topic missing in type ProviderOptions HOT 6
- Stream ended unexpectedly with status null and empty body HOT 8
- [Question] How do i use the buffer for the key parameter? HOT 3
- ENOENT: no such file or directory, open './voip.pem' HOT 1
- node-forge upgrade? HOT 1
- How can i use .pem file HOT 1
- aps property on Notification is being set to undefined 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 node-apn.