peburrows / goth

Elixir package for Oauth authentication via Google Cloud APIs
http://hexdocs.pm/goth
MIT License
289 stars 111 forks source link

Can't fetch token due to handshake error #68

Closed michaelst closed 4 years ago

michaelst commented 4 years ago
elixir -v
Erlang/OTP 22 [erts-10.7] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] [hipe] [dtrace]

Elixir 1.10.2 (compiled with Erlang/OTP 22)
iex(1)> Goth.Token.for_scope("https://www.googleapis.com/auth/pubsub")
[info] TLS :client: In state :certify at ssl_handshake.erl:377 generated CLIENT ALERT: Fatal - Internal Error
 - {:unexpected_error, :undef}
{:error,
 %HTTPoison.Error{
   id: nil,
   reason: {:tls_alert,
    {:internal_error,
     'TLS client: In state certify at ssl_handshake.erl:377 generated CLIENT ALERT: Fatal - Internal Error\n {unexpected_error,undef}'}}
 }}
michaelst commented 4 years ago

looks like it is an HTTPoison issue