The Basics
- Nextcloud Server version (e.g., 29.x.x):
33.0.2
- Operating system and version (e.g., Ubuntu 24.04):
Debian 12
- Web server and version (e.g, Apache 2.4.25):
Apache 2.4.66
- Reverse proxy and version _(e.g. nginx 1.27.2)
None
- PHP version (e.g, 8.3):
php-fpm 8.3
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
Update to nextcloud 33
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Nextcloud Pi running in LXC/LXD Environment
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
Trying to use nextcloud office with Collabora Online - Built-in CODE Server (ARM64). I get the error in admin panel: Failed to connect to the remote server: cURL error 92: HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) (see libcurl - Error Codes ) for https://djfreezet.ipv64.net/apps/richdocumentscode_arm64/proxy.php?req=/hosting/discovery
Steps to replicate it (hint: details matter!):
-
Update nextcloud 32.0.6 to 33.0.2
-
Restart lxc container
-
Update nextcloud apps
-
See error when opening admin panel nextcloud office
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.
{
"reqId": "adT0pgeBT0GIJxx_4Mvb6gAAAAQ",
"level": 3,
"time": "2026-04-07T12:12:22+00:00",
"remoteAddr": "10.95.28.69",
"user": "ncp",
"app": "richdocuments",
"method": "GET",
"url": "/index.php/apps/richdocuments/settings/check",
"scriptName": "/index.php",
"message": "cURL error 92: HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://djfreezet.ipv64.net/apps/richdocumentscode_arm64/proxy.php?req=/hosting/discovery",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Edg/146.0.0.0",
"version": "33.0.2.2",
"exception": {
"Exception": "GuzzleHttp\\Exception\\RequestException",
"Message": "cURL error 92: HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://djfreezet.ipv64.net/apps/richdocumentscode_arm64/proxy.php?req=/hosting/discovery",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",
"line": 207,
"function": "createRejection",
"class": "GuzzleHttp\\Handler\\CurlFactory",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",
"line": 159,
"function": "finishError",
"class": "GuzzleHttp\\Handler\\CurlFactory",
"type": "::"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php",
"line": 47,
"function": "finish",
"class": "GuzzleHttp\\Handler\\CurlFactory",
"type": "::"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php",
"line": 142,
"function": "__invoke",
"class": "GuzzleHttp\\Handler\\CurlHandler",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php",
"line": 110,
"function": "GuzzleHttp\\{closure}",
"class": "GuzzleHttp\\Middleware",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php",
"line": 35,
"function": "OC\\Http\\Client\\{closure}",
"class": "OC\\Http\\Client\\DnsPinMiddleware",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php",
"line": 31,
"function": "__invoke",
"class": "GuzzleHttp\\PrepareBodyMiddleware",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php",
"line": 71,
"function": "GuzzleHttp\\{closure}",
"class": "GuzzleHttp\\Middleware",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php",
"line": 66,
"function": "__invoke",
"class": "GuzzleHttp\\RedirectMiddleware",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php",
"line": 75,
"function": "GuzzleHttp\\{closure}",
"class": "GuzzleHttp\\Middleware",
"type": "::",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
"line": 333,
"function": "__invoke",
"class": "GuzzleHttp\\HandlerStack",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
"line": 169,
"function": "transfer",
"class": "GuzzleHttp\\Client",
"type": "->"
},
{
"file": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
"line": 189,
"function": "requestAsync",
"class": "GuzzleHttp\\Client",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/Http/Client/Client.php",
"line": 219,
"function": "request",
"class": "GuzzleHttp\\Client",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/richdocuments/lib/Service/DiscoveryService.php",
"line": 62,
"function": "get",
"class": "OC\\Http\\Client\\Client",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/apps/richdocuments/lib/Service/CachedRequestService.php",
"line": 74,
"function": "sendRequest",
"class": "OCA\\Richdocuments\\Service\\DiscoveryService",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/richdocuments/lib/Service/ConnectivityService.php",
"line": 28,
"function": "fetch",
"class": "OCA\\Richdocuments\\Service\\CachedRequestService",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/richdocuments/lib/Controller/SettingsController.php",
"line": 73,
"function": "testDiscovery",
"class": "OCA\\Richdocuments\\Service\\ConnectivityService",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 205,
"function": "checkSettings",
"class": "OCA\\Richdocuments\\Controller\\SettingsController",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 118,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 153,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 321,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 1155,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
},
{
"file": "/var/www/nextcloud/index.php",
"line": 25,
"function": "handleRequest",
"class": "OC",
"type": "::"
}
],
"File": "/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php",
"Line": 278,
"message": "cURL error 92: HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://djfreezet.ipv64.net/apps/richdocumentscode_arm64/proxy.php?req=/hosting/discovery",
"exception": "{\"class\":\"GuzzleHttp\\Exception\\RequestException\",\"message\":\"cURL error 92: HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://djfreezet.ipv64.net/apps/richdocumentscode_arm64/proxy.php?req=/hosting/discovery\",\"code\":0,\"file\":\"/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php:278\",\"trace\":\"#0 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php(207): GuzzleHttp\\Handler\\CurlFactory::createRejection()\\n#1 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php(159): GuzzleHttp\\Handler\\CurlFactory::finishError()\\n#2 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php(47): GuzzleHttp\\Handler\\CurlFactory::finish()\\n#3 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php(142): GuzzleHttp\\Handler\\CurlHandler->__invoke()\\n#4 /var/www/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php(110): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}()\\n#5 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php(35): OC\\Http\\Client\\DnsPinMiddleware->OC\\Http\\Client\\{closure}()\\n#6 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php(31): GuzzleHttp\\PrepareBodyMiddleware->__invoke()\\n#7 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php(71): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}()\\n#8 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\\RedirectMiddleware->__invoke()\\n#9 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php(75): GuzzleHttp\\Middleware::GuzzleHttp\\{closure}()\\n#10 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(333): GuzzleHttp\\HandlerStack->__invoke()\\n#11 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(169): GuzzleHttp\\Client->transfer()\\n#12 /var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php(189): GuzzleHttp\\Client->requestAsync()\\n#13 /var/www/nextcloud/lib/private/Http/Client/Client.php(219): GuzzleHttp\\Client->request()\\n#14 /var/www/nextcloud/apps/richdocuments/lib/Service/DiscoveryService.php(62): OC\\Http\\Client\\Client->get()\\n#15 /var/www/nextcloud/apps/richdocuments/lib/Service/CachedRequestService.php(74): OCA\\Richdocuments\\Service\\DiscoveryService->sendRequest()\\n#16 /var/www/nextcloud/apps/richdocuments/lib/Service/ConnectivityService.php(28): OCA\\Richdocuments\\Service\\CachedRequestService->fetch()\\n#17 /var/www/nextcloud/apps/richdocuments/lib/Controller/SettingsController.php(73): OCA\\Richdocuments\\Service\\ConnectivityService->testDiscovery()\\n#18 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(205): OCA\\Richdocuments\\Controller\\SettingsController->checkSettings()\\n#19 /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(118): OC\\AppFramework\\Http\\Dispatcher->executeController()\\n#20 /var/www/nextcloud/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#21 /var/www/nextcloud/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#22 /var/www/nextcloud/lib/base.php(1155): OC\\Route\\Router->match()\\n#23 /var/www/nextcloud/index.php(25): OC::handleRequest()\\n#24 {main}\"}",
"CustomMessage": "cURL error 92: HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1) (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://djfreezet.ipv64.net/apps/richdocumentscode_arm64/proxy.php?req=/hosting/discovery"
},
"id": "69d4f4fd9892f"
}
Configuration
Nextcloud
The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": {
"0": "localhost",
"7": "nextcloudpi",
"5": "nextcloudpi.local",
"8": "nextcloudpi.lan",
"3": "ncp",
"11": "89.244.87.130",
"12": "[2001:16b8:b7be:f200:8aa2:9eff:fe0e:5502]",
"1": "10.95.28.69",
"14": "ncp",
"20": "192.168.1.100",
"21": "djfreezet.ipv64.net"
},
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "33.0.2.2",
"overwrite.cli.url": "https:\/\/ncp\/",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"serverid": "536",
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0,
"password": "***REMOVED SENSITIVE VALUE***"
},
"tempdirectory": "\/data\/ncdata\/data\/tmp",
"mail_smtpmode": "smtp",
"mail_smtpauthtype": "LOGIN",
"preview_max_x": 2048,
"preview_max_y": 2048,
"jpeg_quality": 60,
"overwriteprotocol": "https",
"maintenance": false,
"logfile": "\/data\/ncdata\/data\/nextcloud.log",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"loglevel": 1,
"log_type": "file",
"maintenance_window_start": 3,
"default_phone_region": "de_DE",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": true,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"twofactor_enforced": "true",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [],
"memories.db.triggers.fcu": true,
"memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-aarch64-glibc",
"memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-aarch64",
"memories.gis_type": 1,
"app_install_overwrite": [
"memories",
"camerarawpreviews",
"previewgenerator",
"nextcloudpi"
],
"theme": ""
}
}
Apps
Enabled:
- activity: 6.0.0
- admin_audit: 1.23.0
- bruteforcesettings: 6.0.0
- calendar: 6.2.2
- camerarawpreviews: 0.8.8
- circles: 33.0.0
- cloud_federation_api: 1.17.0
- comments: 1.23.0
- contacts: 8.4.3
- contactsinteraction: 1.14.1
- dashboard: 7.13.0
- dav: 1.36.0
- federatedfilesharing: 1.23.0
- federation: 1.23.0
- files: 2.5.0
- files_antivirus: 6.2.0
- files_downloadlimit: 5.1.0
- files_pdfviewer: 6.0.0
- files_reminders: 1.6.0
- files_sharing: 1.25.2
- files_trashbin: 1.23.0
- files_versions: 1.26.0
- firstrunwizard: 6.0.0
- logreader: 6.0.0
- lookup_server_connector: 1.21.0
- memories: 8.0.1
- nextcloud_announcements: 5.0.0
- nextcloudpi: 0.0.2
- notes: 4.13.1
- notifications: 6.0.0
- notify_push: 1.3.1
- oauth2: 1.21.0
- password_policy: 5.0.0
- photos: 6.0.0
- previewgenerator: 99.99.99
- privacy: 5.0.0
- profile: 1.2.0
- provisioning_api: 1.23.0
- recommendations: 6.0.0
- related_resources: 4.0.0
- richdocuments: 10.1.2
- richdocumentscode_arm64: 25.4.904
- serverinfo: 5.0.0
- settings: 1.16.0
- sharebymail: 1.23.0
- support: 5.0.0
- survey_client: 5.0.0
- suspicious_login: 11.0.0
- systemtags: 1.23.0
- tasks: 0.17.1
- text: 7.0.0
- theming: 2.8.0
- twofactor_backupcodes: 1.22.0
- twofactor_email: 2.8.6
- twofactor_nextcloud_notification: 7.0.0
- twofactor_totp: 15.0.0
- updatenotification: 1.23.0
- user_status: 1.13.0
- viewer: 6.0.0
- weather_status: 1.13.0
- webhook_listeners: 1.5.0
- workflowengine: 2.15.0
Disabled: - app_api: 33.0.0 (installed 32.0.0)
- encryption: 2.21.0
- files_external: 1.25.1
- user_ldap: 1.24.0
