-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection timeout when attempting push in prod mode #76
Comments
I attempted to gain some more info by setting PUSH_LOGLEVEL=debug but that didn't reveal much: 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. |
Hi @ghard , I'm happy that you've managed to debug the issue. |
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. |
When running the latest official docker container
A simple check with curl:
times out with no reply.
console output:
The last message gets repeated each time I try it so I suspect that it's some sort of a connection error. It is not reported on the console though.
When using mode: dev we get a reply:
{"details":"bad_device_token"}
as expected.( Are you sure changing the original 4XX reply from APNS to a 500 Internal Server Error, which would indicate that something is wrong with the push server and not the request is The Right Thing(TM) to do in the sense of following the HTTP and REST semantics? )
The text was updated successfully, but these errors were encountered: