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

Authentication failure! Connection reset by peer: Faraday::SSLError #65

Open
AdityaTiwari2102 opened this issue May 31, 2021 · 0 comments

Comments

@AdityaTiwari2102
Copy link

I'm trying to set up an authentication via LinkedIn in the rails 5.2 application, for the same I'm referring to the documentation given by devise but I am getting the following error:

D, [2021-05-31T05:35:53.970669 #6] DEBUG -- omniauth: (linkedin) Request phase initiated.
Started GET "/users/auth/linkedin/callback?code=[FILTERED]&state=9e349ee89f75a4549e047dcb67da2c9a6a9b484fa8820480" for 172.19.0.1 at 2021-05-31 05:36:09 +0000
D, [2021-05-31T05:36:09.697959 #6] DEBUG -- omniauth: (linkedin) Callback phase initiated.
E, [2021-05-31T05:36:09.870838 #6] ERROR -- omniauth: (linkedin) Authentication failure! Connection reset by peer: Faraday::SSLError, Connection reset by peer

I have added these using the following gems for the configuration

  1. devise ~> 4.8.0
  2. omniauth-linkedin-oauth2 ~> 1.0.0
  3. omniauth ~> 2.0.4

I even tried running on the active domain in the production server which contains the valid SSL certificate but still, the same error is thrown. How should I fix this?

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