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 command - timedout #17776

Closed
volker-raschek opened this issue Nov 1, 2019 · 3 comments
Closed

curl command - timedout #17776

volker-raschek opened this issue Nov 1, 2019 · 3 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug

Comments

@volker-raschek
Copy link

volker-raschek commented Nov 1, 2019

Steps to reproduce

  1. Start a nextcloud 17.0.0 environment with docker
  2. Install calendar app via browser or cli

Expected behaviour

Successfully installation of the calendar app

Actual behaviour

Get an error code 28 - timedout from curl. But I received some bytes over it. I
think the timeout is to low. See my screenshot below for the browser installation step.

1

The docker command returned the same error.

docker exec -it -u www-data cs_nextcloud php occ app:install calendar
Error: cURL error 28: Operation timed out after 30000 milliseconds with 556622 out of 1594265 bytes received (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Server configuration

Installed the server as docker container. Use a postgres 10.0 also as docker container.

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - accessibility: 1.3.0
  - activity: 2.10.1
  - cloud_federation_api: 1.0.0
  - comments: 1.7.0
  - dav: 1.13.0
  - federatedfilesharing: 1.7.0
  - federation: 1.7.0
  - files: 1.12.0
  - files_pdfviewer: 1.6.0
  - files_rightclick: 0.14.2
  - files_sharing: 1.9.0
  - files_trashbin: 1.7.0
  - files_versions: 1.10.0
  - files_videoplayer: 1.6.0
  - firstrunwizard: 2.6.0
  - gallery: 18.4.0
  - logreader: 2.2.0
  - lookup_server_connector: 1.5.0
  - nextcloud_announcements: 1.6.0
  - notifications: 2.5.0
  - oauth2: 1.5.0
  - password_policy: 1.7.0
  - privacy: 1.1.0
  - provisioning_api: 1.7.0
  - recommendations: 0.5.0
  - serverinfo: 1.7.0
  - sharebymail: 1.7.0
  - support: 1.0.1
  - survey_client: 1.5.0
  - systemtags: 1.7.0
  - text: 1.1.0
  - theming: 1.8.0
  - twofactor_backupcodes: 1.6.0
  - updatenotification: 1.7.0
  - viewer: 1.1.0
  - workflowengine: 1.7.0
Disabled:
  - admin_audit
  - encryption
  - files_external
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "htaccess.RewriteBase": "\/",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cs-nextcloud"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "17.0.0.9",
        "overwrite.cli.url": "http:\/\/cs-nextcloud",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true
    }
}
@volker-raschek volker-raschek added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Nov 1, 2019
@kesselb
Copy link
Contributor

kesselb commented Nov 3, 2019

Probably a regression from #16972. 30 might be a bit low.

@Refhi
Copy link

Refhi commented Aug 21, 2020

May I suggest just changing the error code to suggest the workaround (use the occ app:install) until the fix is ready ?

@kesselb
Copy link
Contributor

kesselb commented Aug 21, 2020

Timeout is now 120 seconds.

@kesselb kesselb closed this as completed Aug 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants