script
Pigeon library timeout error
Hi,
I have pigeon configured and I have obtained the certificates as mentioned in the documentation by converting key.12 and cert.12 into key.pem and cert.pem on a command line. But when I try to test the notification on the console. I am getting these logs and then the response is timeout. It’s my first time playing with push notifications.
00:40:15.086 function=decode/3 module=ssl_alert [info] TLS :client: In state :cipher received
SERVER ALERT: Fatal - Unknown CA
00:40:16.062 function=decode/3 module=ssl_alert [info] TLS :client: In state :cipher received
SERVER ALERT: Fatal - Unknown CA
00:40:17.150 function=decode/3 module=ssl_alert [info] TLS :client: In state :cipher received
SERVER ALERT: Fatal - Unknown CA
%Pigeon.APNS.Notification{
collapse_id: nil,
device_token:
"83a1497681c2e9",
expiration: nil,
id: nil,
payload: %{"aps" => %{"alert" => "testing push notification"}},
priority: nil,
push_type: "alert",
response: :timeout,
topic: "topic_name"
}
Pigeon version is 0.14 and the configuration is below:
It’s a umbrella application and these settings are present in the root config file.
config :pigeon, :apns,
apns_default: %{
cert: "priv/certs/cert.pem",
key: "priv/certs/key_unencrypted.pem",
mode: :dev
}
Any help will be much appreciaated.
Thank you
Most Liked
hpopp
Pigeon 0.14 is quite an old version, I’d recommend upgrading to 1.6. Also, what version of Kadabra are you using?
1
Last Post!
hpopp
Popular in Questions
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set?
Thanks.
New
Hi everyone!
I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible.
total = 10
while total != 0
...
New
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
I tried installing
elixir 1.11.2
erlang 23.3.4
via asdf in my zsh shell. Enabled the versions locally and globally.
When I list them ...
New
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service.
Currently when I de...
New
Other popular topics
Hi there,
I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
New
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
I am trying to run a deploy with docker and I successfully runned with this command:
docker build -t romenigld/blog-prod .
but when I t...
New
After calling mix ecto.create I get this error:
17:00:32.162 [error] GenServer #PID<0.412.0> terminating
** (Postgrex.Error) FATAL...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










