• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Registration and authentication via Facebook plugin not working

Status
Not open for further replies.

mamedov

Chevereto Member
Website URL
<private>

Chevereto version
3.10.3

Description of the issue
Registration and authentication via Facebook plugin not working after enabling SSL certificate. It's trying to connect to the Facebook ipv6 public IP address, but under server itself ipv6 is disabled totaly. Error reporting when trying to press FB auth button on the site.
=======================
Fatal error [7]: Failed to connect to 2a03:2880:f01b:1:face:b00c:0:1: Cannot assign requested address
Triggered in /app/vendor/facebook/HttpClients/FacebookCurlHttpClient.php at line 73
=======================
With disabled SSL works fine. Under FB developers app, https:// is added before install SSL.
Rodolfo, any suggestions?
 
Maybe you need to open port 443?

If that doesn't work then the issue is that SSL is not working properly. The error indicates this line:

upload_2017-9-26_18-0-9.png

Curl error 7 stands for "Failed to connect() to host or proxy." which means that your server isn't capable to connect via SSL to Facebook.

In that case the issue will be more related to a bad cert, bad cert installation, outdated/wrong SSL library, etc. Things related to how the thing actually works.
 
How to tell chevereto to use specific IP address on the server when curl send request? Chevereto isn't bind default main IP on the server. I was bind chevereto to the second IP address and SSL also. The is no SSL issue, I think..
 
Ehhh.. Chevereto has nothing to do there, is your website setting which does that thing. Like I said, the error says that your server can't connect via SSL to Facebook. Nothing to configure or hack at Chevereto, nothing related to which website has which IP, is just that the SSL connection is not happening.

The connection is being blocked which could be due to port, firewall or any restriction that you may have on that particular IP.
 
There is no firewall.
Solved by adding: resolver 8.8.8.8 ipv6=off; to nginx location / after proxy_pass
 
Cool, so it was something very silly avoiding the connection. Happens all the time.
 
Status
Not open for further replies.
Back
Top