ubuntu - What to do if Drupal seems not to connect with outside? -


today, out of blue, drupal 7 website began show message:

unable connect recaptcha server (www.google.com): 110: connection timed out 

in log error, found out gives error sending confirmation mail new accounts , i'm not able anymore long term access token facebook facebook wall module. seems drupal can't connect outside world... clue, don't see, going on?

the ubuntu server of site , running, site reachable.

in case, connection failed problem ipv6. reason reachable slowly. did

telnet google.it 80 

and found out reply

1) trying 2a00:1450:4007:80e::2003... 2) trying 216.58.208.227...  3) connected google.it. 4) escape character '^]'. 

took 1 minute pass line 1 line 2. disabled ipv6 on box adding these lines /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1  net.ipv6.conf.default.disable_ipv6 = 1  net.ipv6.conf.lo.disable_ipv6 = 1 

and restart sysctl

sudo sysctl -p 

and problems gone.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -