Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPoison error Fatal - Unknown CA. #151

Closed
rlopzc opened this issue Apr 8, 2021 · 2 comments
Closed

HTTPoison error Fatal - Unknown CA. #151

rlopzc opened this issue Apr 8, 2021 · 2 comments

Comments

@rlopzc
Copy link

rlopzc commented Apr 8, 2021

2021-04-08T21:16:52.773335+00:00 app[web.1]: 21:16:52.772 [info] TLS :client: In state :certify at ssl_handshake.erl:1895 generated CLIENT ALERT: Fatal - Unknown CA
2021-04-08T21:16:52.773337+00:00 app[web.1]:
2021-04-08T21:16:52.774271+00:00 app[web.1]: 21:16:52.773 [error] Task #PID<0.4109.0> started from #PID<0.4108.0> terminating
2021-04-08T21:16:52.774274+00:00 app[web.1]: ** (HTTPoison.Error) {:tls_alert, {:unknown_ca, 'TLS client: In state certify at ssl_handshake.erl:1895 generated CLIENT ALERT: Fatal - Unknown CA\n'}}
2021-04-08T21:16:52.774274+00:00 app[web.1]: (ex_twilio 0.8.2) lib/ex_twilio/api.ex:19: ExTwilio.Api.request!/5
2021-04-08T21:16:52.774275+00:00 app[web.1]: (ex_twilio 0.8.2) lib/ex_twilio/api.ex:72: ExTwilio.Api.create/3

Seems that has to do something with twilio and not setting a connection, do you know what can I do to bypass this? It was working yesterday and haven't touch the code (is in production)

@rlopzc
Copy link
Author

rlopzc commented Apr 9, 2021

This seems to happen only in my CI and PROD environment, locally it works 🤔

@rlopzc
Copy link
Author

rlopzc commented Apr 12, 2021

Fo anyone else having this problem: certifi/erlang-certifi#46

I fixed it by doing: mix deps.update certifi

@rlopzc rlopzc closed this as completed Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant