Comments (3)
I attempted to gain some more info by setting PUSH_LOGLEVEL=debug but that didn't reveal much:
12:13:53.976 [debug] POST /v2/notification/deadbeef
12:13:53.977 [info] Reconnecting to push service provider before request
12:14:53.977 [warning] Unable to complete push request due to timeout
12:14:53.977 [debug] Sent 500 in 60001ms
Anyway the non-communication was caused by an invalid client certificate - I reckon APNS would've complained, but if it did, it wasn't handled by mongoosepush service.
from mongoosepush.
Hi @ghard ,
I'm happy that you've managed to debug the issue.
We are currently rewriting the core of MongoosePush - the logs will be significantly improved and there will be more metrics. As for HTTP error status - I completely agree - we were planning to use 4XX codes, but we decided to wait till we have the refactored version. MongoosePush will use custom 4XX codes that will unify APNS and FCM errors. All of which will be properly documented.
from mongoosepush.
Thanks for the info. Logging and error messaging, reporting configuration errors will help reduce initial frustration - especially for people who aren't well enough versed in Elixir to be able to debug the code. I'll be excited to take it out for a spin when done. Now I need to finish integrating this with our backend services.
from mongoosepush.
Related Issues (20)
- FCM error: Unable to complete push request due to service error: INVALID_ARGUMENT in category: invalid_request HOT 3
- MAM query archive response containing empty 'to' field HOT 1
- mongoosepush start error HOT 5
- Unauthorized error HOT 4
- Getting genserver crash every few minutes HOT 3
- Swagger HOT 2
- Inconsistent behaviour sending data payload on apns vs. fcm HOT 13
- TooManyProviderTokenUpdates HOT 3
- MongoosePush crashes at startup HOT 2
- MongoosePush crashes at startup HOT 1
- When hit MongoosePush API nothing to show in web browser HOT 1
- Failed to start H2 connection HOT 1
- where do I find sys.config? HOT 1
- Is it possible to disable SSL certificate for http endpoint? HOT 2
- Question - Is it possible to disable Push Notifications based on a user's 'Do not disturb' status? HOT 2
- Crash at startup with token.p8 - bad_auth HOT 3
- FCM not sending notification HOT 2
- Server cannot create ssl connection HOT 2
- Is it possible to send apns notification to fcm while using with mongooseim HOT 2
- `no_matching_pool` error while trying to send notification to fcm HOT 11
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 mongoosepush.