Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cURL error 28: Operation timed out #20

Open
boorcode opened this issue Jan 18, 2018 · 3 comments
Open

cURL error 28: Operation timed out #20

boorcode opened this issue Jan 18, 2018 · 3 comments

Comments

@boorcode
Copy link

cURL error 28: Operation timed out after 60001 milliseconds with 49054 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

请问是什么原因,怎么解决?

@zGaron
Copy link
Contributor

zGaron commented Apr 27, 2018

curl有两个超时
一个是建立 http链接时的链接超时。
一个是建立链接后,传输内容过程超时。

这个应该是后者 .

@kiddyuchina
Copy link
Owner

kiddyuchina commented Apr 27, 2018

composer require kiddyu/beanbun dev-master
是否可以解决?

@zGaron
Copy link
Contributor

zGaron commented Apr 27, 2018

我能想到的也就是,延长采集的超时的时间设置(如果是你要抓取的服务器抛出的超时就没办法了)
或者提高采集速度,用更快的网络,可能是用的代理的速度问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants