Unable to connect to App Store via Curl error code 61

system

Support intro

Nextcloud version (eg, 20.0.5): Nextcloud Hub 26.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): Apache2 2.4.54
PHP version (eg, 7.4): 8.1

The issue you are facing:

Unable to connect to apps.nextcloud.com

,“CustomMessage”:“cURL error 61: Unrecognized content encoding type. libcurl understands identity content encodings. (see libcurl - Error Codes) for https://apps.nextcloud.com/api/v1/apps.json”}}

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:
On new installs. Have tried 3 times installing even a different version and all the same.

The output of your Nextcloud log in Admin > Logging:

Error internet_connection_check GuzzleHttp\Exception\RequestException: cURL error 61: Unrecognized content encoding type. libcurl understands identity content encodings. (see libcurl - Error Codes) for https://www.eff.org/
2023-05-16T17:22:39+0100
Error internet_connection_check GuzzleHttp\Exception\RequestException: cURL error 61: Unrecognized content encoding type. libcurl understands identity content encodings. (see libcurl - Error Codes) for https://www.startpage.com/
2023-05-16T17:22:38+0100
Error internet_connection_check GuzzleHttp\Exception\RequestException: cURL error 61: Unrecognized content encoding type. libcurl understands identity content encodings. (see libcurl - Error Codes) for https://nextcloud.com/
2023-05-16T17:22:38+0100
Warning appstoreFetcher GuzzleHttp\Exception\RequestException: cURL error 61: Unrecognized content encoding type. libcurl understands identity content encodings. (see libcurl - Error Codes) for https://apps.nextcloud.com/api/v1/categories.json

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php $CONFIG = array ( 'instanceid' => 'oc2cy2ju47fo', 'passwordsalt' => 'f4jCpTp7ColaF+38toTtrf9vhVfpm0', 'secret' => 'ZYvksxIocAjCY/wLXqzZCuxrIuHuyI6NMlICXkl/nA9CQWXY', 'trusted_domains' => array ( 0 => '****', ), 'datadirectory' => '/var/www/cloud/data', 'dbtype' => 'mysql', 'version' => '25.0.6.1', 'overwrite.cli.url' => '******', 'dbname' => 'cloud', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'oc_*****', 'dbpassword' => '***********>', 'installed' => true, 'logfile' => '/var/log/nextcloud/nextcloud.log', ); |cURL support |enabled| |---|---| |cURL Information |7.76.1| |Age |8 | Hope someone can shred some light on this. Many thanks