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?

Where Next?

Popular in Questions Top

joaquinalcerro
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 record...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
Phillipp
Hey, I have a NanoPi-M3 and try to install Elixir on their Ubuntu image. I followed the Raspberry Pi installation instructions from the ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
Exadra37
Sometimes I want to check if the input into a function is not a blank string. My first approach: defmodule Example do def do_stuff(s...
New
9mm
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

Other popular topics Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New

We're in Beta

About us Mission Statement