{"action":"created","issue":{"url":"https://api.github.com/repos/laruence/yar/issues/54","repository_url":"https://api.github.com/repos/laruence/yar","labels_url":"https://api.github.com/repos/laruence/yar/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/laruence/yar/issues/54/comments","events_url":"https://api.github.com/repos/laruence/yar/issues/54/events","html_url":"https://github.com/laruence/yar/issues/54","id":95647688,"number":54,"title":"windows 平台 报错 Yar_Client_Transport_Exception' with message 'curl exec failed 'Timeout was reached'","user":{"login":"agclqq","id":12854967,"avatar_url":"https://avatars.githubusercontent.com/u/12854967?v=3","gravatar_id":"","url":"https://api.github.com/users/agclqq","html_url":"https://github.com/agclqq","followers_url":"https://api.github.com/users/agclqq/followers","following_url":"https://api.github.com/users/agclqq/following{/other_user}","gists_url":"https://api.github.com/users/agclqq/gists{/gist_id}","starred_url":"https://api.github.com/users/agclqq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agclqq/subscriptions","organizations_url":"https://api.github.com/users/agclqq/orgs","repos_url":"https://api.github.com/users/agclqq/repos","events_url":"https://api.github.com/users/agclqq/events{/privacy}","received_events_url":"https://api.github.com/users/agclqq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-17T12:29:29Z","updated_at":"2016-03-04T04:19:56Z","closed_at":null,"body":"BUG现象同：https://github.com/laruence/yar/issues/15\r\n环境：\r\n    windows7\r\n    php5.6.10/5.6.11 （nts x86）\r\n    nginx 1.9.2\r\n    cURL Information \t7.42.1 \r\n    msgpack 0.5.6\r\n    yar 1.2.3/1.2.4 \r\n    \r\n错误为：\r\nYar_Client_Transport_Exception’ with message ‘curl exec failed ‘Timeout was reached’\r\n\r\n配置了php.ini中yar.debug=1，可以看到：\r\nWarning: [Debug Yar_Client 18:39:21.422666]: 575645727: call api ‘api’ at (r)’http://zftest/yar/service/TestServiceProvider.php‘ with ’1′ parameters in E:\\workspace\\test_project\\unit_test\\src\\main\\yar\\client\\TestConsumer.php on line 31\r\n\r\nWarning: [Debug Yar_Client 18:39:21.422666]: 575645727: pack request by ‘PHP’, result len ’80′, content: ‘a:3:{s:1:”i”;i:575645727;s:1:”m”‘ in E:\\workspace\\test_project\\unit_test\\src\\main\\yar\\client\\TestConsumer.php on line 31\r\n\r\n跟了一下nginx的access日志：\r\nPOST /yar/service/TestServiceProvider.php HTTP/1.1 499 0 4.992\r\n第一部分，post请求，\r\n第二部分：请求地址与协议，\r\n第三部分：返回的http状态码\r\n第四部分：消息体长度\r\n第五部分：请求时长"},"comment":{"url":"https://api.github.com/repos/laruence/yar/issues/comments/192093475","html_url":"https://github.com/laruence/yar/issues/54#issuecomment-192093475","issue_url":"https://api.github.com/repos/laruence/yar/issues/54","id":192093475,"user":{"login":"lidonghui-ht","id":17560994,"avatar_url":"https://avatars.githubusercontent.com/u/17560994?v=3","gravatar_id":"","url":"https://api.github.com/users/lidonghui-ht","html_url":"https://github.com/lidonghui-ht","followers_url":"https://api.github.com/users/lidonghui-ht/followers","following_url":"https://api.github.com/users/lidonghui-ht/following{/other_user}","gists_url":"https://api.github.com/users/lidonghui-ht/gists{/gist_id}","starred_url":"https://api.github.com/users/lidonghui-ht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lidonghui-ht/subscriptions","organizations_url":"https://api.github.com/users/lidonghui-ht/orgs","repos_url":"https://api.github.com/users/lidonghui-ht/repos","events_url":"https://api.github.com/users/lidonghui-ht/events{/privacy}","received_events_url":"https://api.github.com/users/lidonghui-ht/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T04:19:56Z","updated_at":"2016-03-04T04:19:56Z","body":"不知道跟Server API\tCGI/FastCGI有没有关系 我用wamp环境试了下就可以了 Server API\tapache 2.0"}}