Primary Storage S3 not Resolve

Hi Guys,

I just install nextcloud and use s3 as primary storage but i got this error message in log,

Sabre\DAV\Exception: HTTP/1.1 500 [curl] 6: Could not resolve host: dika.https; Name or service not known [url] https://dika.https

Well, this my configuration.

<?php $CONFIG = array ( 'instanceid' => 'ocoihcwe7qpl', 'passwordsalt' => 'KeXzMaeiDsPYw5ebRqGf0tw+jwVY0V', 'secret' => '9Kr56wXQhXlAxJuSsfQ+BXp+tQGMMkfxyH+eJYwc+YJ0e991', 'trusted_domains' => array ( 0 => '103.44.27.4', ), 'datadirectory' => '/var/www/html/data', 'overwrite.cli.url' => 'http://103.44.27.4', 'dbtype' => 'mysql', 'version' => '11.0.5.1', 'dbname' => 'nextcloudv3', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'oc_admin4', 'dbpassword' => 'EiZhewVNErkrHSJ4C2ULR/fdTyC3Q6', 'logtimezone' => 'UTC', 'installed' => true, 'objectstore' => array( 'class' => 'OC\\Files\\ObjectStore\\S3', 'arguments' => array( 'bucket' => 'dika', 'autocreate' => true, 'key' => 'xxx', 'secret' => 'xxx', 'hostname' => 'https://nos.wjv-1.neo.id', //'port' => 443, 'use_ssl' => true, 'region' => 'idn', // required for some non amazon s3 implementations 'use_path_style'=>false ), ), ); Why the nextcloud try to resolve bucket name instade the host name ? https://nos.wjv-1.neo.id, and im sure the bucket and url is fine [root@xxx]# ping nos.wjv-1.neo.id PING nos.wjv-1.neo.id (103.77.104.25) 56(84) bytes of data. 64 bytes from 103-77-104-25.biznetgiocloud.com (103.77.104.25): icmp_seq=1 ttl=60 time=0.414 ms 64 bytes from 103-77-104-25.biznetgiocloud.com (103.77.104.25): icmp_seq=2 ttl=60 time=0.369 ms 64 bytes from 103-77-104-25.biznetgiocloud.com (103.77.104.25): icmp_seq=3 ttl=60 time=0.457 m Thanks

Done the problem is the host name, never use http or https