script

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

hpopp

Pigeon 0.14 is quite an old version, I’d recommend upgrading to 1.6. Also, what version of Kadabra are you using?

Last Post!

hpopp

hpopp

Did you update to Kadabra 0.6 as well? There have been changes with the CA validation.

Where Next?

Popular in Questions Top

hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
Brian
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
dokuzbir
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
gshaw
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
shijith.k
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
marius95
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
romenigld
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 Top

rms.mrcs
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
JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
vertexbuffer
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
dokuzbir
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
gshaw
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
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42576 114
New

We're in Beta

About us Mission Statement