Operation timed out after 5000 milliseconds with 0 bytes received

Forums SNAP – WordPress Plugin Forums Operation timed out after 5000 milliseconds with 0 bytes received

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #486908
    seventh
    Participant

      Hello!

      Some posts succesfully submitted to facebook and twitter, but don’t submitted to VK.com. In logs I see:

      [2016-02-08 22:08:09] - [Error] [vKontakte - https://vk.com/mygroup] - -=ERROR=- Array ( [pgID] => [isPosted] => 0 [pDate] => 2016-02-08 19:07:54 [Error] => Error: WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [0] => Operation timed out after 5000 milliseconds with 0 bytes received ) ) [error_data] => Array ( ) ) ) | PostID: 4948 - post title |im

      My own hosting – server at my home, I can do anything with it. What can I do?

      ______________
      Sorry for my English.

      #487786
      NextScripts.com
      Participant

        Please see the answer in the FAQ – #1.10:

        Support FAQ

        #491234
        seventh
        Participant

          I think the can be in curl and IPv6:

          root@7th-server:~# curl -v vk.com/
          * Trying 2a00:bdc0:3:103:1:0:403:907...
          * Immediate connect fail for 2a00:bdc0:3:103:1:0:403:907: Сеть недоступна (network unreacheble)
          * Trying 2a00:bdc0:3:103:1:0:403:908...
          * Immediate connect fail for 2a00:bdc0:3:103:1:0:403:908: Сеть недоступна
          * Trying 2a00:bdc0:3:103:1:0:403:909...
          * Immediate connect fail for 2a00:bdc0:3:103:1:0:403:909: Сеть недоступна
          * Trying 87.240.131.119...
          * Connected to vk.com (87.240.131.119) port 80 (#0)
          > GET / HTTP/1.1
          > Host: vk.com
          > User-Agent: curl/7.47.1
          > Accept: */*

          What can I do with it?

          #491235
          seventh
          Participant

            I think IPv6 generate timeouts. Google for it tell me that line:

            curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );

            Can I use it anywhere?
            Or some other ways to use only IPv4?

            Offtopic – thread notifications realy needed!
            ____
            Sorry for my English

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.