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 would like to know what is the best IDE for elixir development?
New
What is the proper way to load a module from a file in to IEX?
In the python world, doing something like this pretty standard:
from ....
New
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
What is the idiomatic way of matching for not nil in Elixir?
E.g.,
First way:
defp halt_if_not_signed_in(conn, signed_in_account) when...
New
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
Hello everyone,
I try to use an Javascript Event Handler in my root.html.leex file.
Therefore I created a function in the app.js file: ...
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
Other popular topics
Hi,
I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
Hello, how can I check the Phoenix version ?
Thanks !
New
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
What is the idiomatic way of matching for not nil in Elixir?
E.g.,
First way:
defp halt_if_not_signed_in(conn, signed_in_account) when...
New
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
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









