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

Document Server not installable - cURL error 28 #19008

Closed
christianvw opened this issue Jan 20, 2020 · 12 comments
Closed

Document Server not installable - cURL error 28 #19008

christianvw opened this issue Jan 20, 2020 · 12 comments

Comments

@christianvw
Copy link

@christianvw christianvw commented Jan 20, 2020

Steps to reproduce

  1. Use a moderate internet connection (since this is a timeout error)
  2. Install a larger app (e.g. Document Server - 300MB) via the "app store"
  3. Due to the timeout of 30 seconds it will fail

Expected behaviour

App should be fully installed.

Actual behaviour

Download fails with:

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

This is especially sad since the advertised "Nextcloud and OnlyOffice are pre-installed / ready-to-go" does not work anymore if you have a weak internet connection.

This might be due to a hard-coded timeout as shown in the (whyever closed) issues below:

Server configuration

Operating system: Linux / Debian

Web server: Apache

Database: MariaDB

PHP version: 7

Nextcloud version: 18.0.0 (see Nextcloud admin page)

Updated from an older Nextcloud/ownCloud or fresh install: Fresh install

Where did you install Nextcloud from: Docker Hub

@BeNeDeLuX

This comment has been minimized.

Copy link

@BeNeDeLuX BeNeDeLuX commented Jan 20, 2020

I can confirm the same Error here

@mfeske

This comment has been minimized.

Copy link

@mfeske mfeske commented Jan 21, 2020

I can confirm the same Error here

@kesselb

This comment has been minimized.

Copy link
Contributor

@kesselb kesselb commented Jan 21, 2020

This might be due to a hard-coded timeout as shown in the (whyever closed) issues below: #17685

At least I can give you an answer to this question: The issue was closed because it's a duplicate but I referenced the wrong issue number. That's indeed a bit confusing but fixed now.

@kesselb kesselb added the 18-feedback label Jan 21, 2020
@InfamousUser

This comment has been minimized.

Copy link

@InfamousUser InfamousUser commented Jan 24, 2020

"cURL error 28: Operation timed out after 30000 milliseconds with 130053548 out of 315860148 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)"

Remove the timeout, it doesn't make sense to assume that every app will install in same timeframe.
Or make each app have it's own value for "maximum install time" and enforce that.

@christianvw

This comment has been minimized.

Copy link
Author

@christianvw christianvw commented Jan 25, 2020

Even inside our datacenter with 1Gbit/s the download via app store crashed with a message like "an error occurred" on the front end. Nothing in the logs.

The app was listed in the app list but nothing worked.

@szaimen

This comment has been minimized.

Copy link

@szaimen szaimen commented Jan 25, 2020

I found this regarding the timeout:
#18976

@kesselb

This comment has been minimized.

Copy link
Contributor

@kesselb kesselb commented Jan 25, 2020

Should be fixed by #19017

@kesselb kesselb added the needs info label Jan 25, 2020
@marshalleq

This comment has been minimized.

Copy link

@marshalleq marshalleq commented Feb 9, 2020

I get this error over a Gigabit connection, seems like I should have stayed with it running in separate docker, am now without onlyoffice :(

@kesselb kesselb closed this Feb 9, 2020
@InfamousUser

This comment has been minimized.

Copy link

@InfamousUser InfamousUser commented Feb 10, 2020

Simply use the fix posted above.

@marshalleq

This comment has been minimized.

Copy link

@marshalleq marshalleq commented Feb 10, 2020

Sorry, I don't see an actual accessible fix, only a fix in source code, which given it needs to be compiled will not work for me. Nevertheless, I did a manual install and applied it that way. Unfortunately, there are more issues than just this one when it comes to enabling this '1 click' update. So it's a work in progress for me :)

@InfamousUser

This comment has been minimized.

Copy link

@InfamousUser InfamousUser commented Feb 11, 2020

No, you just change the timeout time in config file!

@klemens-u

This comment has been minimized.

Copy link

@klemens-u klemens-u commented Feb 18, 2020

Still an issue with 18.0.1
grafik

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

Successfully merging a pull request may close this issue.

None yet
8 participants
You can’t perform that action at this time.