Adding Facebook IPv6 to Centos, getting CurlException 7
Posted
by
Nick
on Server Fault
See other posts from Server Fault
or by Nick
Published on 2012-07-03T17:58:26Z
Indexed on
2012/07/04
3:17 UTC
Read the original article
Hit count: 644
I'm correctly get following error. After searching about this issue, correct me if i'm wrong, I believe that adding/configuring IPv6 should solve the problem.
PHP Fatal error: Uncaught CurlException: 7: Failed to connect to 2a03:2880:10:8f02:face:b00c:0:26: Network is unreachable\n thrown in /var/www/vhosts/facedex.net/httpdocs/fb/apps/seemyfuture/src/base_facebook.php on line 886
The problem is I dont know the right way to add it. There seems to have may methods. http://tldp.org/HOWTO/Linux+IPv6-HOWTO/x1035.html#AEN1044 http://unix.stackexchange.com/questions/34093/static-ipv4-ipv6-configuration-on-centos-6-2
My netstat show this. Shell doesnt recogize -rn6 though.It shows invalid option -- 6
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
27.254.38.128 0.0.0.0 255.255.255.128 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 27.254.38.254 0.0.0.0 UG 0 0 0 eth0
FYI: I'm using Centos 5.7.
Thank you a lot in advance.
© Server Fault or respective owner