› Forums › SNAP – WordPress Plugin Forums › Operation timed out after 5000 milliseconds with 0 bytes received
- This topic has 3 replies, 1 voice, and was last updated 8 years, 10 months ago by seventh.
- AuthorPosts
- February 8, 2016 at 2:26 pm #486908seventhParticipant
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.February 11, 2016 at 2:45 pm #487786Please see the answer in the FAQ – #1.10:
February 28, 2016 at 2:29 pm #491234seventhParticipantI 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?
February 28, 2016 at 2:30 pm #491235seventhParticipantI 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 - AuthorPosts
- You must be logged in to reply to this topic.