Giter VIP home page Giter VIP logo

Comments (3)

ghard avatar ghard commented on May 23, 2024

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.

rslota avatar rslota commented on May 23, 2024

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.

ghard avatar ghard commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.