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_exec: Operation timed out after 9984 milliseconds with 6716088 out of 13344050 bytes received. Hostname requested was: builds.piwik.org #7280

Closed
mattab opened this issue Feb 23, 2015 · 7 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Feb 23, 2015

Reported on this forum post

The goal of this issue is to increase timeout to leave more time to the Piwik servers to download the latest release.

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Feb 23, 2015
@mattab mattab modified the milestones: Piwik 2.12.0, Piwik 2.11.2 Feb 23, 2015
@mnapoli mnapoli self-assigned this Feb 24, 2015
@tryallthethings
Copy link

30 seconds didn't work out on our server. I had to change it to 120s to make it work

@mnapoli
Copy link
Contributor

mnapoli commented Feb 24, 2015

@mattab any opinion on making the timeout 120s? It seems a bit high to me (with the risk of users thinking the app is crashed) but if it's really necessary why not.

@diosmosis
Copy link
Member

It might be possible to create a downloader that downloads in the background using CliMulti, (ie start a download in a CliMulti process then the UI sends AJAX requests to an API method that inspects the CliMulti process output to get the percent done). Might require some modifications to CliMulti.

@mattab
Copy link
Member Author

mattab commented Feb 25, 2015

it's kinda expected that not all servers can download ~13mb in 30s (433kb/s). If we assume a server can only download 100kb/s then it would make sense to increase timeout to 130s (whether downloading zip or tar.gz)

Also, it may make sense that instead of having piwik instances download the .zip package which is currently 13mb, we would change to download .tar.gz which is 9.5Mb (25% less)

mnapoli added a commit that referenced this issue Feb 25, 2015
@mnapoli
Copy link
Contributor

mnapoli commented Feb 25, 2015

It is now 120s!

@roddyofchina
Copy link

hello, my pwiki verion is 2.13.1 , now I met this problem. Modify code for 120s .The problem is not solved.

@mattab
Copy link
Member Author

mattab commented Jun 12, 2015

Hi @roddyofchina do you mind creating a new issue here, and pasting the error message you got, or a screenshot maybe? we will investigate, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

5 participants