Support » Plugin: UpdraftPlus WordPress Backup Plugin » Bad response when contacting Google: cURL error 7: Failed to connect to 2607:f8b

  • Resolved Fahmi Barnes

    (@fahmirixton)


    Hello. I need help. When i try to auth to GDrive, it error ‘Bad response when contacting Google: cURL error 7: Failed to connect to 2607:f8b0:4004:80d::200d: Network is unreachable. ‘ . I tried to figure it out what happend but still facing it. How can i fix this? thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Could you please try adding the following line of code to your wp-config.php file:
    define(‘UPDRAFTPLUS_IPV4_ONLY’, true);
    This will force UpdraftPlus to use IPv4 instead of IPv6. It may be that your server’s IPv6 setup is incorrect.

    Unfortunately, still error. “Bad response when contacting Google: cURL error 7: Failed to connect to 2607:f8b0:4004:80d::200d: Network is unreachable.” . Am i wrong place the code? thanks for help by the way.

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Did you place the code near the top of the wp-config file (at least above the ‘Stop Editing’ line)?
    Just below the Database configuration is ideal.

    Hello.
    I tried on below <?php and below the database config. Still got the error. Is this because my hosting?. Maybe i will try ask them too. Thank you.

    Plugin Contributor DNutbourne

    (@dnutbourne)

    Hi,

    Apologies for the delay.

    I’m afraid that this appears to be a problem with the server’s network connection. Could you ask your hosts to check the IPv6 installation and network connectivity?

    UpdraftPlus also has a tool available for testing Curl under the Advanced Tools tab.
    Find the ‘HTTP Get’ tool, enter a URL (such as http://ipinfo.io) and click ‘Fetch (Curl)’.
    This will either return information from that site or an error.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bad response when contacting Google: cURL error 7: Failed to connect to 2607:f8b’ is closed to new replies.