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

Imaginary cURL error 28 #37654

Closed
6 of 9 tasks
DenuxPlays opened this issue Apr 9, 2023 · 8 comments
Closed
6 of 9 tasks

Imaginary cURL error 28 #37654

DenuxPlays opened this issue Apr 9, 2023 · 8 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 25-feedback bug needs info

Comments

@DenuxPlays
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.

Bug description

Imaginary throws a lot of errors (cURL 28) when a lot of images gets processed (in may cass MediaDC oder recognize).
Error:

[no app in context] Error: GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 30001 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D at <<closure>>

 0. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 158
    GuzzleHttp\Handler\CurlFactory::createRejection(["GuzzleHttp\\Ha ... l], [28,"Operation t ... "])
 1. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 110
    GuzzleHttp\Handler\CurlFactory::finishError(["GuzzleHttp\\Handler\\CurlHandler"], ["GuzzleHttp\\Ha ... l], ["GuzzleHttp\\Handler\\CurlFactory"])
 2. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php line 47
    GuzzleHttp\Handler\CurlFactory::finish(["GuzzleHttp\\Handler\\CurlHandler"], ["GuzzleHttp\\Ha ... l], ["GuzzleHttp\\Handler\\CurlFactory"])
 3. /var/www/html/lib/private/Http/Client/DnsPinMiddleware.php line 113
    GuzzleHttp\Handler\CurlHandler->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
 4. /var/www/html/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 64
    OC\Http\Client\DnsPinMiddleware->OC\Http\Client\{closure}("*** sensitive parameters replaced ***")
 5. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 31
    GuzzleHttp\PrepareBodyMiddleware->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
 6. /var/www/html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 71
    GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
 7. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 63
    GuzzleHttp\RedirectMiddleware->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
 8. /var/www/html/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php line 75
    GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
 9. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 331
    GuzzleHttp\HandlerStack->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
10. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 168
    GuzzleHttp\Client->transfer("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
11. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 187
    GuzzleHttp\Client->requestAsync("post", ["GuzzleHttp\\Psr7\\Uri"], ["/mnt/ncdata/fi ... "])
12. /var/www/html/lib/private/Http/Client/Client.php line 289
    GuzzleHttp\Client->request("post", "http://nextclou ... e", ["/mnt/ncdata/fi ... "])
13. /var/www/html/lib/private/Preview/Imaginary.php line 141
    OC\Http\Client\Client->post("http://nextclou ... e", [["[{\"operation ... ]])
14. /var/www/html/lib/private/Preview/GeneratorHelper.php line 63
    OC\Preview\Imaginary->getCroppedThumbnail(["OC\\Files\\Node\\File"], 2048, 2048, false)
15. /var/www/html/lib/private/Preview/Generator.php line 343
    OC\Preview\GeneratorHelper->getThumbnail(["OC\\Preview\\Imaginary"], ["OC\\Files\\Node\\File"], 2048, 2048)
16. /var/www/html/lib/private/Preview/Generator.php line 162
    OC\Preview\Generator->getMaxPreview(["OC\\Files\\SimpleFS\\SimpleFolder"], ["OC\\Files\\Node\\File"], "image/jpeg", "")
17. /var/www/html/lib/private/Preview/Generator.php line 114
    OC\Preview\Generator->generatePreviews(["OC\\Files\\Node\\File"], [[1024,1024,false,"fill"]], "image/jpeg")
18. /var/www/html/lib/private/PreviewManager.php line 185
    OC\Preview\Generator->getPreview(["OC\\Files\\Node\\File"], 1024, 1024, false, "fill", null)
19. /var/www/html/custom_apps/recognize/lib/Classifiers/Classifier.php line 255
    OC\PreviewManager->getPreview(["OC\\Files\\Node\\File"], 1024, 1024)
20. /var/www/html/custom_apps/recognize/lib/Classifiers/Classifier.php line 84
    OCA\Recognize\Classifiers\Classifier->getConvertedFilePath(["OC\\Files\\Node\\File"])
21. /var/www/html/custom_apps/recognize/lib/Classifiers/Images/ClusteringFaceClassifier.php line 83
    OCA\Recognize\Classifiers\Classifier->classifyFiles("faces", [["OCA\\Recogniz ... "], 120)
22. /var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifyFacesJob.php line 41
    OCA\Recognize\Classifiers\Images\ClusteringFaceClassifier->classify([["OCA\\Recogniz ... "])
23. /var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifierJob.php line 70
    OCA\Recognize\BackgroundJobs\ClassifyFacesJob->classify([["OCA\\Recogniz ... "])
24. /var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifyFacesJob.php line 33
    OCA\Recognize\BackgroundJobs\ClassifierJob->runClassifier("faces", [3,140])
25. /var/www/html/lib/public/BackgroundJob/Job.php line 78
    OCA\Recognize\BackgroundJobs\ClassifyFacesJob->run([3,140])
26. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 103
    OCP\BackgroundJob\Job->start(["OC\\BackgroundJob\\JobList"])
27. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 93
    OCP\BackgroundJob\TimedJob->start(["OC\\BackgroundJob\\JobList"])
28. /var/www/html/cron.php line 152
    OCP\BackgroundJob\TimedJob->execute(["OC\\BackgroundJob\\JobList"], ["OC\\Log"])

at 2023-04-09T12:15:52+00:00

The message pops up about 2 times a Minute.
Screenshot_20230409_142607_Brave

This also slowes the whole nextcloud down a lot.

Steps to reproduce

  1. Install nextcloud aio version 4.7.0
  2. Enable Imaginary
  3. Install recognize via the occ command
  4. Take look at the logs

Expected behavior

No error and no massive Performance issues.

Installation method

Official All-in-One appliance

Nextcloud Server version

25

Operating system

RHEL/CentOS

PHP engine version

PHP 8.0

Web server

Apache (supported)

Database engine version

PostgreSQL

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Enabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "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***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "overwritehost": "nextcloud.denux.dev",
        "overwriteprotocol": "https",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud.denux.dev"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "25.0.5.1",
        "overwrite.cli.url": "https:\/\/nextcloud.denux.dev\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "loglevel": "2",
        "log_type": "file",
        "logfile": "\/var\/www\/html\/data\/nextcloud.log",
        "log_rotate_size": "10485760",
        "log.condition": {
            "apps": [
                "admin_audit"
            ]
        },
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "enabledPreviewProviders": {
            "1": "OC\\Preview\\Image",
            "2": "OC\\Preview\\MarkDown",
            "3": "OC\\Preview\\MP3",
            "4": "OC\\Preview\\TXT",
            "5": "OC\\Preview\\OpenDocument",
            "6": "OC\\Preview\\Movie",
            "0": "OC\\Preview\\Imaginary"
        },
        "enable_previews": true,
        "upgrade.disable-web": true,
        "mail_smtpmode": "sendmail",
        "trashbin_retention_obligation": "auto, 30",
        "versions_retention_obligation": "auto, 30",
        "activity_expire_days": "30",
        "simpleSignUpLink.shown": false,
        "share_folder": "\/Shared",
        "tempdirectory": "\/mnt\/ncdata\/tmp\/",
        "one-click-instance": true,
        "one-click-instance.user-limit": 100,
        "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
        "htaccess.RewriteBase": "\/",
        "files_external_allow_create_new_local": false,
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "allow_local_remote_servers": true,
        "mail_sendmailmode": "pipe",
        "preview_imaginary_url": "http:\/\/nextcloud-aio-imaginary:9000",
        "maintenance": false,
        "app_install_overwrite": [
            "mindmap_app",
            "extract"
        ],
        "default_phone_region": "DE"
    }
}

List of activated Apps

- activity: 2.17.0
  - admin_audit: 1.15.0
  - bruteforcesettings: 2.5.0
  - calendar: 4.3.2
  - cloud_federation_api: 1.8.0
  - cloud_py_api: 0.1.7
  - comments: 1.15.0
  - contacts: 5.2.0
  - contactsinteraction: 1.6.0
  - dashboard: 7.5.0
  - dav: 1.24.0
  - deck: 1.8.3
  - drawio: 2.1.0
  - encryption: 2.13.0
  - extract: 1.3.5
  - federatedfilesharing: 1.15.0
  - federation: 1.15.0
  - files: 1.20.1
  - files_fulltextsearch: 25.0.0
  - files_pdfviewer: 2.6.0
  - files_retention: 1.14.1
  - files_rightclick: 1.4.0
  - files_sharing: 1.17.0
  - files_trashbin: 1.15.0
  - files_versions: 1.18.0
  - firstrunwizard: 2.14.0
  - forms: 3.2.0
  - fulltextsearch: 25.0.0
  - fulltextsearch_elasticsearch: 25.0.0
  - groupfolders: 13.1.1
  - logreader: 2.10.0
  - lookup_server_connector: 1.13.0
  - mail: 2.2.5
  - mediadc: 0.3.5
  - nextcloud-aio: 0.3.0
  - nextcloud_announcements: 1.14.0
  - notes: 4.7.2
  - notifications: 2.13.1
  - notify_push: 0.6.2
  - oauth2: 1.13.0
  - password_policy: 1.15.0
  - photos: 2.0.1
  - privacy: 1.9.0
  - provisioning_api: 1.15.0
  - recognize: 3.7.0
  - recommendations: 1.4.0
  - related_resources: 1.0.4
  - richdocuments: 7.1.2
  - serverinfo: 1.15.0
  - settings: 1.7.0
  - sharebymail: 1.15.0
  - spreed: 15.0.5
  - support: 1.8.0
  - survey_client: 1.13.0
  - systemtags: 1.15.0
  - tasks: 0.14.5
  - text: 3.6.0
  - theming: 2.0.1
  - twofactor_backupcodes: 1.14.0
  - twofactor_totp: 7.0.0
  - user_status: 1.5.0
  - viewer: 1.9.0
  - weather_status: 1.5.0
  - workflowengine: 2.7.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"IUjQIwQKVSJr41fDYKkx","level":3,"time":"2023-04-09T12:35:36+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Imaginary preview generation failed: cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D","userAgent":"--","version":"25.0.5.1","exception":{"Exception":"GuzzleHttp\\Exception\\ConnectException","Message":"cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":158,"function":"createRejection","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\EasyHandle",["GuzzleHttp\\Psr7\\Stream"],["HTTP/1.1 100 Continue"],["GuzzleHttp\\Psr7\\Response"],"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***",28,null,null],[28,"Operation timed out after 30000 milliseconds with 0 bytes received",0,"http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D",null,"And 36 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":110,"function":"finishError","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\CurlHandler"],["GuzzleHttp\\Handler\\EasyHandle",["GuzzleHttp\\Psr7\\Stream"],["HTTP/1.1 100 Continue"],["GuzzleHttp\\Psr7\\Response"],"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***",28,null,null],["GuzzleHttp\\Handler\\CurlFactory"]]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php","line":47,"function":"finish","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\CurlHandler"],["GuzzleHttp\\Handler\\EasyHandle",["GuzzleHttp\\Psr7\\Stream"],["HTTP/1.1 100 Continue"],["GuzzleHttp\\Psr7\\Response"],"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***",28,null,null],["GuzzleHttp\\Handler\\CurlFactory"]]},{"file":"/var/www/html/lib/private/Http/Client/DnsPinMiddleware.php","line":113,"function":"__invoke","class":"GuzzleHttp\\Handler\\CurlHandler","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php","line":64,"function":"OC\\Http\\Client\\{closure}","class":"OC\\Http\\Client\\DnsPinMiddleware","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":31,"function":"__invoke","class":"GuzzleHttp\\PrepareBodyMiddleware","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":63,"function":"__invoke","class":"GuzzleHttp\\RedirectMiddleware","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php","line":75,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":331,"function":"__invoke","class":"GuzzleHttp\\HandlerStack","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":168,"function":"transfer","class":"GuzzleHttp\\Client","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->","args":["post",["GuzzleHttp\\Psr7\\Uri"],["/mnt/ncdata/files_external/rootcerts.crt",30,["[{\"operation\":\"autorotate\"},{\"operation\":\"fit\",\"params\":{\"width\":2048,\"height\":2048,\"stripmeta\":\"true\",\"type\":\"jpeg\",\"norotation\":\"true\",\"quality\":\"60\"}}]"],true,"image/jpeg","And 9 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/Http/Client/Client.php","line":289,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["post","http://nextcloud-aio-imaginary:9000/pipeline",["/mnt/ncdata/files_external/rootcerts.crt",30,["[{\"operation\":\"autorotate\"},{\"operation\":\"fit\",\"params\":{\"width\":2048,\"height\":2048,\"stripmeta\":\"true\",\"type\":\"jpeg\",\"norotation\":\"true\",\"quality\":\"60\"}}]"],true,"image/jpeg","And 4 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/Preview/Imaginary.php","line":141,"function":"post","class":"OC\\Http\\Client\\Client","type":"->","args":["http://nextcloud-aio-imaginary:9000/pipeline",[["[{\"operation\":\"autorotate\"},{\"operation\":\"fit\",\"params\":{\"width\":2048,\"height\":2048,\"stripmeta\":\"true\",\"type\":\"jpeg\",\"norotation\":\"true\",\"quality\":\"60\"}}]"],true,"image/jpeg",null,[true]]]},{"file":"/var/www/html/lib/private/Preview/GeneratorHelper.php","line":63,"function":"getCroppedThumbnail","class":"OC\\Preview\\Imaginary","type":"->","args":[["OC\\Files\\Node\\File"],2048,2048,false]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":343,"function":"getThumbnail","class":"OC\\Preview\\GeneratorHelper","type":"->","args":[["OC\\Preview\\Imaginary"],["OC\\Files\\Node\\File"],2048,2048]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":162,"function":"getMaxPreview","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\SimpleFS\\SimpleFolder"],["OC\\Files\\Node\\File"],"image/jpeg",""]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":114,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\Node\\File"],[[1024,1024,false,"fill"]],"image/jpeg"]},{"file":"/var/www/html/lib/private/PreviewManager.php","line":185,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\Node\\File"],1024,1024,false,"fill",null]},{"file":"/var/www/html/custom_apps/recognize/lib/Classifiers/Classifier.php","line":255,"function":"getPreview","class":"OC\\PreviewManager","type":"->","args":[["OC\\Files\\Node\\File"],1024,1024]},{"file":"/var/www/html/custom_apps/recognize/lib/Classifiers/Classifier.php","line":84,"function":"getConvertedFilePath","class":"OCA\\Recognize\\Classifiers\\Classifier","type":"->","args":[["OC\\Files\\Node\\File"]]},{"file":"/var/www/html/custom_apps/recognize/lib/Classifiers/Images/ClusteringFaceClassifier.php","line":83,"function":"classifyFiles","class":"OCA\\Recognize\\Classifiers\\Classifier","type":"->","args":["faces",[["OCA\\Recognize\\Db\\QueueFile",5914],["OCA\\Recognize\\Db\\QueueFile",5915],["OCA\\Recognize\\Db\\QueueFile",4958],["OCA\\Recognize\\Db\\QueueFile",4969],["OCA\\Recognize\\Db\\QueueFile",5620],"And 495 more entries, set log level to debug to see all entries"],120]},{"file":"/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifyFacesJob.php","line":41,"function":"classify","class":"OCA\\Recognize\\Classifiers\\Images\\ClusteringFaceClassifier","type":"->","args":[[["OCA\\Recognize\\Db\\QueueFile",5914],["OCA\\Recognize\\Db\\QueueFile",5915],["OCA\\Recognize\\Db\\QueueFile",4958],["OCA\\Recognize\\Db\\QueueFile",4969],["OCA\\Recognize\\Db\\QueueFile",5620],"And 495 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifierJob.php","line":70,"function":"classify","class":"OCA\\Recognize\\BackgroundJobs\\ClassifyFacesJob","type":"->","args":[[["OCA\\Recognize\\Db\\QueueFile",5914],["OCA\\Recognize\\Db\\QueueFile",5915],["OCA\\Recognize\\Db\\QueueFile",4958],["OCA\\Recognize\\Db\\QueueFile",4969],["OCA\\Recognize\\Db\\QueueFile",5620],"And 495 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifyFacesJob.php","line":33,"function":"runClassifier","class":"OCA\\Recognize\\BackgroundJobs\\ClassifierJob","type":"->","args":["faces",[3,140]]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\Recognize\\BackgroundJobs\\ClassifyFacesJob","type":"->","args":[[3,140]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","Line":210,"message":"Imaginary preview generation failed: cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D","exception":[],"CustomMessage":"Imaginary preview generation failed: cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D"},"id":"6432b31276f08"},
{"reqId":"IUjQIwQKVSJr41fDYKkx","level":3,"time":"2023-04-09T12:35:02+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Imaginary preview generation failed: cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D","userAgent":"--","version":"25.0.5.1","exception":{"Exception":"GuzzleHttp\\Exception\\ConnectException","Message":"cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":158,"function":"createRejection","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\EasyHandle",["GuzzleHttp\\Psr7\\Stream"],["HTTP/1.1 100 Continue"],["GuzzleHttp\\Psr7\\Response"],"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***",28,null,null],[28,"Operation timed out after 30000 milliseconds with 0 bytes received",0,"http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D",null,"And 36 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":110,"function":"finishError","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\CurlHandler"],["GuzzleHttp\\Handler\\EasyHandle",["GuzzleHttp\\Psr7\\Stream"],["HTTP/1.1 100 Continue"],["GuzzleHttp\\Psr7\\Response"],"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***",28,null,null],["GuzzleHttp\\Handler\\CurlFactory"]]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php","line":47,"function":"finish","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\CurlHandler"],["GuzzleHttp\\Handler\\EasyHandle",["GuzzleHttp\\Psr7\\Stream"],["HTTP/1.1 100 Continue"],["GuzzleHttp\\Psr7\\Response"],"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***",28,null,null],["GuzzleHttp\\Handler\\CurlFactory"]]},{"file":"/var/www/html/lib/private/Http/Client/DnsPinMiddleware.php","line":113,"function":"__invoke","class":"GuzzleHttp\\Handler\\CurlHandler","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php","line":64,"function":"OC\\Http\\Client\\{closure}","class":"OC\\Http\\Client\\DnsPinMiddleware","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":31,"function":"__invoke","class":"GuzzleHttp\\PrepareBodyMiddleware","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":63,"function":"__invoke","class":"GuzzleHttp\\RedirectMiddleware","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php","line":75,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":331,"function":"__invoke","class":"GuzzleHttp\\HandlerStack","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":168,"function":"transfer","class":"GuzzleHttp\\Client","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->","args":["post",["GuzzleHttp\\Psr7\\Uri"],["/mnt/ncdata/files_external/rootcerts.crt",30,["[{\"operation\":\"autorotate\"},{\"operation\":\"fit\",\"params\":{\"width\":2048,\"height\":2048,\"stripmeta\":\"true\",\"type\":\"jpeg\",\"norotation\":\"true\",\"quality\":\"60\"}}]"],true,"image/jpeg","And 9 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/Http/Client/Client.php","line":289,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["post","http://nextcloud-aio-imaginary:9000/pipeline",["/mnt/ncdata/files_external/rootcerts.crt",30,["[{\"operation\":\"autorotate\"},{\"operation\":\"fit\",\"params\":{\"width\":2048,\"height\":2048,\"stripmeta\":\"true\",\"type\":\"jpeg\",\"norotation\":\"true\",\"quality\":\"60\"}}]"],true,"image/jpeg","And 4 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/Preview/Imaginary.php","line":141,"function":"post","class":"OC\\Http\\Client\\Client","type":"->","args":["http://nextcloud-aio-imaginary:9000/pipeline",[["[{\"operation\":\"autorotate\"},{\"operation\":\"fit\",\"params\":{\"width\":2048,\"height\":2048,\"stripmeta\":\"true\",\"type\":\"jpeg\",\"norotation\":\"true\",\"quality\":\"60\"}}]"],true,"image/jpeg",null,[true]]]},{"file":"/var/www/html/lib/private/Preview/GeneratorHelper.php","line":63,"function":"getCroppedThumbnail","class":"OC\\Preview\\Imaginary","type":"->","args":[["OC\\Files\\Node\\File"],2048,2048,false]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":343,"function":"getThumbnail","class":"OC\\Preview\\GeneratorHelper","type":"->","args":[["OC\\Preview\\Imaginary"],["OC\\Files\\Node\\File"],2048,2048]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":162,"function":"getMaxPreview","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\SimpleFS\\SimpleFolder"],["OC\\Files\\Node\\File"],"image/jpeg",""]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":114,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\Node\\File"],[[1024,1024,false,"fill"]],"image/jpeg"]},{"file":"/var/www/html/lib/private/PreviewManager.php","line":185,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\Node\\File"],1024,1024,false,"fill",null]},{"file":"/var/www/html/custom_apps/recognize/lib/Classifiers/Classifier.php","line":255,"function":"getPreview","class":"OC\\PreviewManager","type":"->","args":[["OC\\Files\\Node\\File"],1024,1024]},{"file":"/var/www/html/custom_apps/recognize/lib/Classifiers/Classifier.php","line":84,"function":"getConvertedFilePath","class":"OCA\\Recognize\\Classifiers\\Classifier","type":"->","args":[["OC\\Files\\Node\\File"]]},{"file":"/var/www/html/custom_apps/recognize/lib/Classifiers/Images/ClusteringFaceClassifier.php","line":83,"function":"classifyFiles","class":"OCA\\Recognize\\Classifiers\\Classifier","type":"->","args":["faces",[["OCA\\Recognize\\Db\\QueueFile",5914],["OCA\\Recognize\\Db\\QueueFile",5915],["OCA\\Recognize\\Db\\QueueFile",4958],["OCA\\Recognize\\Db\\QueueFile",4969],["OCA\\Recognize\\Db\\QueueFile",5620],"And 495 more entries, set log level to debug to see all entries"],120]},{"file":"/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifyFacesJob.php","line":41,"function":"classify","class":"OCA\\Recognize\\Classifiers\\Images\\ClusteringFaceClassifier","type":"->","args":[[["OCA\\Recognize\\Db\\QueueFile",5914],["OCA\\Recognize\\Db\\QueueFile",5915],["OCA\\Recognize\\Db\\QueueFile",4958],["OCA\\Recognize\\Db\\QueueFile",4969],["OCA\\Recognize\\Db\\QueueFile",5620],"And 495 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifierJob.php","line":70,"function":"classify","class":"OCA\\Recognize\\BackgroundJobs\\ClassifyFacesJob","type":"->","args":[[["OCA\\Recognize\\Db\\QueueFile",5914],["OCA\\Recognize\\Db\\QueueFile",5915],["OCA\\Recognize\\Db\\QueueFile",4958],["OCA\\Recognize\\Db\\QueueFile",4969],["OCA\\Recognize\\Db\\QueueFile",5620],"And 495 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifyFacesJob.php","line":33,"function":"runClassifier","class":"OCA\\Recognize\\BackgroundJobs\\ClassifierJob","type":"->","args":["faces",[3,140]]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\Recognize\\BackgroundJobs\\ClassifyFacesJob","type":"->","args":[[3,140]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","Line":210,"message":"Imaginary preview generation failed: cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D","exception":[],"CustomMessage":"Imaginary preview generation failed: cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D"},"id":"6432b328a2107"},
{"reqId":"IUjQIwQKVSJr41fDYKkx","level":3,"time":"2023-04-09T12:34:29+00:00","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Imaginary preview generation failed: cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D","userAgent":"--","version":"25.0.5.1","exception":{"Exception":"GuzzleHttp\\Exception\\ConnectException","Message":"cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D","Code":0,"Trace":[{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":158,"function":"createRejection","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\EasyHandle",["GuzzleHttp\\Psr7\\Stream"],["HTTP/1.1 100 Continue"],["GuzzleHttp\\Psr7\\Response"],"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***",28,null,null],[28,"Operation timed out after 30000 milliseconds with 0 bytes received",0,"http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D",null,"And 36 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":110,"function":"finishError","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\CurlHandler"],["GuzzleHttp\\Handler\\EasyHandle",["GuzzleHttp\\Psr7\\Stream"],["HTTP/1.1 100 Continue"],["GuzzleHttp\\Psr7\\Response"],"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***",28,null,null],["GuzzleHttp\\Handler\\CurlFactory"]]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php","line":47,"function":"finish","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[["GuzzleHttp\\Handler\\CurlHandler"],["GuzzleHttp\\Handler\\EasyHandle",["GuzzleHttp\\Psr7\\Stream"],["HTTP/1.1 100 Continue"],["GuzzleHttp\\Psr7\\Response"],"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***",28,null,null],["GuzzleHttp\\Handler\\CurlFactory"]]},{"file":"/var/www/html/lib/private/Http/Client/DnsPinMiddleware.php","line":113,"function":"__invoke","class":"GuzzleHttp\\Handler\\CurlHandler","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php","line":64,"function":"OC\\Http\\Client\\{closure}","class":"OC\\Http\\Client\\DnsPinMiddleware","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":31,"function":"__invoke","class":"GuzzleHttp\\PrepareBodyMiddleware","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":71,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":63,"function":"__invoke","class":"GuzzleHttp\\RedirectMiddleware","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php","line":75,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":331,"function":"__invoke","class":"GuzzleHttp\\HandlerStack","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":168,"function":"transfer","class":"GuzzleHttp\\Client","type":"->","args":["*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->","args":["post",["GuzzleHttp\\Psr7\\Uri"],["/mnt/ncdata/files_external/rootcerts.crt",30,["[{\"operation\":\"autorotate\"},{\"operation\":\"fit\",\"params\":{\"width\":2048,\"height\":2048,\"stripmeta\":\"true\",\"type\":\"jpeg\",\"norotation\":\"true\",\"quality\":\"60\"}}]"],true,"image/jpeg","And 9 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/Http/Client/Client.php","line":289,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["post","http://nextcloud-aio-imaginary:9000/pipeline",["/mnt/ncdata/files_external/rootcerts.crt",30,["[{\"operation\":\"autorotate\"},{\"operation\":\"fit\",\"params\":{\"width\":2048,\"height\":2048,\"stripmeta\":\"true\",\"type\":\"jpeg\",\"norotation\":\"true\",\"quality\":\"60\"}}]"],true,"image/jpeg","And 4 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/Preview/Imaginary.php","line":141,"function":"post","class":"OC\\Http\\Client\\Client","type":"->","args":["http://nextcloud-aio-imaginary:9000/pipeline",[["[{\"operation\":\"autorotate\"},{\"operation\":\"fit\",\"params\":{\"width\":2048,\"height\":2048,\"stripmeta\":\"true\",\"type\":\"jpeg\",\"norotation\":\"true\",\"quality\":\"60\"}}]"],true,"image/jpeg",null,[true]]]},{"file":"/var/www/html/lib/private/Preview/GeneratorHelper.php","line":63,"function":"getCroppedThumbnail","class":"OC\\Preview\\Imaginary","type":"->","args":[["OC\\Files\\Node\\File"],2048,2048,false]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":343,"function":"getThumbnail","class":"OC\\Preview\\GeneratorHelper","type":"->","args":[["OC\\Preview\\Imaginary"],["OC\\Files\\Node\\File"],2048,2048]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":162,"function":"getMaxPreview","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\SimpleFS\\SimpleFolder"],["OC\\Files\\Node\\File"],"image/jpeg",""]},{"file":"/var/www/html/lib/private/Preview/Generator.php","line":114,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\Node\\File"],[[1024,1024,false,"fill"]],"image/jpeg"]},{"file":"/var/www/html/lib/private/PreviewManager.php","line":185,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->","args":[["OC\\Files\\Node\\File"],1024,1024,false,"fill",null]},{"file":"/var/www/html/custom_apps/recognize/lib/Classifiers/Classifier.php","line":255,"function":"getPreview","class":"OC\\PreviewManager","type":"->","args":[["OC\\Files\\Node\\File"],1024,1024]},{"file":"/var/www/html/custom_apps/recognize/lib/Classifiers/Classifier.php","line":84,"function":"getConvertedFilePath","class":"OCA\\Recognize\\Classifiers\\Classifier","type":"->","args":[["OC\\Files\\Node\\File"]]},{"file":"/var/www/html/custom_apps/recognize/lib/Classifiers/Images/ClusteringFaceClassifier.php","line":83,"function":"classifyFiles","class":"OCA\\Recognize\\Classifiers\\Classifier","type":"->","args":["faces",[["OCA\\Recognize\\Db\\QueueFile",5914],["OCA\\Recognize\\Db\\QueueFile",5915],["OCA\\Recognize\\Db\\QueueFile",4958],["OCA\\Recognize\\Db\\QueueFile",4969],["OCA\\Recognize\\Db\\QueueFile",5620],"And 495 more entries, set log level to debug to see all entries"],120]},{"file":"/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifyFacesJob.php","line":41,"function":"classify","class":"OCA\\Recognize\\Classifiers\\Images\\ClusteringFaceClassifier","type":"->","args":[[["OCA\\Recognize\\Db\\QueueFile",5914],["OCA\\Recognize\\Db\\QueueFile",5915],["OCA\\Recognize\\Db\\QueueFile",4958],["OCA\\Recognize\\Db\\QueueFile",4969],["OCA\\Recognize\\Db\\QueueFile",5620],"And 495 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifierJob.php","line":70,"function":"classify","class":"OCA\\Recognize\\BackgroundJobs\\ClassifyFacesJob","type":"->","args":[[["OCA\\Recognize\\Db\\QueueFile",5914],["OCA\\Recognize\\Db\\QueueFile",5915],["OCA\\Recognize\\Db\\QueueFile",4958],["OCA\\Recognize\\Db\\QueueFile",4969],["OCA\\Recognize\\Db\\QueueFile",5620],"And 495 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifyFacesJob.php","line":33,"function":"runClassifier","class":"OCA\\Recognize\\BackgroundJobs\\ClassifierJob","type":"->","args":["faces",[3,140]]},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\Recognize\\BackgroundJobs\\ClassifyFacesJob","type":"->","args":[[3,140]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"]]},{"file":"/var/www/html/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->","args":[["OC\\BackgroundJob\\JobList"],["OC\\Log"]]}],"File":"/var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","Line":210,"message":"Imaginary preview generation failed: cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D","exception":[],"CustomMessage":"Imaginary preview generation failed: cURL error 28: Operation timed out after 30000 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A2048%2C%22height%22%3A2048%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D"},"id":"6432b328a23d0"}

Additional info

No response

@DenuxPlays DenuxPlays added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Apr 9, 2023
@DenuxPlays
Copy link
Author

DenuxPlays commented Apr 18, 2023

Note:

  • Also appears on nextcloud 26 (26.0.0.1 RC)
  • Also appears on a fresh nextcloud install (Nextcloud AIO v4.9.0 Beta) after auto uploading images from my iPhone (occurred after round about 500 photos)

Related discussion with more information: nextcloud/all-in-one#2295

@solracsf
Copy link
Member

solracsf commented May 7, 2023

Can this help here?
#37148

@DenuxPlays
Copy link
Author

DenuxPlays commented May 8, 2023

Can this help here?

#37148

Already tried it... see here
Also no bytes are send in the first place so this would not really solve it afaik.

@solracsf
Copy link
Member

solracsf commented May 8, 2023

Well it doesn't receive bytes (0) because the Imaginary has timed out, it's normal it doesn't send anything back.
What isn't normal is that it times ou after 30s instead of 120s after patch has been applied.

@DenuxPlays
Copy link
Author

Well it doesn't receive bytes (0) because the Imaginary has timed out, it's normal it doesn't send anything back.

What isn't normal is that it times ou after 30s instead of 120s after patch has been applied.

Yeah we also noticed this.
Double checked it so the patch was applied.

@szaimen szaimen closed this as completed Jun 4, 2023
@traklo
Copy link

traklo commented Jun 18, 2023

Same issue on AIO v6.1.1 - 26.0.2... This and #35643 causes Nextcloud to crash. Any ideas?

@szaimen
Copy link
Contributor

szaimen commented Jun 18, 2023

Hm... This should be resolved in the meantime. Can you create a new issue with up-to-date information?

@DenuxPlays
Copy link
Author

Hm... This should be resolved in the meantime. Can you create a new issue with up-to-date information?

I recently enabled imaginary again.
The error is now gone but a new one appeared.
I'll create a new issue with the new information I have later that day.

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 25-feedback bug needs info
Projects
None yet
Development

No branches or pull requests

4 participants