Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Invalid IPv6 configuration on server #312

Open
Maxwell2022 opened this issue Feb 28, 2014 · 2 comments
Open

Invalid IPv6 configuration on server #312

Maxwell2022 opened this issue Feb 28, 2014 · 2 comments

Comments

@Maxwell2022
Copy link

I'm getting this error that is apparently generated by cURL in the Facebook SDK.
It says that the way to fix it is to specify the curl option to use IPV4 only.

self::$CURL_OPTS[CURLOPT_IPRESOLVE] = CURL_IPRESOLVE_V4;

I'm wondering where should I put this line of code. Can I overwrite the fos_facebook service?

@diegoholiveira
Copy link

Send a PR fixing it.

@Maxwell2022
Copy link
Author

Before sending a PR I just want to know if there is a way to set cURL options in the current bundle (even if I didn't see it).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants