[GH-ISSUE #2180] Cannot Mount DigitalOcean Space #1108

Open
opened 2026-03-04 01:51:27 +03:00 by kerem · 6 comments
Owner

Originally created by @akahky on GitHub (Jun 4, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2180

Hello All,
I am trying to mount DigitalOcean space on a DigitalOcean droplet via this comments:
/usr/bin/s3fs -o allow_other -o dbglevel=info -o use_path_request_style -o passwd_file=.passwd-s3fs -o url=https://fra1.digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o curldbg -o bucket=myspacename ~/mountfolder -f

yet it I am getting an error and the space could not be mounted:
2023-06-04T12:01:47.866Z [INF] s3fs version 1.92(unknown) : s3fs -o allow_other -o dbglevel=info -o use_path_request_style -o passwd_file=/root/.passwd-s3fs -o url=https://fra1.digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o curldbg -o bucket=myspacename -f /root/mountfolder
2023-06-04T12:01:47.868Z [CRT] s3fs_logger.cpp:LowSetLogLevel(239): change debug level from [CRT] to [INF]
2023-06-04T12:01:47.868Z [INF] s3fs.cpp:set_mountpoint_attribute(4480): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40777)
2023-06-04T12:01:47.870Z [INF] curl.cpp:InitMimeType(431): Loaded mime information from /etc/mime.types
2023-06-04T12:01:47.870Z [INF] threadpoolman.cpp:StopThreads(195): Any threads are running now, then nothing to do.
2023-06-04T12:01:47.870Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-04T12:01:47.871Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-04T12:01:47.874Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-04T12:01:47.874Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-04T12:01:47.875Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-04T12:01:47.876Z [CRT] s3fs_cred.cpp:VersionS3fsCredential(60): Check why built-in function was called, the external credential library must have VersionS3fsCredential function.
2023-06-04T12:01:47.876Z [INF] s3fs.cpp:s3fs_init(4210): init v1.92(commit:unknown) with OpenSSL, credential-library(built-in)
2023-06-04T12:01:47.876Z [INF] s3fs.cpp:s3fs_check_service(4347): check services.
2023-06-04T12:01:47.876Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/).
2023-06-04T12:01:47.876Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/
2023-06-04T12:01:47.876Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://fra1.digitaloceanspaces.com/myspacenamae/
2023-06-04T12:01:47.876Z [INF] curl.cpp:insertV4Headers(2891): computing signature [GET] [/] [] []
2023-06-04T12:01:47.876Z [INF] curl_util.cpp:url_to_host(334): url is https://fra1.digitaloceanspaces.com
2023-06-04T12:01:47.880Z [CURL DBG] * Trying 5.101.109.44...
2023-06-04T12:01:47.880Z [CURL DBG] * TCP_NODELAY set
2023-06-04T12:01:47.881Z [CURL DBG] * Connected to fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0)
2023-06-04T12:01:47.895Z [CURL DBG] * successfully set certificate verify locations:
2023-06-04T12:01:47.895Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
2023-06-04T12:01:47.896Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1):
2023-06-04T12:01:47.898Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2):
2023-06-04T12:01:47.898Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
2023-06-04T12:01:47.898Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Unknown (8):
2023-06-04T12:01:47.898Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Certificate (11):
2023-06-04T12:01:47.899Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, CERT verify (15):
2023-06-04T12:01:47.899Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Finished (20):
2023-06-04T12:01:47.899Z [CURL DBG] * TLSv1.3 (OUT), TLS change cipher, Client hello (1):
2023-06-04T12:01:47.899Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Certificate Status (22):
2023-06-04T12:01:47.899Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Finished (20):
2023-06-04T12:01:47.899Z [CURL DBG] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
2023-06-04T12:01:47.899Z [CURL DBG] * Server certificate:
2023-06-04T12:01:47.900Z [CURL DBG] * subject: C=US; ST=New York; L=New York; O=DigitalOcean, LLC; CN=*.fra1.digitaloceanspaces.com
2023-06-04T12:01:47.900Z [CURL DBG] * start date: Apr 10 00:00:00 2023 GMT
2023-06-04T12:01:47.900Z [CURL DBG] * expire date: Apr 27 23:59:59 2024 GMT
2023-06-04T12:01:47.900Z [CURL DBG] * subjectAltName: host "fra1.digitaloceanspaces.com" matched cert's "fra1.digitaloceanspaces.com"
2023-06-04T12:01:47.900Z [CURL DBG] * issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
2023-06-04T12:01:47.900Z [CURL DBG] * SSL certificate verify ok.
2023-06-04T12:01:47.900Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23):
2023-06-04T12:01:47.900Z [CURL DBG] > GET /myspacename/ HTTP/1.1
2023-06-04T12:01:47.900Z [CURL DBG] > host: fra1.digitaloceanspaces.com
2023-06-04T12:01:47.900Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL)
2023-06-04T12:01:47.900Z [CURL DBG] > Accept: /
2023-06-04T12:01:47.900Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=W5WGNFTKNZIPHF5LHLW5/20230604/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=d19d18e4051f02b68c1886064a8cc277f8e56d034e1055b7ae81ce713d3e1088
2023-06-04T12:01:47.900Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2023-06-04T12:01:47.900Z [CURL DBG] > x-amz-date: 20230604T120147Z
2023-06-04T12:01:47.900Z [CURL DBG] >
2023-06-04T12:01:47.904Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-04T12:01:47.904Z [CURL DBG] < HTTP/1.1 400 Bad Request
2023-06-04T12:01:47.904Z [CURL DBG] < content-length: 194
2023-06-04T12:01:47.904Z [CURL DBG] < x-amz-request-id: tx0000000000000ba533997-00647c7d2b-9730c0ea-fra1b
2023-06-04T12:01:47.904Z [CURL DBG] < accept-ranges: bytes
2023-06-04T12:01:47.904Z [CURL DBG] < content-type: application/xml
2023-06-04T12:01:47.904Z [CURL DBG] < date: Sun, 04 Jun 2023 12:01:47 GMT
2023-06-04T12:01:47.904Z [CURL DBG] < cache-control: max-age=60
2023-06-04T12:01:47.904Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload
2023-06-04T12:01:47.904Z [CURL DBG] <
2023-06-04T12:01:47.904Z [CURL DBG] * Connection #0 to host fra1.digitaloceanspaces.com left intact
2023-06-04T12:01:47.904Z [ERR] curl.cpp:RequestPerform(2560): HTTP response code 400, returning EIO. Body Text: InvalidArgumenttx0000000000000ba533997-00647c7d2b-9730c0ea-fra1b9730c0ea-fra1b-fra1-zg02
2023-06-04T12:01:47.904Z [ERR] curl.cpp:CheckBucket(3741): Check bucket failed, S3 response: InvalidArgumenttx0000000000000ba533997-00647c7d2b-9730c0ea-fra1b9730c0ea-fra1b-fra1-zg02
2023-06-04T12:01:47.904Z [CRT] s3fs.cpp:s3fs_check_service(4424): Failed to connect by sigv4, so retry to connect by signature version 2. But you should to review url and endpoint option.
2023-06-04T12:01:47.904Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/).
2023-06-04T12:01:47.904Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/
2023-06-04T12:01:47.904Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://fra1.digitaloceanspaces.com/myspacename/
2023-06-04T12:01:47.904Z [CURL DBG] * Found bundle for host fra1.digitaloceanspaces.com: 0x7f80f0001bf0 [can pipeline]
2023-06-04T12:01:47.905Z [CURL DBG] * Re-using existing connection! (#0) with host fra1.digitaloceanspaces.com
2023-06-04T12:01:47.905Z [CURL DBG] * Connected to fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0)
2023-06-04T12:01:47.905Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23):
2023-06-04T12:01:47.905Z [CURL DBG] > GET /myspacename/ HTTP/1.1
2023-06-04T12:01:47.905Z [CURL DBG] > Host: fra1.digitaloceanspaces.com
2023-06-04T12:01:47.905Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL)
2023-06-04T12:01:47.905Z [CURL DBG] > Accept: /
2023-06-04T12:01:47.905Z [CURL DBG] > Authorization: AWS W5WGNFTKNZIPHF5LHLW5:tIQMFFG/d6hxXLXwdvO4+qNp9Bk=
2023-06-04T12:01:47.905Z [CURL DBG] > Date: Sun, 04 Jun 2023 12:01:47 GMT
2023-06-04T12:01:47.905Z [CURL DBG] >
2023-06-04T12:01:47.910Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-04T12:01:47.910Z [CURL DBG] < HTTP/1.1 403 Forbidden
2023-06-04T12:01:47.910Z [CURL DBG] < content-length: 200
2023-06-04T12:01:47.910Z [CURL DBG] < x-amz-request-id: tx0000000000000b840803c-00647c7d2b-97673b44-fra1b
2023-06-04T12:01:47.910Z [CURL DBG] < accept-ranges: bytes
2023-06-04T12:01:47.910Z [CURL DBG] < content-type: application/xml
2023-06-04T12:01:47.910Z [CURL DBG] < date: Sun, 04 Jun 2023 12:01:47 GMT
2023-06-04T12:01:47.910Z [CURL DBG] < cache-control: max-age=60
2023-06-04T12:01:47.910Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload
2023-06-04T12:01:47.910Z [CURL DBG] <
2023-06-04T12:01:47.910Z [CURL DBG] * Connection #0 to host fra1.digitaloceanspaces.com left intact
2023-06-04T12:01:47.910Z [ERR] curl.cpp:RequestPerform(2566): HTTP response code 403, returning EPERM. Body Text: SignatureDoesNotMatchtx0000000000000b840803c-00647c7d2b-97673b44-fra1b97673b44-fra1b-fra1-zg02
2023-06-04T12:01:47.910Z [ERR] curl.cpp:CheckBucket(3741): Check bucket failed, S3 response: SignatureDoesNotMatchtx0000000000000b840803c-00647c7d2b-97673b44-fra1b97673b44-fra1b-fra1-zg02
2023-06-04T12:01:47.910Z [CRT] s3fs.cpp:s3fs_check_service(4438): Failed to check bucket and directory for mount point : Invalid Credentials(host=https://fra1.digitaloceanspaces.com)
2023-06-04T12:01:47.910Z [ERR] s3fs.cpp:s3fs_exit_fuseloop(4200): Exiting FUSE event loop due to errors

2023-06-04T12:01:47.925Z [INF] s3fs.cpp:s3fs_destroy(4254): destroy

Additional Information

Version of s3fs being used (s3fs --version)

V1.92

Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse or dpkg -s fuse)

2.9.7

Kernel information (uname -r)

4.15.0-211-generic

GNU/Linux Distribution, if applicable (cat /etc/os-release)

NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

How to run s3fs, if applicable

usr/bin/s3fs -o allow_other -o dbglevel=info -o use_path_request_style -o passwd_file=.passwd-s3fs -o url=https://fra1.digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o curldbg -o bucket=myspacename ~/mountfolder -f

s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)

Details about issue

Mounting DigitalOcean space on DigitalOcean droplet fails, two errors being faced, invalid argument and SignatureDoesNotMatch, although the api key and secret are correct and the secret was regenerated to assure its correctness.

Originally created by @akahky on GitHub (Jun 4, 2023). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2180 Hello All, I am trying to mount DigitalOcean space on a DigitalOcean droplet via this comments: /usr/bin/s3fs -o allow_other -o dbglevel=info -o use_path_request_style -o passwd_file=.passwd-s3fs -o url=https://fra1.digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o curldbg -o bucket=myspacename ~/mountfolder -f yet it I am getting an error and the space could not be mounted: 2023-06-04T12:01:47.866Z [INF] s3fs version 1.92(unknown) : s3fs -o allow_other -o dbglevel=info -o use_path_request_style -o passwd_file=/root/.passwd-s3fs -o url=https://fra1.digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o curldbg -o bucket=myspacename -f /root/mountfolder 2023-06-04T12:01:47.868Z [CRT] s3fs_logger.cpp:LowSetLogLevel(239): change debug level from [CRT] to [INF] 2023-06-04T12:01:47.868Z [INF] s3fs.cpp:set_mountpoint_attribute(4480): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40777) 2023-06-04T12:01:47.870Z [INF] curl.cpp:InitMimeType(431): Loaded mime information from /etc/mime.types 2023-06-04T12:01:47.870Z [INF] threadpoolman.cpp:StopThreads(195): Any threads are running now, then nothing to do. 2023-06-04T12:01:47.870Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-04T12:01:47.871Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-04T12:01:47.874Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-04T12:01:47.874Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-04T12:01:47.875Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-04T12:01:47.876Z [CRT] s3fs_cred.cpp:VersionS3fsCredential(60): Check why built-in function was called, the external credential library must have VersionS3fsCredential function. 2023-06-04T12:01:47.876Z [INF] s3fs.cpp:s3fs_init(4210): init v1.92(commit:unknown) with OpenSSL, credential-library(built-in) 2023-06-04T12:01:47.876Z [INF] s3fs.cpp:s3fs_check_service(4347): check services. 2023-06-04T12:01:47.876Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/). 2023-06-04T12:01:47.876Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/ 2023-06-04T12:01:47.876Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://fra1.digitaloceanspaces.com/myspacenamae/ 2023-06-04T12:01:47.876Z [INF] curl.cpp:insertV4Headers(2891): computing signature [GET] [/] [] [] 2023-06-04T12:01:47.876Z [INF] curl_util.cpp:url_to_host(334): url is https://fra1.digitaloceanspaces.com 2023-06-04T12:01:47.880Z [CURL DBG] * Trying 5.101.109.44... 2023-06-04T12:01:47.880Z [CURL DBG] * TCP_NODELAY set 2023-06-04T12:01:47.881Z [CURL DBG] * Connected to fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0) 2023-06-04T12:01:47.895Z [CURL DBG] * successfully set certificate verify locations: 2023-06-04T12:01:47.895Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs 2023-06-04T12:01:47.896Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1): 2023-06-04T12:01:47.898Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2): 2023-06-04T12:01:47.898Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22): 2023-06-04T12:01:47.898Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Unknown (8): 2023-06-04T12:01:47.898Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Certificate (11): 2023-06-04T12:01:47.899Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, CERT verify (15): 2023-06-04T12:01:47.899Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Finished (20): 2023-06-04T12:01:47.899Z [CURL DBG] * TLSv1.3 (OUT), TLS change cipher, Client hello (1): 2023-06-04T12:01:47.899Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Certificate Status (22): 2023-06-04T12:01:47.899Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Finished (20): 2023-06-04T12:01:47.899Z [CURL DBG] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 2023-06-04T12:01:47.899Z [CURL DBG] * Server certificate: 2023-06-04T12:01:47.900Z [CURL DBG] * subject: C=US; ST=New York; L=New York; O=DigitalOcean, LLC; CN=*.fra1.digitaloceanspaces.com 2023-06-04T12:01:47.900Z [CURL DBG] * start date: Apr 10 00:00:00 2023 GMT 2023-06-04T12:01:47.900Z [CURL DBG] * expire date: Apr 27 23:59:59 2024 GMT 2023-06-04T12:01:47.900Z [CURL DBG] * subjectAltName: host "fra1.digitaloceanspaces.com" matched cert's "fra1.digitaloceanspaces.com" 2023-06-04T12:01:47.900Z [CURL DBG] * issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1 2023-06-04T12:01:47.900Z [CURL DBG] * SSL certificate verify ok. 2023-06-04T12:01:47.900Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23): 2023-06-04T12:01:47.900Z [CURL DBG] > GET /myspacename/ HTTP/1.1 2023-06-04T12:01:47.900Z [CURL DBG] > host: fra1.digitaloceanspaces.com 2023-06-04T12:01:47.900Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL) 2023-06-04T12:01:47.900Z [CURL DBG] > Accept: */* 2023-06-04T12:01:47.900Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=W5WGNFTKNZIPHF5LHLW5/20230604/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=d19d18e4051f02b68c1886064a8cc277f8e56d034e1055b7ae81ce713d3e1088 2023-06-04T12:01:47.900Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 2023-06-04T12:01:47.900Z [CURL DBG] > x-amz-date: 20230604T120147Z 2023-06-04T12:01:47.900Z [CURL DBG] > 2023-06-04T12:01:47.904Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-04T12:01:47.904Z [CURL DBG] < HTTP/1.1 400 Bad Request 2023-06-04T12:01:47.904Z [CURL DBG] < content-length: 194 2023-06-04T12:01:47.904Z [CURL DBG] < x-amz-request-id: tx0000000000000ba533997-00647c7d2b-9730c0ea-fra1b 2023-06-04T12:01:47.904Z [CURL DBG] < accept-ranges: bytes 2023-06-04T12:01:47.904Z [CURL DBG] < content-type: application/xml 2023-06-04T12:01:47.904Z [CURL DBG] < date: Sun, 04 Jun 2023 12:01:47 GMT 2023-06-04T12:01:47.904Z [CURL DBG] < cache-control: max-age=60 2023-06-04T12:01:47.904Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload 2023-06-04T12:01:47.904Z [CURL DBG] < 2023-06-04T12:01:47.904Z [CURL DBG] * Connection #0 to host fra1.digitaloceanspaces.com left intact 2023-06-04T12:01:47.904Z [ERR] curl.cpp:RequestPerform(2560): HTTP response code 400, returning EIO. Body Text: <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidArgument</Code><RequestId>tx0000000000000ba533997-00647c7d2b-9730c0ea-fra1b</RequestId><HostId>9730c0ea-fra1b-fra1-zg02</HostId></Error> 2023-06-04T12:01:47.904Z [ERR] curl.cpp:CheckBucket(3741): Check bucket failed, S3 response: <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidArgument</Code><RequestId>tx0000000000000ba533997-00647c7d2b-9730c0ea-fra1b</RequestId><HostId>9730c0ea-fra1b-fra1-zg02</HostId></Error> 2023-06-04T12:01:47.904Z [CRT] s3fs.cpp:s3fs_check_service(4424): Failed to connect by sigv4, so retry to connect by signature version 2. But you should to review url and endpoint option. 2023-06-04T12:01:47.904Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/). 2023-06-04T12:01:47.904Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/ 2023-06-04T12:01:47.904Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://fra1.digitaloceanspaces.com/myspacename/ 2023-06-04T12:01:47.904Z [CURL DBG] * Found bundle for host fra1.digitaloceanspaces.com: 0x7f80f0001bf0 [can pipeline] 2023-06-04T12:01:47.905Z [CURL DBG] * Re-using existing connection! (#0) with host fra1.digitaloceanspaces.com 2023-06-04T12:01:47.905Z [CURL DBG] * Connected to fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0) 2023-06-04T12:01:47.905Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23): 2023-06-04T12:01:47.905Z [CURL DBG] > GET /myspacename/ HTTP/1.1 2023-06-04T12:01:47.905Z [CURL DBG] > Host: fra1.digitaloceanspaces.com 2023-06-04T12:01:47.905Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL) 2023-06-04T12:01:47.905Z [CURL DBG] > Accept: */* 2023-06-04T12:01:47.905Z [CURL DBG] > Authorization: AWS W5WGNFTKNZIPHF5LHLW5:tIQMFFG/d6hxXLXwdvO4+qNp9Bk= 2023-06-04T12:01:47.905Z [CURL DBG] > Date: Sun, 04 Jun 2023 12:01:47 GMT 2023-06-04T12:01:47.905Z [CURL DBG] > 2023-06-04T12:01:47.910Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-04T12:01:47.910Z [CURL DBG] < HTTP/1.1 403 Forbidden 2023-06-04T12:01:47.910Z [CURL DBG] < content-length: 200 2023-06-04T12:01:47.910Z [CURL DBG] < x-amz-request-id: tx0000000000000b840803c-00647c7d2b-97673b44-fra1b 2023-06-04T12:01:47.910Z [CURL DBG] < accept-ranges: bytes 2023-06-04T12:01:47.910Z [CURL DBG] < content-type: application/xml 2023-06-04T12:01:47.910Z [CURL DBG] < date: Sun, 04 Jun 2023 12:01:47 GMT 2023-06-04T12:01:47.910Z [CURL DBG] < cache-control: max-age=60 2023-06-04T12:01:47.910Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload 2023-06-04T12:01:47.910Z [CURL DBG] < 2023-06-04T12:01:47.910Z [CURL DBG] * Connection #0 to host fra1.digitaloceanspaces.com left intact 2023-06-04T12:01:47.910Z [ERR] curl.cpp:RequestPerform(2566): HTTP response code 403, returning EPERM. Body Text: <?xml version="1.0" encoding="UTF-8"?><Error><Code>SignatureDoesNotMatch</Code><RequestId>tx0000000000000b840803c-00647c7d2b-97673b44-fra1b</RequestId><HostId>97673b44-fra1b-fra1-zg02</HostId></Error> 2023-06-04T12:01:47.910Z [ERR] curl.cpp:CheckBucket(3741): Check bucket failed, S3 response: <?xml version="1.0" encoding="UTF-8"?><Error><Code>SignatureDoesNotMatch</Code><RequestId>tx0000000000000b840803c-00647c7d2b-97673b44-fra1b</RequestId><HostId>97673b44-fra1b-fra1-zg02</HostId></Error> 2023-06-04T12:01:47.910Z [CRT] s3fs.cpp:s3fs_check_service(4438): Failed to check bucket and directory for mount point : Invalid Credentials(host=https://fra1.digitaloceanspaces.com) 2023-06-04T12:01:47.910Z [ERR] s3fs.cpp:s3fs_exit_fuseloop(4200): Exiting FUSE event loop due to errors 2023-06-04T12:01:47.925Z [INF] s3fs.cpp:s3fs_destroy(4254): destroy ### Additional Information #### Version of s3fs being used (`s3fs --version`) V1.92 #### Version of fuse being used (`pkg-config --modversion fuse`, `rpm -qi fuse` or `dpkg -s fuse`) 2.9.7 #### Kernel information (`uname -r`) 4.15.0-211-generic #### GNU/Linux Distribution, if applicable (`cat /etc/os-release`) NAME="Ubuntu" VERSION="18.04.6 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.6 LTS" VERSION_ID="18.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=bionic UBUNTU_CODENAME=bionic #### How to run s3fs, if applicable usr/bin/s3fs -o allow_other -o dbglevel=info -o use_path_request_style -o passwd_file=.passwd-s3fs -o url=https://fra1.digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o curldbg -o bucket=myspacename ~/mountfolder -f <!-- Executed command line or /etc/fastab entry --> ``` ``` #### s3fs syslog messages (`grep s3fs /var/log/syslog`, `journalctl | grep s3fs`, or `s3fs outputs`) <!-- if you execute s3fs with dbglevel, curldbg option, you can get detail debug messages. --> ``` ``` ### Details about issue Mounting DigitalOcean space on DigitalOcean droplet fails, two errors being faced, invalid argument and SignatureDoesNotMatch, although the api key and secret are correct and the secret was regenerated to assure its correctness.
Author
Owner

@akahky commented on GitHub (Jun 5, 2023):

I changed the command to
s3fs -o allow_other -o dbglevel=info -o use_path_request_style -o passwd_file=/root/.passwd-s3fs -o host=https://digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o curldbg -o bucket=myspacename -f /root/mountfolder

and tried both versions 1.82 and 1.92 and both versions freeze at this step:

1.86:
Connection #1 to host www.digitalocean.com left intact
[INF] curl.cpp:RequestPerform(2416): HTTP response code 200
[INF] curl.cpp:ReturnHandler(318): Pool full: destroy the oldest handler

1.92:
2023-06-05T11:37:33.958Z [CURL DBG] * Connection #1 to host www.digitalocean.com left intact
2023-06-05T11:37:33.958Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200
2023-06-05T11:37:33.958Z [INF] cache.cpp:AddStat(342): add stat cache entry[path=/]

and no progress is shown after that for more than an hour.

Would you please advise how to move forward?

<!-- gh-comment-id:1576646556 --> @akahky commented on GitHub (Jun 5, 2023): I changed the command to s3fs -o allow_other -o dbglevel=info -o use_path_request_style -o passwd_file=/root/.passwd-s3fs -o host=https://digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o curldbg -o bucket=myspacename -f /root/mountfolder and tried both versions 1.82 and 1.92 and both versions freeze at this step: 1.86: Connection #1 to host www.digitalocean.com left intact [INF] curl.cpp:RequestPerform(2416): HTTP response code 200 [INF] curl.cpp:ReturnHandler(318): Pool full: destroy the oldest handler 1.92: 2023-06-05T11:37:33.958Z [CURL DBG] * Connection #1 to host www.digitalocean.com left intact 2023-06-05T11:37:33.958Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200 2023-06-05T11:37:33.958Z [INF] cache.cpp:AddStat(342): add stat cache entry[path=/] and no progress is shown after that for more than an hour. Would you please advise how to move forward?
Author
Owner

@ggtakec commented on GitHub (Jun 10, 2023):

@akahky
The first error in this issue(SignatureDoesNotMatch) is an error returned from the server on the DigitalOcean side.
So it seems that the authentication information is incorrect.
(Please check .passwd-s3fs.)

As for the freeze after that, only v1.92 is enough, so we need to check more log just before the freeze.
And we also need to know what the situation is:

  • Did s3fs start? , or did this happen during boot?
  • What kind of operation(command) did you run after s3fs started?

Thanks in advance for your assistance.

<!-- gh-comment-id:1585526791 --> @ggtakec commented on GitHub (Jun 10, 2023): @akahky The first error in this issue(`SignatureDoesNotMatch`) is an error returned from the server on the `DigitalOcean` side. So it seems that the authentication information is incorrect. _(Please check `.passwd-s3fs`.)_ As for the `freeze` after that, only v1.92 is enough, so we need to check more log just before the freeze. And we also need to know what the situation is: - Did s3fs start? , or did this happen during boot? - What kind of operation(command) did you run after s3fs started? Thanks in advance for your assistance.
Author
Owner

@akahky commented on GitHub (Jun 10, 2023):

@ggtakec
Thanks a lot for your reply, when using version 1.92 and after running this command

s3fs -o allow_other -o use_path_request_style -o passwd_file=/root/.passwd-s3fs -o host=https://digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o bucket=mymoodlespace ~/mountfolder

The prompt returned again without any errors, which gave me an indication that s3fs was started I tried to list the directories then I got this error ls: cannot access 'mountfolder': Input/output error and all the directory information are appearing as questions marks.

Regarding the SignatureDoesNotMatch error, I reviewed the api key and secret and they are correct and when I used them in the above command in this comment I did not get any errors, the main difference here is removing the URL option and replace it by the Host option.

when I added the log option to the command, it does not exit and runs forever and this is the log of running the command:

2023-06-10T19:01:21.784Z [INF] s3fs version 1.92(unknown) : s3fs -o allow_other -o use_path_request_style -o passwd_file=/root/.passwd-s3fs -o host=https://digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o bucket=myspacename -o dbglevel=info -o curldbg -f mountfolder/
2023-06-10T19:01:21.786Z [CRT] s3fs_logger.cpp:LowSetLogLevel(239): change debug level from [CRT] to [INF]
2023-06-10T19:01:21.786Z [INF] s3fs.cpp:set_mountpoint_attribute(4480): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40777)
2023-06-10T19:01:21.788Z [INF] curl.cpp:InitMimeType(431): Loaded mime information from /etc/mime.types
2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:StopThreads(195): Any threads are running now, then nothing to do.
2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-10T19:01:21.789Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-10T19:01:21.789Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-10T19:01:21.791Z [CRT] s3fs_cred.cpp:VersionS3fsCredential(60): Check why built-in function was called, the external credential library must have VersionS3fsCredential function.
2023-06-10T19:01:21.791Z [INF] s3fs.cpp:s3fs_init(4210): init v1.92(commit:unknown) with OpenSSL, credential-library(built-in)
2023-06-10T19:01:21.791Z [INF] s3fs.cpp:s3fs_check_service(4347): check services.
2023-06-10T19:01:21.791Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/).
2023-06-10T19:01:21.791Z [INF] curl_util.cpp:prepare_url(257): URL is https://digitaloceanspaces.com/myspacename/
2023-06-10T19:01:21.791Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://digitaloceanspaces.com/myspacename2023-06-10T19:01:21.784Z [INF] s3fs version 1.92(unknown) : s3fs -o allow_other -o use_path_request_style -o passwd_file=/root/.passwd-s3fs -o host=https://digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o bucket=myspacename -o dbglevel=info -o curldbg -f mountfolder/
2023-06-10T19:01:21.786Z [CRT] s3fs_logger.cpp:LowSetLogLevel(239): change debug level from [CRT] to [INF]
2023-06-10T19:01:21.786Z [INF] s3fs.cpp:set_mountpoint_attribute(4480): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40777)
2023-06-10T19:01:21.788Z [INF] curl.cpp:InitMimeType(431): Loaded mime information from /etc/mime.types
2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:StopThreads(195): Any threads are running now, then nothing to do.
2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-10T19:01:21.789Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-10T19:01:21.789Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-10T19:01:21.791Z [CRT] s3fs_cred.cpp:VersionS3fsCredential(60): Check why built-in function was called, the external credential library must have VersionS3fsCredential function.
2023-06-10T19:01:21.791Z [INF] s3fs.cpp:s3fs_init(4210): init v1.92(commit:unknown) with OpenSSL, credential-library(built-in)
2023-06-10T19:01:21.791Z [INF] s3fs.cpp:s3fs_check_service(4347): check services.
2023-06-10T19:01:21.791Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/).
2023-06-10T19:01:21.791Z [INF] curl_util.cpp:prepare_url(257): URL is https://digitaloceanspaces.com/myspacename/
2023-06-10T19:01:21.791Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://digitaloceanspaces.com/myspacename/
2023-06-10T19:01:21.791Z [INF] curl.cpp:insertV4Headers(2891): computing signature [GET] [/] [] []
2023-06-10T19:01:21.791Z [INF] curl_util.cpp:url_to_host(334): url is https://digitaloceanspaces.com
2023-06-10T19:01:21.796Z [CURL DBG] * Trying 172.67.150.24...
2023-06-10T19:01:21.796Z [CURL DBG] * TCP_NODELAY set
2023-06-10T19:01:21.839Z [CURL DBG] * Connected to digitaloceanspaces.com (172.67.150.24) port 443 (#0)
2023-06-10T19:01:21.850Z [CURL DBG] * successfully set certificate verify locations:
2023-06-10T19:01:21.850Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
2023-06-10T19:01:21.851Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1):
2023-06-10T19:01:21.896Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2):
2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Unknown (8):
2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Certificate (11):
2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, CERT verify (15):
2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Finished (20):
2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS change cipher, Client hello (1):
2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Certificate Status (22):
2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Finished (20):
2023-06-10T19:01:21.902Z [CURL DBG] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
2023-06-10T19:01:21.902Z [CURL DBG] * Server certificate:
2023-06-10T19:01:21.902Z [CURL DBG] * subject: CN=digitaloceanspaces.com
2023-06-10T19:01:21.902Z [CURL DBG] * start date: May 6 03:18:36 2023 GMT
2023-06-10T19:01:21.902Z [CURL DBG] * expire date: Aug 4 03:18:35 2023 GMT
2023-06-10T19:01:21.902Z [CURL DBG] * subjectAltName: host "digitaloceanspaces.com" matched cert's "digitaloceanspaces.com"
2023-06-10T19:01:21.902Z [CURL DBG] * issuer: C=US; O=Let's Encrypt; CN=E1
2023-06-10T19:01:21.902Z [CURL DBG] * SSL certificate verify ok.
2023-06-10T19:01:21.902Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23):
2023-06-10T19:01:21.902Z [CURL DBG] > GET /myspacename/ HTTP/1.1
2023-06-10T19:01:21.902Z [CURL DBG] > host: digitaloceanspaces.com
2023-06-10T19:01:21.902Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL)
2023-06-10T19:01:21.903Z [CURL DBG] > Accept: /
2023-06-10T19:01:21.903Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00YJ9RYDH9NGZN6NHB/20230610/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=1b9a094468b160a4ffa47c3c7251919a77ada8fdcc9ccf9639df6541fa063fa1
2023-06-10T19:01:21.903Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2023-06-10T19:01:21.903Z [CURL DBG] > x-amz-date: 20230610T190121Z
2023-06-10T19:01:21.903Z [CURL DBG] >
2023-06-10T19:01:21.950Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-10T19:01:21.951Z [CURL DBG] < HTTP/1.1 302 Moved Temporarily
2023-06-10T19:01:21.951Z [CURL DBG] < Date: Sat, 10 Jun 2023 19:01:21 GMT
2023-06-10T19:01:21.951Z [CURL DBG] < Transfer-Encoding: chunked
2023-06-10T19:01:21.951Z [CURL DBG] < Connection: keep-alive
2023-06-10T19:01:21.951Z [CURL DBG] < Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
2023-06-10T19:01:21.951Z [CURL DBG] < Expires: Thu, 01 Jan 1970 00:00:01 GMT
2023-06-10T19:01:21.951Z [CURL DBG] < Location: https://www.digitalocean.com
2023-06-10T19:01:21.951Z [CURL DBG] < Report-To: {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v3?s=ue953H80nKCSRDpIw%2BfNjm6RRWztH6DrxypKHThwbCNum5yWYKLG%2BvH39BPD0h2KjvLLMNXSpQzRBrrfQH0fsKsO0du0tsAzmi40voJRHD6ICKD%2Fm33Qe7kKW1jtZXucYAS3TmaoqIQV"}],"group":"cf-nel","max_age":604800}
2023-06-10T19:01:21.951Z [CURL DBG] < NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
2023-06-10T19:01:21.951Z [CURL DBG] < Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
2023-06-10T19:01:21.951Z [CURL DBG] < Server: cloudflare
2023-06-10T19:01:21.951Z [CURL DBG] < CF-RAY: 7d53dccc2ef63679-FRA
2023-06-10T19:01:21.951Z [CURL DBG] < alt-svc: h3=":443"; ma=86400
2023-06-10T19:01:21.951Z [CURL DBG] <
2023-06-10T19:01:21.952Z [CURL DBG] * Ignoring the response-body
2023-06-10T19:01:21.952Z [CURL DBG] * Connection #0 to host digitaloceanspaces.com left intact
2023-06-10T19:01:21.952Z [CURL DBG] * Issue another request to this URL: 'https://www.digitalocean.com'
2023-06-10T19:01:21.952Z [CURL DBG] * Rebuilt URL to: https://www.digitalocean.com/
2023-06-10T19:01:21.956Z [CURL DBG] * Trying 104.16.181.15...
2023-06-10T19:01:21.956Z [CURL DBG] * TCP_NODELAY set
2023-06-10T19:01:22.000Z [CURL DBG] * Connected to www.digitalocean.com (104.16.181.15) port 443 (#1)
2023-06-10T19:01:22.010Z [CURL DBG] * successfully set certificate verify locations:
2023-06-10T19:01:22.010Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
2023-06-10T19:01:22.011Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1):
2023-06-10T19:01:22.056Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2):
2023-06-10T19:01:22.057Z [CURL DBG] * NPN, negotiated HTTP1.1
2023-06-10T19:01:22.057Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Certificate (11):
2023-06-10T19:01:22.058Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
2023-06-10T19:01:22.058Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Server finished (14):
2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS change cipher, Client hello (1):
2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Unknown (67):
2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Finished (20):
2023-06-10T19:01:22.102Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Finished (20):
2023-06-10T19:01:22.102Z [CURL DBG] * SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
2023-06-10T19:01:22.102Z [CURL DBG] * Server certificate:
2023-06-10T19:01:22.103Z [CURL DBG] * subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=digitalocean.com
2023-06-10T19:01:22.103Z [CURL DBG] * start date: Apr 24 00:00:00 2023 GMT
2023-06-10T19:01:22.103Z [CURL DBG] * expire date: Apr 23 23:59:59 2024 GMT
2023-06-10T19:01:22.103Z [CURL DBG] * subjectAltName: host "www.digitalocean.com" matched cert's ".digitalocean.com"
2023-06-10T19:01:22.103Z [CURL DBG] * issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
2023-06-10T19:01:22.103Z [CURL DBG] * SSL certificate verify ok.
2023-06-10T19:01:22.103Z [CURL DBG] > GET / HTTP/1.1
2023-06-10T19:01:22.103Z [CURL DBG] > Host: www.digitalocean.com
2023-06-10T19:01:22.103Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL)
2023-06-10T19:01:22.103Z [CURL DBG] > Accept: /
2023-06-10T19:01:22.103Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00YJ9RYDH9NGZN6NHB/20230610/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=1b9a094468b160a4ffa47c3c7251919a77ada8fdcc9ccf9639df6541fa063fa1
2023-06-10T19:01:22.103Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2023-06-10T19:01:22.104Z [CURL DBG] > x-amz-date: 20230610T190121Z
2023-06-10T19:01:22.104Z [CURL DBG] >
2023-06-10T19:01:22.160Z [CURL DBG] < HTTP/1.1 200 OK
2023-06-10T19:01:22.160Z [CURL DBG] < Date: Sat, 10 Jun 2023 19:01:22 GMT
2023-06-10T19:01:22.160Z [CURL DBG] < Content-Type: text/html
2023-06-10T19:01:22.160Z [CURL DBG] < Content-Length: 205424
2023-06-10T19:01:22.160Z [CURL DBG] < Connection: keep-alive
2023-06-10T19:01:22.160Z [CURL DBG] < last-modified: Thu, 08 Jun 2023 21:44:27 GMT
2023-06-10T19:01:22.160Z [CURL DBG] < etag: "64824bbb-32270"
2023-06-10T19:01:22.160Z [CURL DBG] < expires: Sat, 10 Jun 2023 18:59:01 GMT
2023-06-10T19:01:22.160Z [CURL DBG] < cache-control: max-age=0
2023-06-10T19:01:22.160Z [CURL DBG] < cache-control: public, max-age=0, s-maxage=300, must-revalidate
2023-06-10T19:01:22.160Z [CURL DBG] < x-frame-options: DENY
2023-06-10T19:01:22.160Z [CURL DBG] < x-xss-protection: 1; mode=block
2023-06-10T19:01:22.160Z [CURL DBG] < CF-Cache-Status: HIT
2023-06-10T19:01:22.160Z [CURL DBG] < Age: 141
2023-06-10T19:01:22.160Z [CURL DBG] < Accept-Ranges: bytes
2023-06-10T19:01:22.160Z [CURL DBG] < Set-Cookie: __cf_bm=2K22T1g9Qqz_8Y2KszJZ6oH4Elb7YWQ_EuBAqsgnrzc-1686423682-0-AT4QpFuuWw277OIRK140+l0y+463njOPAPzHSNRjYI8BkJkSzz/FWPahkBWVaaG9MNIIRA1jf8Halwt3kNs3WVf+XMUY/yvDDT/wZDXPTJEG; path=/; expires=Sat, 10-Jun-23 19:31:22 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
2023-06-10T19:01:22.160Z [CURL DBG] < Server: cloudflare
2023-06-10T19:01:22.160Z [CURL DBG] < CF-RAY: 7d53dccd6dc58ff2-FRA
2023-06-10T19:01:22.160Z [CURL DBG] <
2023-06-10T19:01:22.271Z [CURL DBG] * Connection #1 to host www.digitalocean.com left intact
2023-06-10T19:01:22.271Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200/
2023-06-10T19:01:21.791Z [INF] curl.cpp:insertV4Headers(2891): computing signature [GET] [/] [] []
2023-06-10T19:01:21.791Z [INF] curl_util.cpp:url_to_host(334): url is https://digitaloceanspaces.com
2023-06-10T19:01:21.796Z [CURL DBG] * Trying 172.67.150.24...
2023-06-10T19:01:21.796Z [CURL DBG] * TCP_NODELAY set
2023-06-10T19:01:21.839Z [CURL DBG] * Connected to digitaloceanspaces.com (172.67.150.24) port 443 (#0)
2023-06-10T19:01:21.850Z [CURL DBG] * successfully set certificate verify locations:
2023-06-10T19:01:21.850Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
2023-06-10T19:01:21.851Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1):
2023-06-10T19:01:21.896Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2):
2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Unknown (8):
2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Certificate (11):
2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, CERT verify (15):
2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Finished (20):
2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS change cipher, Client hello (1):
2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Certificate Status (22):
2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Finished (20):
2023-06-10T19:01:21.902Z [CURL DBG] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
2023-06-10T19:01:21.902Z [CURL DBG] * Server certificate:
2023-06-10T19:01:21.902Z [CURL DBG] * subject: CN=digitaloceanspaces.com
2023-06-10T19:01:21.902Z [CURL DBG] * start date: May 6 03:18:36 2023 GMT
2023-06-10T19:01:21.902Z [CURL DBG] * expire date: Aug 4 03:18:35 2023 GMT
2023-06-10T19:01:21.902Z [CURL DBG] * subjectAltName: host "digitaloceanspaces.com" matched cert's "digitaloceanspaces.com"
2023-06-10T19:01:21.902Z [CURL DBG] * issuer: C=US; O=Let's Encrypt; CN=E1
2023-06-10T19:01:21.902Z [CURL DBG] * SSL certificate verify ok.
2023-06-10T19:01:21.902Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23):
2023-06-10T19:01:21.902Z [CURL DBG] > GET /myspacename/ HTTP/1.1
2023-06-10T19:01:21.902Z [CURL DBG] > host: digitaloceanspaces.com
2023-06-10T19:01:21.902Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL)
2023-06-10T19:01:21.903Z [CURL DBG] > Accept: /
2023-06-10T19:01:21.903Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00YJ9RYDH9NGZN6NHB/20230610/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=1b9a094468b160a4ffa47c3c7251919a77ada8fdcc9ccf9639df6541fa063fa1
2023-06-10T19:01:21.903Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2023-06-10T19:01:21.903Z [CURL DBG] > x-amz-date: 20230610T190121Z
2023-06-10T19:01:21.903Z [CURL DBG] >
2023-06-10T19:01:21.950Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-10T19:01:21.951Z [CURL DBG] < HTTP/1.1 302 Moved Temporarily
2023-06-10T19:01:21.951Z [CURL DBG] < Date: Sat, 10 Jun 2023 19:01:21 GMT
2023-06-10T19:01:21.951Z [CURL DBG] < Transfer-Encoding: chunked
2023-06-10T19:01:21.951Z [CURL DBG] < Connection: keep-alive
2023-06-10T19:01:21.951Z [CURL DBG] < Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
2023-06-10T19:01:21.951Z [CURL DBG] < Expires: Thu, 01 Jan 1970 00:00:01 GMT
2023-06-10T19:01:21.951Z [CURL DBG] < Location: https://www.digitalocean.com
2023-06-10T19:01:21.951Z [CURL DBG] < Report-To: {"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v3?s=ue953H80nKCSRDpIw%2BfNjm6RRWztH6DrxypKHThwbCNum5yWYKLG%2BvH39BPD0h2KjvLLMNXSpQzRBrrfQH0fsKsO0du0tsAzmi40voJRHD6ICKD%2Fm33Qe7kKW1jtZXucYAS3TmaoqIQV"}],"group":"cf-nel","max_age":604800}
2023-06-10T19:01:21.951Z [CURL DBG] < NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
2023-06-10T19:01:21.951Z [CURL DBG] < Strict-Transport-Security: max-age=15552000; includeSubDomains; preload
2023-06-10T19:01:21.951Z [CURL DBG] < Server: cloudflare
2023-06-10T19:01:21.951Z [CURL DBG] < CF-RAY: 7d53dccc2ef63679-FRA
2023-06-10T19:01:21.951Z [CURL DBG] < alt-svc: h3=":443"; ma=86400
2023-06-10T19:01:21.951Z [CURL DBG] <
2023-06-10T19:01:21.952Z [CURL DBG] * Ignoring the response-body
2023-06-10T19:01:21.952Z [CURL DBG] * Connection #0 to host digitaloceanspaces.com left intact
2023-06-10T19:01:21.952Z [CURL DBG] * Issue another request to this URL: 'https://www.digitalocean.com'
2023-06-10T19:01:21.952Z [CURL DBG] * Rebuilt URL to: https://www.digitalocean.com/
2023-06-10T19:01:21.956Z [CURL DBG] * Trying 104.16.181.15...
2023-06-10T19:01:21.956Z [CURL DBG] * TCP_NODELAY set
2023-06-10T19:01:22.000Z [CURL DBG] * Connected to www.digitalocean.com (104.16.181.15) port 443 (#1)
2023-06-10T19:01:22.010Z [CURL DBG] * successfully set certificate verify locations:
2023-06-10T19:01:22.010Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
2023-06-10T19:01:22.011Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1):
2023-06-10T19:01:22.056Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2):
2023-06-10T19:01:22.057Z [CURL DBG] * NPN, negotiated HTTP1.1
2023-06-10T19:01:22.057Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Certificate (11):
2023-06-10T19:01:22.058Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
2023-06-10T19:01:22.058Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Server finished (14):
2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS change cipher, Client hello (1):
2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Unknown (67):
2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Finished (20):
2023-06-10T19:01:22.102Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Finished (20):
2023-06-10T19:01:22.102Z [CURL DBG] * SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
2023-06-10T19:01:22.102Z [CURL DBG] * Server certificate:
2023-06-10T19:01:22.103Z [CURL DBG] * subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=digitalocean.com
2023-06-10T19:01:22.103Z [CURL DBG] * start date: Apr 24 00:00:00 2023 GMT
2023-06-10T19:01:22.103Z [CURL DBG] * expire date: Apr 23 23:59:59 2024 GMT
2023-06-10T19:01:22.103Z [CURL DBG] * subjectAltName: host "www.digitalocean.com" matched cert's "
.digitalocean.com"
2023-06-10T19:01:22.103Z [CURL DBG] * issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
2023-06-10T19:01:22.103Z [CURL DBG] * SSL certificate verify ok.
2023-06-10T19:01:22.103Z [CURL DBG] > GET / HTTP/1.1
2023-06-10T19:01:22.103Z [CURL DBG] > Host: www.digitalocean.com
2023-06-10T19:01:22.103Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL)
2023-06-10T19:01:22.103Z [CURL DBG] > Accept: /
2023-06-10T19:01:22.103Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00YJ9RYDH9NGZN6NHB/20230610/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=1b9a094468b160a4ffa47c3c7251919a77ada8fdcc9ccf9639df6541fa063fa1
2023-06-10T19:01:22.103Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2023-06-10T19:01:22.104Z [CURL DBG] > x-amz-date: 20230610T190121Z
2023-06-10T19:01:22.104Z [CURL DBG] >
2023-06-10T19:01:22.160Z [CURL DBG] < HTTP/1.1 200 OK
2023-06-10T19:01:22.160Z [CURL DBG] < Date: Sat, 10 Jun 2023 19:01:22 GMT
2023-06-10T19:01:22.160Z [CURL DBG] < Content-Type: text/html
2023-06-10T19:01:22.160Z [CURL DBG] < Content-Length: 205424
2023-06-10T19:01:22.160Z [CURL DBG] < Connection: keep-alive
2023-06-10T19:01:22.160Z [CURL DBG] < last-modified: Thu, 08 Jun 2023 21:44:27 GMT
2023-06-10T19:01:22.160Z [CURL DBG] < etag: "64824bbb-32270"
2023-06-10T19:01:22.160Z [CURL DBG] < expires: Sat, 10 Jun 2023 18:59:01 GMT
2023-06-10T19:01:22.160Z [CURL DBG] < cache-control: max-age=0
2023-06-10T19:01:22.160Z [CURL DBG] < cache-control: public, max-age=0, s-maxage=300, must-revalidate
2023-06-10T19:01:22.160Z [CURL DBG] < x-frame-options: DENY
2023-06-10T19:01:22.160Z [CURL DBG] < x-xss-protection: 1; mode=block
2023-06-10T19:01:22.160Z [CURL DBG] < CF-Cache-Status: HIT
2023-06-10T19:01:22.160Z [CURL DBG] < Age: 141
2023-06-10T19:01:22.160Z [CURL DBG] < Accept-Ranges: bytes
2023-06-10T19:01:22.160Z [CURL DBG] < Set-Cookie: __cf_bm=2K22T1g9Qqz_8Y2KszJZ6oH4Elb7YWQ_EuBAqsgnrzc-1686423682-0-AT4QpFuuWw277OIRK140+l0y+463njOPAPzHSNRjYI8BkJkSzz/FWPahkBWVaaG9MNIIRA1jf8Halwt3kNs3WVf+XMUY/yvDDT/wZDXPTJEG; path=/; expires=Sat, 10-Jun-23 19:31:22 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None
2023-06-10T19:01:22.160Z [CURL DBG] < Server: cloudflare
2023-06-10T19:01:22.160Z [CURL DBG] < CF-RAY: 7d53dccd6dc58ff2-FRA
2023-06-10T19:01:22.160Z [CURL DBG] <
2023-06-10T19:01:22.271Z [CURL DBG] * Connection #1 to host www.digitalocean.com left intact
2023-06-10T19:01:22.271Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200

<!-- gh-comment-id:1585585420 --> @akahky commented on GitHub (Jun 10, 2023): @ggtakec Thanks a lot for your reply, when using version 1.92 and after running this command s3fs -o allow_other -o use_path_request_style -o passwd_file=/root/.passwd-s3fs -o host=https://digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o bucket=mymoodlespace ~/mountfolder The prompt returned again without any errors, which gave me an indication that s3fs was started I tried to list the directories then I got this error ls: cannot access 'mountfolder': Input/output error and all the directory information are appearing as questions marks. Regarding the SignatureDoesNotMatch error, I reviewed the api key and secret and they are correct and when I used them in the above command in this comment I did not get any errors, the main difference here is removing the URL option and replace it by the Host option. when I added the log option to the command, it does not exit and runs forever and this is the log of running the command: 2023-06-10T19:01:21.784Z [INF] s3fs version 1.92(unknown) : s3fs -o allow_other -o use_path_request_style -o passwd_file=/root/.passwd-s3fs -o host=https://digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o bucket=myspacename -o dbglevel=info -o curldbg -f mountfolder/ 2023-06-10T19:01:21.786Z [CRT] s3fs_logger.cpp:LowSetLogLevel(239): change debug level from [CRT] to [INF] 2023-06-10T19:01:21.786Z [INF] s3fs.cpp:set_mountpoint_attribute(4480): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40777) 2023-06-10T19:01:21.788Z [INF] curl.cpp:InitMimeType(431): Loaded mime information from /etc/mime.types 2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:StopThreads(195): Any threads are running now, then nothing to do. 2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-10T19:01:21.789Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-10T19:01:21.789Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-10T19:01:21.791Z [CRT] s3fs_cred.cpp:VersionS3fsCredential(60): Check why built-in function was called, the external credential library must have VersionS3fsCredential function. 2023-06-10T19:01:21.791Z [INF] s3fs.cpp:s3fs_init(4210): init v1.92(commit:unknown) with OpenSSL, credential-library(built-in) 2023-06-10T19:01:21.791Z [INF] s3fs.cpp:s3fs_check_service(4347): check services. 2023-06-10T19:01:21.791Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/). 2023-06-10T19:01:21.791Z [INF] curl_util.cpp:prepare_url(257): URL is https://digitaloceanspaces.com/myspacename/ 2023-06-10T19:01:21.791Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://digitaloceanspaces.com/myspacename2023-06-10T19:01:21.784Z [INF] s3fs version 1.92(unknown) : s3fs -o allow_other -o use_path_request_style -o passwd_file=/root/.passwd-s3fs -o host=https://digitaloceanspaces.com -o endpoint=https://fra1.digitaloceanspaces.com -o use_cache=/tmp -o nonempty -o bucket=myspacename -o dbglevel=info -o curldbg -f mountfolder/ 2023-06-10T19:01:21.786Z [CRT] s3fs_logger.cpp:LowSetLogLevel(239): change debug level from [CRT] to [INF] 2023-06-10T19:01:21.786Z [INF] s3fs.cpp:set_mountpoint_attribute(4480): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40777) 2023-06-10T19:01:21.788Z [INF] curl.cpp:InitMimeType(431): Loaded mime information from /etc/mime.types 2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:StopThreads(195): Any threads are running now, then nothing to do. 2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-10T19:01:21.788Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-10T19:01:21.789Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-10T19:01:21.789Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-10T19:01:21.791Z [CRT] s3fs_cred.cpp:VersionS3fsCredential(60): Check why built-in function was called, the external credential library must have VersionS3fsCredential function. 2023-06-10T19:01:21.791Z [INF] s3fs.cpp:s3fs_init(4210): init v1.92(commit:unknown) with OpenSSL, credential-library(built-in) 2023-06-10T19:01:21.791Z [INF] s3fs.cpp:s3fs_check_service(4347): check services. 2023-06-10T19:01:21.791Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/). 2023-06-10T19:01:21.791Z [INF] curl_util.cpp:prepare_url(257): URL is https://digitaloceanspaces.com/myspacename/ 2023-06-10T19:01:21.791Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://digitaloceanspaces.com/myspacename/ 2023-06-10T19:01:21.791Z [INF] curl.cpp:insertV4Headers(2891): computing signature [GET] [/] [] [] 2023-06-10T19:01:21.791Z [INF] curl_util.cpp:url_to_host(334): url is https://digitaloceanspaces.com 2023-06-10T19:01:21.796Z [CURL DBG] * Trying 172.67.150.24... 2023-06-10T19:01:21.796Z [CURL DBG] * TCP_NODELAY set 2023-06-10T19:01:21.839Z [CURL DBG] * Connected to digitaloceanspaces.com (172.67.150.24) port 443 (#0) 2023-06-10T19:01:21.850Z [CURL DBG] * successfully set certificate verify locations: 2023-06-10T19:01:21.850Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs 2023-06-10T19:01:21.851Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1): 2023-06-10T19:01:21.896Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2): 2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22): 2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Unknown (8): 2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Certificate (11): 2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, CERT verify (15): 2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Finished (20): 2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS change cipher, Client hello (1): 2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Certificate Status (22): 2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Finished (20): 2023-06-10T19:01:21.902Z [CURL DBG] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 2023-06-10T19:01:21.902Z [CURL DBG] * Server certificate: 2023-06-10T19:01:21.902Z [CURL DBG] * subject: CN=digitaloceanspaces.com 2023-06-10T19:01:21.902Z [CURL DBG] * start date: May 6 03:18:36 2023 GMT 2023-06-10T19:01:21.902Z [CURL DBG] * expire date: Aug 4 03:18:35 2023 GMT 2023-06-10T19:01:21.902Z [CURL DBG] * subjectAltName: host "digitaloceanspaces.com" matched cert's "digitaloceanspaces.com" 2023-06-10T19:01:21.902Z [CURL DBG] * issuer: C=US; O=Let's Encrypt; CN=E1 2023-06-10T19:01:21.902Z [CURL DBG] * SSL certificate verify ok. 2023-06-10T19:01:21.902Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23): 2023-06-10T19:01:21.902Z [CURL DBG] > GET /myspacename/ HTTP/1.1 2023-06-10T19:01:21.902Z [CURL DBG] > host: digitaloceanspaces.com 2023-06-10T19:01:21.902Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL) 2023-06-10T19:01:21.903Z [CURL DBG] > Accept: */* 2023-06-10T19:01:21.903Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00YJ9RYDH9NGZN6NHB/20230610/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=1b9a094468b160a4ffa47c3c7251919a77ada8fdcc9ccf9639df6541fa063fa1 2023-06-10T19:01:21.903Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 2023-06-10T19:01:21.903Z [CURL DBG] > x-amz-date: 20230610T190121Z 2023-06-10T19:01:21.903Z [CURL DBG] > 2023-06-10T19:01:21.950Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22): 2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): 2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): 2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-10T19:01:21.951Z [CURL DBG] < HTTP/1.1 302 Moved Temporarily 2023-06-10T19:01:21.951Z [CURL DBG] < Date: Sat, 10 Jun 2023 19:01:21 GMT 2023-06-10T19:01:21.951Z [CURL DBG] < Transfer-Encoding: chunked 2023-06-10T19:01:21.951Z [CURL DBG] < Connection: keep-alive 2023-06-10T19:01:21.951Z [CURL DBG] < Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 2023-06-10T19:01:21.951Z [CURL DBG] < Expires: Thu, 01 Jan 1970 00:00:01 GMT 2023-06-10T19:01:21.951Z [CURL DBG] < Location: https://www.digitalocean.com 2023-06-10T19:01:21.951Z [CURL DBG] < Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=ue953H80nKCSRDpIw%2BfNjm6RRWztH6DrxypKHThwbCNum5yWYKLG%2BvH39BPD0h2KjvLLMNXSpQzRBrrfQH0fsKsO0du0tsAzmi40voJRHD6ICKD%2Fm33Qe7kKW1jtZXucYAS3TmaoqIQV"}],"group":"cf-nel","max_age":604800} 2023-06-10T19:01:21.951Z [CURL DBG] < NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} 2023-06-10T19:01:21.951Z [CURL DBG] < Strict-Transport-Security: max-age=15552000; includeSubDomains; preload 2023-06-10T19:01:21.951Z [CURL DBG] < Server: cloudflare 2023-06-10T19:01:21.951Z [CURL DBG] < CF-RAY: 7d53dccc2ef63679-FRA 2023-06-10T19:01:21.951Z [CURL DBG] < alt-svc: h3=":443"; ma=86400 2023-06-10T19:01:21.951Z [CURL DBG] < 2023-06-10T19:01:21.952Z [CURL DBG] * Ignoring the response-body 2023-06-10T19:01:21.952Z [CURL DBG] * Connection #0 to host digitaloceanspaces.com left intact 2023-06-10T19:01:21.952Z [CURL DBG] * Issue another request to this URL: 'https://www.digitalocean.com' 2023-06-10T19:01:21.952Z [CURL DBG] * Rebuilt URL to: https://www.digitalocean.com/ 2023-06-10T19:01:21.956Z [CURL DBG] * Trying 104.16.181.15... 2023-06-10T19:01:21.956Z [CURL DBG] * TCP_NODELAY set 2023-06-10T19:01:22.000Z [CURL DBG] * Connected to www.digitalocean.com (104.16.181.15) port 443 (#1) 2023-06-10T19:01:22.010Z [CURL DBG] * successfully set certificate verify locations: 2023-06-10T19:01:22.010Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs 2023-06-10T19:01:22.011Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1): 2023-06-10T19:01:22.056Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2): 2023-06-10T19:01:22.057Z [CURL DBG] * NPN, negotiated HTTP1.1 2023-06-10T19:01:22.057Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Certificate (11): 2023-06-10T19:01:22.058Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Server key exchange (12): 2023-06-10T19:01:22.058Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Server finished (14): 2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): 2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS change cipher, Client hello (1): 2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Unknown (67): 2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Finished (20): 2023-06-10T19:01:22.102Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Finished (20): 2023-06-10T19:01:22.102Z [CURL DBG] * SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305 2023-06-10T19:01:22.102Z [CURL DBG] * Server certificate: 2023-06-10T19:01:22.103Z [CURL DBG] * subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=digitalocean.com 2023-06-10T19:01:22.103Z [CURL DBG] * start date: Apr 24 00:00:00 2023 GMT 2023-06-10T19:01:22.103Z [CURL DBG] * expire date: Apr 23 23:59:59 2024 GMT 2023-06-10T19:01:22.103Z [CURL DBG] * subjectAltName: host "www.digitalocean.com" matched cert's "*.digitalocean.com" 2023-06-10T19:01:22.103Z [CURL DBG] * issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3 2023-06-10T19:01:22.103Z [CURL DBG] * SSL certificate verify ok. 2023-06-10T19:01:22.103Z [CURL DBG] > GET / HTTP/1.1 2023-06-10T19:01:22.103Z [CURL DBG] > Host: www.digitalocean.com 2023-06-10T19:01:22.103Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL) 2023-06-10T19:01:22.103Z [CURL DBG] > Accept: */* 2023-06-10T19:01:22.103Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00YJ9RYDH9NGZN6NHB/20230610/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=1b9a094468b160a4ffa47c3c7251919a77ada8fdcc9ccf9639df6541fa063fa1 2023-06-10T19:01:22.103Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 2023-06-10T19:01:22.104Z [CURL DBG] > x-amz-date: 20230610T190121Z 2023-06-10T19:01:22.104Z [CURL DBG] > 2023-06-10T19:01:22.160Z [CURL DBG] < HTTP/1.1 200 OK 2023-06-10T19:01:22.160Z [CURL DBG] < Date: Sat, 10 Jun 2023 19:01:22 GMT 2023-06-10T19:01:22.160Z [CURL DBG] < Content-Type: text/html 2023-06-10T19:01:22.160Z [CURL DBG] < Content-Length: 205424 2023-06-10T19:01:22.160Z [CURL DBG] < Connection: keep-alive 2023-06-10T19:01:22.160Z [CURL DBG] < last-modified: Thu, 08 Jun 2023 21:44:27 GMT 2023-06-10T19:01:22.160Z [CURL DBG] < etag: "64824bbb-32270" 2023-06-10T19:01:22.160Z [CURL DBG] < expires: Sat, 10 Jun 2023 18:59:01 GMT 2023-06-10T19:01:22.160Z [CURL DBG] < cache-control: max-age=0 2023-06-10T19:01:22.160Z [CURL DBG] < cache-control: public, max-age=0, s-maxage=300, must-revalidate 2023-06-10T19:01:22.160Z [CURL DBG] < x-frame-options: DENY 2023-06-10T19:01:22.160Z [CURL DBG] < x-xss-protection: 1; mode=block 2023-06-10T19:01:22.160Z [CURL DBG] < CF-Cache-Status: HIT 2023-06-10T19:01:22.160Z [CURL DBG] < Age: 141 2023-06-10T19:01:22.160Z [CURL DBG] < Accept-Ranges: bytes 2023-06-10T19:01:22.160Z [CURL DBG] < Set-Cookie: __cf_bm=2K22T1g9Qqz_8Y2KszJZ6oH4Elb7YWQ_EuBAqsgnrzc-1686423682-0-AT4QpFuuWw277OIRK140+l0y+463njOPAPzHSNRjYI8BkJkSzz/FWPahkBWVaaG9MNIIRA1jf8Halwt3kNs3WVf+XMUY/yvDDT/wZDXPTJEG; path=/; expires=Sat, 10-Jun-23 19:31:22 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None 2023-06-10T19:01:22.160Z [CURL DBG] < Server: cloudflare 2023-06-10T19:01:22.160Z [CURL DBG] < CF-RAY: 7d53dccd6dc58ff2-FRA 2023-06-10T19:01:22.160Z [CURL DBG] < 2023-06-10T19:01:22.271Z [CURL DBG] * Connection #1 to host www.digitalocean.com left intact 2023-06-10T19:01:22.271Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200/ 2023-06-10T19:01:21.791Z [INF] curl.cpp:insertV4Headers(2891): computing signature [GET] [/] [] [] 2023-06-10T19:01:21.791Z [INF] curl_util.cpp:url_to_host(334): url is https://digitaloceanspaces.com 2023-06-10T19:01:21.796Z [CURL DBG] * Trying 172.67.150.24... 2023-06-10T19:01:21.796Z [CURL DBG] * TCP_NODELAY set 2023-06-10T19:01:21.839Z [CURL DBG] * Connected to digitaloceanspaces.com (172.67.150.24) port 443 (#0) 2023-06-10T19:01:21.850Z [CURL DBG] * successfully set certificate verify locations: 2023-06-10T19:01:21.850Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs 2023-06-10T19:01:21.851Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1): 2023-06-10T19:01:21.896Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2): 2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22): 2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Unknown (8): 2023-06-10T19:01:21.897Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Certificate (11): 2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, CERT verify (15): 2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Finished (20): 2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS change cipher, Client hello (1): 2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Certificate Status (22): 2023-06-10T19:01:21.901Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Finished (20): 2023-06-10T19:01:21.902Z [CURL DBG] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 2023-06-10T19:01:21.902Z [CURL DBG] * Server certificate: 2023-06-10T19:01:21.902Z [CURL DBG] * subject: CN=digitaloceanspaces.com 2023-06-10T19:01:21.902Z [CURL DBG] * start date: May 6 03:18:36 2023 GMT 2023-06-10T19:01:21.902Z [CURL DBG] * expire date: Aug 4 03:18:35 2023 GMT 2023-06-10T19:01:21.902Z [CURL DBG] * subjectAltName: host "digitaloceanspaces.com" matched cert's "digitaloceanspaces.com" 2023-06-10T19:01:21.902Z [CURL DBG] * issuer: C=US; O=Let's Encrypt; CN=E1 2023-06-10T19:01:21.902Z [CURL DBG] * SSL certificate verify ok. 2023-06-10T19:01:21.902Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23): 2023-06-10T19:01:21.902Z [CURL DBG] > GET /myspacename/ HTTP/1.1 2023-06-10T19:01:21.902Z [CURL DBG] > host: digitaloceanspaces.com 2023-06-10T19:01:21.902Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL) 2023-06-10T19:01:21.903Z [CURL DBG] > Accept: */* 2023-06-10T19:01:21.903Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00YJ9RYDH9NGZN6NHB/20230610/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=1b9a094468b160a4ffa47c3c7251919a77ada8fdcc9ccf9639df6541fa063fa1 2023-06-10T19:01:21.903Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 2023-06-10T19:01:21.903Z [CURL DBG] > x-amz-date: 20230610T190121Z 2023-06-10T19:01:21.903Z [CURL DBG] > 2023-06-10T19:01:21.950Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22): 2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): 2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Newsession Ticket (4): 2023-06-10T19:01:21.951Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-10T19:01:21.951Z [CURL DBG] < HTTP/1.1 302 Moved Temporarily 2023-06-10T19:01:21.951Z [CURL DBG] < Date: Sat, 10 Jun 2023 19:01:21 GMT 2023-06-10T19:01:21.951Z [CURL DBG] < Transfer-Encoding: chunked 2023-06-10T19:01:21.951Z [CURL DBG] < Connection: keep-alive 2023-06-10T19:01:21.951Z [CURL DBG] < Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0 2023-06-10T19:01:21.951Z [CURL DBG] < Expires: Thu, 01 Jan 1970 00:00:01 GMT 2023-06-10T19:01:21.951Z [CURL DBG] < Location: https://www.digitalocean.com 2023-06-10T19:01:21.951Z [CURL DBG] < Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=ue953H80nKCSRDpIw%2BfNjm6RRWztH6DrxypKHThwbCNum5yWYKLG%2BvH39BPD0h2KjvLLMNXSpQzRBrrfQH0fsKsO0du0tsAzmi40voJRHD6ICKD%2Fm33Qe7kKW1jtZXucYAS3TmaoqIQV"}],"group":"cf-nel","max_age":604800} 2023-06-10T19:01:21.951Z [CURL DBG] < NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} 2023-06-10T19:01:21.951Z [CURL DBG] < Strict-Transport-Security: max-age=15552000; includeSubDomains; preload 2023-06-10T19:01:21.951Z [CURL DBG] < Server: cloudflare 2023-06-10T19:01:21.951Z [CURL DBG] < CF-RAY: 7d53dccc2ef63679-FRA 2023-06-10T19:01:21.951Z [CURL DBG] < alt-svc: h3=":443"; ma=86400 2023-06-10T19:01:21.951Z [CURL DBG] < 2023-06-10T19:01:21.952Z [CURL DBG] * Ignoring the response-body 2023-06-10T19:01:21.952Z [CURL DBG] * Connection #0 to host digitaloceanspaces.com left intact 2023-06-10T19:01:21.952Z [CURL DBG] * Issue another request to this URL: 'https://www.digitalocean.com' 2023-06-10T19:01:21.952Z [CURL DBG] * Rebuilt URL to: https://www.digitalocean.com/ 2023-06-10T19:01:21.956Z [CURL DBG] * Trying 104.16.181.15... 2023-06-10T19:01:21.956Z [CURL DBG] * TCP_NODELAY set 2023-06-10T19:01:22.000Z [CURL DBG] * Connected to www.digitalocean.com (104.16.181.15) port 443 (#1) 2023-06-10T19:01:22.010Z [CURL DBG] * successfully set certificate verify locations: 2023-06-10T19:01:22.010Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs 2023-06-10T19:01:22.011Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1): 2023-06-10T19:01:22.056Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2): 2023-06-10T19:01:22.057Z [CURL DBG] * NPN, negotiated HTTP1.1 2023-06-10T19:01:22.057Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Certificate (11): 2023-06-10T19:01:22.058Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Server key exchange (12): 2023-06-10T19:01:22.058Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Server finished (14): 2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): 2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS change cipher, Client hello (1): 2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Unknown (67): 2023-06-10T19:01:22.059Z [CURL DBG] * TLSv1.2 (OUT), TLS handshake, Finished (20): 2023-06-10T19:01:22.102Z [CURL DBG] * TLSv1.2 (IN), TLS handshake, Finished (20): 2023-06-10T19:01:22.102Z [CURL DBG] * SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305 2023-06-10T19:01:22.102Z [CURL DBG] * Server certificate: 2023-06-10T19:01:22.103Z [CURL DBG] * subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=digitalocean.com 2023-06-10T19:01:22.103Z [CURL DBG] * start date: Apr 24 00:00:00 2023 GMT 2023-06-10T19:01:22.103Z [CURL DBG] * expire date: Apr 23 23:59:59 2024 GMT 2023-06-10T19:01:22.103Z [CURL DBG] * subjectAltName: host "www.digitalocean.com" matched cert's "*.digitalocean.com" 2023-06-10T19:01:22.103Z [CURL DBG] * issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3 2023-06-10T19:01:22.103Z [CURL DBG] * SSL certificate verify ok. 2023-06-10T19:01:22.103Z [CURL DBG] > GET / HTTP/1.1 2023-06-10T19:01:22.103Z [CURL DBG] > Host: www.digitalocean.com 2023-06-10T19:01:22.103Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL) 2023-06-10T19:01:22.103Z [CURL DBG] > Accept: */* 2023-06-10T19:01:22.103Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00YJ9RYDH9NGZN6NHB/20230610/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=1b9a094468b160a4ffa47c3c7251919a77ada8fdcc9ccf9639df6541fa063fa1 2023-06-10T19:01:22.103Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 2023-06-10T19:01:22.104Z [CURL DBG] > x-amz-date: 20230610T190121Z 2023-06-10T19:01:22.104Z [CURL DBG] > 2023-06-10T19:01:22.160Z [CURL DBG] < HTTP/1.1 200 OK 2023-06-10T19:01:22.160Z [CURL DBG] < Date: Sat, 10 Jun 2023 19:01:22 GMT 2023-06-10T19:01:22.160Z [CURL DBG] < Content-Type: text/html 2023-06-10T19:01:22.160Z [CURL DBG] < Content-Length: 205424 2023-06-10T19:01:22.160Z [CURL DBG] < Connection: keep-alive 2023-06-10T19:01:22.160Z [CURL DBG] < last-modified: Thu, 08 Jun 2023 21:44:27 GMT 2023-06-10T19:01:22.160Z [CURL DBG] < etag: "64824bbb-32270" 2023-06-10T19:01:22.160Z [CURL DBG] < expires: Sat, 10 Jun 2023 18:59:01 GMT 2023-06-10T19:01:22.160Z [CURL DBG] < cache-control: max-age=0 2023-06-10T19:01:22.160Z [CURL DBG] < cache-control: public, max-age=0, s-maxage=300, must-revalidate 2023-06-10T19:01:22.160Z [CURL DBG] < x-frame-options: DENY 2023-06-10T19:01:22.160Z [CURL DBG] < x-xss-protection: 1; mode=block 2023-06-10T19:01:22.160Z [CURL DBG] < CF-Cache-Status: HIT 2023-06-10T19:01:22.160Z [CURL DBG] < Age: 141 2023-06-10T19:01:22.160Z [CURL DBG] < Accept-Ranges: bytes 2023-06-10T19:01:22.160Z [CURL DBG] < Set-Cookie: __cf_bm=2K22T1g9Qqz_8Y2KszJZ6oH4Elb7YWQ_EuBAqsgnrzc-1686423682-0-AT4QpFuuWw277OIRK140+l0y+463njOPAPzHSNRjYI8BkJkSzz/FWPahkBWVaaG9MNIIRA1jf8Halwt3kNs3WVf+XMUY/yvDDT/wZDXPTJEG; path=/; expires=Sat, 10-Jun-23 19:31:22 GMT; domain=.digitalocean.com; HttpOnly; Secure; SameSite=None 2023-06-10T19:01:22.160Z [CURL DBG] < Server: cloudflare 2023-06-10T19:01:22.160Z [CURL DBG] < CF-RAY: 7d53dccd6dc58ff2-FRA 2023-06-10T19:01:22.160Z [CURL DBG] < 2023-06-10T19:01:22.271Z [CURL DBG] * Connection #1 to host www.digitalocean.com left intact 2023-06-10T19:01:22.271Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200
Author
Owner

@ggtakec commented on GitHub (Jun 12, 2023):

@akahky
Is the host=https://digitaloceanspaces.com option the correct value?
This setup is causing a redirect to https://www.digitalocean.com.
(it seems this url is a web service, not s3 service.)

<!-- gh-comment-id:1587240630 --> @ggtakec commented on GitHub (Jun 12, 2023): @akahky Is the `host=https://digitaloceanspaces.com` option the correct value? This setup is causing a redirect to `https://www.digitalocean.com`. (it seems this url is a web service, not s3 service.)
Author
Owner

@akahky commented on GitHub (Jun 12, 2023):

@ggtakec
Please replace it with host=https://fra1.digitaloceanspaces.com ,

Please find the command the log of running this command, it stops responding at this point 2023-06-12T12:35:53.157Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200

s3fs myspacename /mountfolder -o passwd_file=.passwd-s3fs -o endpoint=https://fra1.s3fs myspacename /mountfolder -o passwd_file=.passwd-s3fs -o endpoint=https://fra1.digitaloceanspaces.com -o curldbg -o nonempty -o dbglevel=info -o host=https://fra1.digitaloceanspaces.com -f
2023-06-12T12:35:53.033Z [INF] s3fs version 1.92(unknown) : s3fs -o passwd_file=.passwd-s3fs -o endpoint=https://fra1.digitaloceanspaces.com -o curldbg -o nonempty -o dbglevel=info -o host=https://fra1.digitaloceanspaces.com -f myspacename /mountfolder
2023-06-12T12:35:53.035Z [CRT] s3fs_logger.cpp:LowSetLogLevel(239): change debug level from [CRT] to [INF]
2023-06-12T12:35:53.036Z [INF] s3fs.cpp:set_mountpoint_attribute(4480): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40777)
2023-06-12T12:35:53.037Z [INF] curl.cpp:InitMimeType(431): Loaded mime information from /etc/mime.types
2023-06-12T12:35:53.038Z [INF] fdcache_stat.cpp:CheckCacheFileStatTopDir(78): The path to cache top dir is empty, thus not need to check permission.
2023-06-12T12:35:53.038Z [INF] threadpoolman.cpp:StopThreads(195): Any threads are running now, then nothing to do.
2023-06-12T12:35:53.038Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-12T12:35:53.041Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-12T12:35:53.042Z [CRT] s3fs_cred.cpp:VersionS3fsCredential(60): Check why built-in function was called, the external credential library must have VersionS3fsCredential function.
2023-06-12T12:35:53.042Z [INF] s3fs.cpp:s3fs_init(4210): init v1.92(commit:unknown) with OpenSSL, credential-library(built-in)
2023-06-12T12:35:53.043Z [INF] s3fs.cpp:s3fs_check_service(4347): check services.
2023-06-12T12:35:53.043Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/).
2023-06-12T12:35:53.043Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/
2023-06-12T12:35:53.043Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://myspacename.fra1.digitaloceanspaces.com/
2023-06-12T12:35:53.043Z [INF] curl.cpp:insertV4Headers(2891): computing signature [GET] [/] [] []
2023-06-12T12:35:53.043Z [INF] curl_util.cpp:url_to_host(334): url is https://fra1.digitaloceanspaces.com
2023-06-12T12:35:53.056Z [CURL DBG] * Trying 5.101.109.44...
2023-06-12T12:35:53.056Z [CURL DBG] * TCP_NODELAY set
2023-06-12T12:35:53.058Z [CURL DBG] * Connected to myspacename.fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0)
2023-06-12T12:35:53.072Z [CURL DBG] * successfully set certificate verify locations:
2023-06-12T12:35:53.072Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
2023-06-12T12:35:53.073Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1):
2023-06-12T12:35:53.075Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2):
2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Unknown (8):
2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Certificate (11):
2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, CERT verify (15):
2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Finished (20):
2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS change cipher, Client hello (1):
2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Certificate Status (22):
2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Finished (20):
2023-06-12T12:35:53.077Z [CURL DBG] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
2023-06-12T12:35:53.077Z [CURL DBG] * Server certificate:
2023-06-12T12:35:53.078Z [CURL DBG] * subject: C=US; ST=New York; L=New York; O=DigitalOcean, LLC; CN=.fra1.digitaloceanspaces.com
2023-06-12T12:35:53.078Z [CURL DBG] * start date: Apr 10 00:00:00 2023 GMT
2023-06-12T12:35:53.078Z [CURL DBG] * expire date: Apr 27 23:59:59 2024 GMT
2023-06-12T12:35:53.078Z [CURL DBG] * subjectAltName: host "myspacename.fra1.digitaloceanspaces.com" matched cert's "
.fra1.digitaloceanspaces.com"
2023-06-12T12:35:53.078Z [CURL DBG] * issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
2023-06-12T12:35:53.078Z [CURL DBG] * SSL certificate verify ok.
2023-06-12T12:35:53.078Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.078Z [CURL DBG] > GET / HTTP/1.1
2023-06-12T12:35:53.078Z [CURL DBG] > host: myspacename.fra1.digitaloceanspaces.com
2023-06-12T12:35:53.079Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL)
2023-06-12T12:35:53.079Z [CURL DBG] > Accept: /
2023-06-12T12:35:53.079Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00AUUTUBA83CTP7KRP/20230612/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=34e00458e13d9a45595be5b254e8f2ff119d7682f54a8ccc6d959d2840f3bc50
2023-06-12T12:35:53.079Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2023-06-12T12:35:53.079Z [CURL DBG] > x-amz-date: 20230612T123553Z
2023-06-12T12:35:53.079Z [CURL DBG] >
2023-06-12T12:35:53.083Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.084Z [CURL DBG] < HTTP/1.1 400 Bad Request
2023-06-12T12:35:53.084Z [CURL DBG] < content-length: 194
2023-06-12T12:35:53.084Z [CURL DBG] < x-amz-request-id: tx000000000000011f4a974-0064871129-a549682b-fra1b
2023-06-12T12:35:53.084Z [CURL DBG] < accept-ranges: bytes
2023-06-12T12:35:53.084Z [CURL DBG] < content-type: application/xml
2023-06-12T12:35:53.084Z [CURL DBG] < date: Mon, 12 Jun 2023 12:35:53 GMT
2023-06-12T12:35:53.084Z [CURL DBG] < cache-control: max-age=60
2023-06-12T12:35:53.084Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload
2023-06-12T12:35:53.084Z [CURL DBG] < x-envoy-upstream-healthchecked-cluster:
2023-06-12T12:35:53.084Z [CURL DBG] <
2023-06-12T12:35:53.084Z [CURL DBG] * Connection #0 to host myspacename.fra1.digitaloceanspaces.com left intact
2023-06-12T12:35:53.084Z [ERR] curl.cpp:RequestPerform(2560): HTTP response code 400, returning EIO. Body Text: InvalidArgumenttx000000000000011f4a974-0064871129-a549682b-fra1ba549682b-fra1b-fra1-zg02
2023-06-12T12:35:53.084Z [ERR] curl.cpp:CheckBucket(3741): Check bucket failed, S3 response: InvalidArgumenttx000000000000011f4a974-0064871129-a549682b-fra1ba549682b-fra1b-fra1-zg02
2023-06-12T12:35:53.084Z [CRT] s3fs.cpp:s3fs_check_service(4424): Failed to connect by sigv4, so retry to connect by signature version 2. But you should to review url and endpoint option.
2023-06-12T12:35:53.085Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/).
2023-06-12T12:35:53.085Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/
2023-06-12T12:35:53.085Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://myspacename.fra1.digitaloceanspaces.com/
2023-06-12T12:35:53.085Z [CURL DBG] * Found bundle for host myspacename.fra1.digitaloceanspaces.com: 0x7faa00001220 [can pipeline]
2023-06-12T12:35:53.085Z [CURL DBG] * Re-using existing connection! (#0) with host myspacename.fra1.digitaloceanspaces.com
2023-06-12T12:35:53.085Z [CURL DBG] * Connected to myspacename.fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0)
2023-06-12T12:35:53.085Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.085Z [CURL DBG] > GET / HTTP/1.1
2023-06-12T12:35:53.085Z [CURL DBG] > Host: myspacename.fra1.digitaloceanspaces.com
2023-06-12T12:35:53.085Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL)
2023-06-12T12:35:53.085Z [CURL DBG] > Accept: /
2023-06-12T12:35:53.085Z [CURL DBG] > Authorization: AWS DO00AUUTUBA83CTP7KRP:QSSzXpkK8qHp4S2f1wNEEgm+5o8=
2023-06-12T12:35:53.085Z [CURL DBG] > Date: Mon, 12 Jun 2023 12:35:53 GMT
2023-06-12T12:35:53.086Z [CURL DBG] >
2023-06-12T12:35:53.144Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.144Z [CURL DBG] < HTTP/1.1 200 OK
2023-06-12T12:35:53.145Z [CURL DBG] < x-amz-request-id: tx000000000000011f8afab-0064871129-a559e06c-fra1b
2023-06-12T12:35:53.145Z [CURL DBG] < content-type: application/xml
2023-06-12T12:35:53.145Z [CURL DBG] < date: Mon, 12 Jun 2023 12:35:53 GMT
2023-06-12T12:35:53.145Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload
2023-06-12T12:35:53.145Z [CURL DBG] < x-envoy-upstream-healthchecked-cluster:
2023-06-12T12:35:53.145Z [CURL DBG] < transfer-encoding: chunked
2023-06-12T12:35:53.145Z [CURL DBG] <
2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * Connection #0 to host myspacename.fra1.digitaloceanspaces.com left intact
2023-06-12T12:35:53.157Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200
digitaloceanspaces.com -o curldbg -o nonempty -o dbglevel=info -o host=https://fra1.digitaloceanspaces.com -f
2023-06-12T12:35:53.033Z [INF] s3fs version 1.92(unknown) : s3fs -o passwd_file=.passwd-s3fs -o endpoint=https://fra1.digitaloceanspaces.com -o curldbg -o nonempty -o dbglevel=info -o host=https://fra1.digitaloceanspaces.com -f myspacename /mountfolder
2023-06-12T12:35:53.035Z [CRT] s3fs_logger.cpp:LowSetLogLevel(239): change debug level from [CRT] to [INF]
2023-06-12T12:35:53.036Z [INF] s3fs.cpp:set_mountpoint_attribute(4480): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40777)
2023-06-12T12:35:53.037Z [INF] curl.cpp:InitMimeType(431): Loaded mime information from /etc/mime.types
2023-06-12T12:35:53.038Z [INF] fdcache_stat.cpp:CheckCacheFileStatTopDir(78): The path to cache top dir is empty, thus not need to check permission.
2023-06-12T12:35:53.038Z [INF] threadpoolman.cpp:StopThreads(195): Any threads are running now, then nothing to do.
2023-06-12T12:35:53.038Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-12T12:35:53.041Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan.
2023-06-12T12:35:53.042Z [CRT] s3fs_cred.cpp:VersionS3fsCredential(60): Check why built-in function was called, the external credential library must have VersionS3fsCredential function.
2023-06-12T12:35:53.042Z [INF] s3fs.cpp:s3fs_init(4210): init v1.92(commit:unknown) with OpenSSL, credential-library(built-in)
2023-06-12T12:35:53.043Z [INF] s3fs.cpp:s3fs_check_service(4347): check services.
2023-06-12T12:35:53.043Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/).
2023-06-12T12:35:53.043Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/
2023-06-12T12:35:53.043Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://myspacename.fra1.digitaloceanspaces.com/
2023-06-12T12:35:53.043Z [INF] curl.cpp:insertV4Headers(2891): computing signature [GET] [/] [] []
2023-06-12T12:35:53.043Z [INF] curl_util.cpp:url_to_host(334): url is https://fra1.digitaloceanspaces.com
2023-06-12T12:35:53.056Z [CURL DBG] * Trying 5.101.109.44...
2023-06-12T12:35:53.056Z [CURL DBG] * TCP_NODELAY set
2023-06-12T12:35:53.058Z [CURL DBG] * Connected to myspacename.fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0)
2023-06-12T12:35:53.072Z [CURL DBG] * successfully set certificate verify locations:
2023-06-12T12:35:53.072Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
2023-06-12T12:35:53.073Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1):
2023-06-12T12:35:53.075Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2):
2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Unknown (8):
2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Certificate (11):
2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, CERT verify (15):
2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Finished (20):
2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS change cipher, Client hello (1):
2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Certificate Status (22):
2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Finished (20):
2023-06-12T12:35:53.077Z [CURL DBG] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
2023-06-12T12:35:53.077Z [CURL DBG] * Server certificate:
2023-06-12T12:35:53.078Z [CURL DBG] * subject: C=US; ST=New York; L=New York; O=DigitalOcean, LLC; CN=.fra1.digitaloceanspaces.com
2023-06-12T12:35:53.078Z [CURL DBG] * start date: Apr 10 00:00:00 2023 GMT
2023-06-12T12:35:53.078Z [CURL DBG] * expire date: Apr 27 23:59:59 2024 GMT
2023-06-12T12:35:53.078Z [CURL DBG] * subjectAltName: host "myspacename.fra1.digitaloceanspaces.com" matched cert's "
.fra1.digitaloceanspaces.com"
2023-06-12T12:35:53.078Z [CURL DBG] * issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1
2023-06-12T12:35:53.078Z [CURL DBG] * SSL certificate verify ok.
2023-06-12T12:35:53.078Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.078Z [CURL DBG] > GET / HTTP/1.1
2023-06-12T12:35:53.078Z [CURL DBG] > host: myspacename.fra1.digitaloceanspaces.com
2023-06-12T12:35:53.079Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL)
2023-06-12T12:35:53.079Z [CURL DBG] > Accept: /
2023-06-12T12:35:53.079Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00AUUTUBA83CTP7KRP/20230612/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=34e00458e13d9a45595be5b254e8f2ff119d7682f54a8ccc6d959d2840f3bc50
2023-06-12T12:35:53.079Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2023-06-12T12:35:53.079Z [CURL DBG] > x-amz-date: 20230612T123553Z
2023-06-12T12:35:53.079Z [CURL DBG] >
2023-06-12T12:35:53.083Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.084Z [CURL DBG] < HTTP/1.1 400 Bad Request
2023-06-12T12:35:53.084Z [CURL DBG] < content-length: 194
2023-06-12T12:35:53.084Z [CURL DBG] < x-amz-request-id: tx000000000000011f4a974-0064871129-a549682b-fra1b
2023-06-12T12:35:53.084Z [CURL DBG] < accept-ranges: bytes
2023-06-12T12:35:53.084Z [CURL DBG] < content-type: application/xml
2023-06-12T12:35:53.084Z [CURL DBG] < date: Mon, 12 Jun 2023 12:35:53 GMT
2023-06-12T12:35:53.084Z [CURL DBG] < cache-control: max-age=60
2023-06-12T12:35:53.084Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload
2023-06-12T12:35:53.084Z [CURL DBG] < x-envoy-upstream-healthchecked-cluster:
2023-06-12T12:35:53.084Z [CURL DBG] <
2023-06-12T12:35:53.084Z [CURL DBG] * Connection #0 to host myspacename.fra1.digitaloceanspaces.com left intact
2023-06-12T12:35:53.084Z [ERR] curl.cpp:RequestPerform(2560): HTTP response code 400, returning EIO. Body Text: InvalidArgumenttx000000000000011f4a974-0064871129-a549682b-fra1ba549682b-fra1b-fra1-zg02
2023-06-12T12:35:53.084Z [ERR] curl.cpp:CheckBucket(3741): Check bucket failed, S3 response: InvalidArgumenttx000000000000011f4a974-0064871129-a549682b-fra1ba549682b-fra1b-fra1-zg02
2023-06-12T12:35:53.084Z [CRT] s3fs.cpp:s3fs_check_service(4424): Failed to connect by sigv4, so retry to connect by signature version 2. But you should to review url and endpoint option.
2023-06-12T12:35:53.085Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/).
2023-06-12T12:35:53.085Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/
2023-06-12T12:35:53.085Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://myspacename.fra1.digitaloceanspaces.com/
2023-06-12T12:35:53.085Z [CURL DBG] * Found bundle for host myspacename.fra1.digitaloceanspaces.com: 0x7faa00001220 [can pipeline]
2023-06-12T12:35:53.085Z [CURL DBG] * Re-using existing connection! (#0) with host myspacename.fra1.digitaloceanspaces.com
2023-06-12T12:35:53.085Z [CURL DBG] * Connected to myspacename.fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0)
2023-06-12T12:35:53.085Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.085Z [CURL DBG] > GET / HTTP/1.1
2023-06-12T12:35:53.085Z [CURL DBG] > Host: myspacename.fra1.digitaloceanspaces.com
2023-06-12T12:35:53.085Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL)
2023-06-12T12:35:53.085Z [CURL DBG] > Accept: /
2023-06-12T12:35:53.085Z [CURL DBG] > Authorization: AWS DO00AUUTUBA83CTP7KRP:QSSzXpkK8qHp4S2f1wNEEgm+5o8=
2023-06-12T12:35:53.085Z [CURL DBG] > Date: Mon, 12 Jun 2023 12:35:53 GMT
2023-06-12T12:35:53.086Z [CURL DBG] >
2023-06-12T12:35:53.144Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.144Z [CURL DBG] < HTTP/1.1 200 OK
2023-06-12T12:35:53.145Z [CURL DBG] < x-amz-request-id: tx000000000000011f8afab-0064871129-a559e06c-fra1b
2023-06-12T12:35:53.145Z [CURL DBG] < content-type: application/xml
2023-06-12T12:35:53.145Z [CURL DBG] < date: Mon, 12 Jun 2023 12:35:53 GMT
2023-06-12T12:35:53.145Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload
2023-06-12T12:35:53.145Z [CURL DBG] < x-envoy-upstream-healthchecked-cluster:
2023-06-12T12:35:53.145Z [CURL DBG] < transfer-encoding: chunked
2023-06-12T12:35:53.145Z [CURL DBG] <
2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23):
2023-06-12T12:35:53.157Z [CURL DBG] * Connection #0 to host myspacename.fra1.digitaloceanspaces.com left intact
2023-06-12T12:35:53.157Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200

<!-- gh-comment-id:1587268153 --> @akahky commented on GitHub (Jun 12, 2023): @ggtakec Please replace it with host=https://fra1.digitaloceanspaces.com , Please find the command the log of running this command, it stops responding at this point 2023-06-12T12:35:53.157Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200 s3fs myspacename /mountfolder -o passwd_file=.passwd-s3fs -o endpoint=https://fra1.s3fs myspacename /mountfolder -o passwd_file=.passwd-s3fs -o endpoint=https://fra1.digitaloceanspaces.com -o curldbg -o nonempty -o dbglevel=info -o host=https://fra1.digitaloceanspaces.com -f 2023-06-12T12:35:53.033Z [INF] s3fs version 1.92(unknown) : s3fs -o passwd_file=.passwd-s3fs -o endpoint=https://fra1.digitaloceanspaces.com -o curldbg -o nonempty -o dbglevel=info -o host=https://fra1.digitaloceanspaces.com -f myspacename /mountfolder 2023-06-12T12:35:53.035Z [CRT] s3fs_logger.cpp:LowSetLogLevel(239): change debug level from [CRT] to [INF] 2023-06-12T12:35:53.036Z [INF] s3fs.cpp:set_mountpoint_attribute(4480): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40777) 2023-06-12T12:35:53.037Z [INF] curl.cpp:InitMimeType(431): Loaded mime information from /etc/mime.types 2023-06-12T12:35:53.038Z [INF] fdcache_stat.cpp:CheckCacheFileStatTopDir(78): The path to cache top dir is empty, thus not need to check permission. 2023-06-12T12:35:53.038Z [INF] threadpoolman.cpp:StopThreads(195): Any threads are running now, then nothing to do. 2023-06-12T12:35:53.038Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-12T12:35:53.041Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-12T12:35:53.042Z [CRT] s3fs_cred.cpp:VersionS3fsCredential(60): Check why built-in function was called, the external credential library must have VersionS3fsCredential function. 2023-06-12T12:35:53.042Z [INF] s3fs.cpp:s3fs_init(4210): init v1.92(commit:unknown) with OpenSSL, credential-library(built-in) 2023-06-12T12:35:53.043Z [INF] s3fs.cpp:s3fs_check_service(4347): check services. 2023-06-12T12:35:53.043Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/). 2023-06-12T12:35:53.043Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/ 2023-06-12T12:35:53.043Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://myspacename.fra1.digitaloceanspaces.com/ 2023-06-12T12:35:53.043Z [INF] curl.cpp:insertV4Headers(2891): computing signature [GET] [/] [] [] 2023-06-12T12:35:53.043Z [INF] curl_util.cpp:url_to_host(334): url is https://fra1.digitaloceanspaces.com 2023-06-12T12:35:53.056Z [CURL DBG] * Trying 5.101.109.44... 2023-06-12T12:35:53.056Z [CURL DBG] * TCP_NODELAY set 2023-06-12T12:35:53.058Z [CURL DBG] * Connected to myspacename.fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0) 2023-06-12T12:35:53.072Z [CURL DBG] * successfully set certificate verify locations: 2023-06-12T12:35:53.072Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs 2023-06-12T12:35:53.073Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1): 2023-06-12T12:35:53.075Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2): 2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22): 2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Unknown (8): 2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Certificate (11): 2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, CERT verify (15): 2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Finished (20): 2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS change cipher, Client hello (1): 2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Certificate Status (22): 2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Finished (20): 2023-06-12T12:35:53.077Z [CURL DBG] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 2023-06-12T12:35:53.077Z [CURL DBG] * Server certificate: 2023-06-12T12:35:53.078Z [CURL DBG] * subject: C=US; ST=New York; L=New York; O=DigitalOcean, LLC; CN=*.fra1.digitaloceanspaces.com 2023-06-12T12:35:53.078Z [CURL DBG] * start date: Apr 10 00:00:00 2023 GMT 2023-06-12T12:35:53.078Z [CURL DBG] * expire date: Apr 27 23:59:59 2024 GMT 2023-06-12T12:35:53.078Z [CURL DBG] * subjectAltName: host "myspacename.fra1.digitaloceanspaces.com" matched cert's "*.fra1.digitaloceanspaces.com" 2023-06-12T12:35:53.078Z [CURL DBG] * issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1 2023-06-12T12:35:53.078Z [CURL DBG] * SSL certificate verify ok. 2023-06-12T12:35:53.078Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.078Z [CURL DBG] > GET / HTTP/1.1 2023-06-12T12:35:53.078Z [CURL DBG] > host: myspacename.fra1.digitaloceanspaces.com 2023-06-12T12:35:53.079Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL) 2023-06-12T12:35:53.079Z [CURL DBG] > Accept: */* 2023-06-12T12:35:53.079Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00AUUTUBA83CTP7KRP/20230612/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=34e00458e13d9a45595be5b254e8f2ff119d7682f54a8ccc6d959d2840f3bc50 2023-06-12T12:35:53.079Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 2023-06-12T12:35:53.079Z [CURL DBG] > x-amz-date: 20230612T123553Z 2023-06-12T12:35:53.079Z [CURL DBG] > 2023-06-12T12:35:53.083Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.084Z [CURL DBG] < HTTP/1.1 400 Bad Request 2023-06-12T12:35:53.084Z [CURL DBG] < content-length: 194 2023-06-12T12:35:53.084Z [CURL DBG] < x-amz-request-id: tx000000000000011f4a974-0064871129-a549682b-fra1b 2023-06-12T12:35:53.084Z [CURL DBG] < accept-ranges: bytes 2023-06-12T12:35:53.084Z [CURL DBG] < content-type: application/xml 2023-06-12T12:35:53.084Z [CURL DBG] < date: Mon, 12 Jun 2023 12:35:53 GMT 2023-06-12T12:35:53.084Z [CURL DBG] < cache-control: max-age=60 2023-06-12T12:35:53.084Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload 2023-06-12T12:35:53.084Z [CURL DBG] < x-envoy-upstream-healthchecked-cluster: 2023-06-12T12:35:53.084Z [CURL DBG] < 2023-06-12T12:35:53.084Z [CURL DBG] * Connection #0 to host myspacename.fra1.digitaloceanspaces.com left intact 2023-06-12T12:35:53.084Z [ERR] curl.cpp:RequestPerform(2560): HTTP response code 400, returning EIO. Body Text: <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidArgument</Code><RequestId>tx000000000000011f4a974-0064871129-a549682b-fra1b</RequestId><HostId>a549682b-fra1b-fra1-zg02</HostId></Error> 2023-06-12T12:35:53.084Z [ERR] curl.cpp:CheckBucket(3741): Check bucket failed, S3 response: <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidArgument</Code><RequestId>tx000000000000011f4a974-0064871129-a549682b-fra1b</RequestId><HostId>a549682b-fra1b-fra1-zg02</HostId></Error> 2023-06-12T12:35:53.084Z [CRT] s3fs.cpp:s3fs_check_service(4424): Failed to connect by sigv4, so retry to connect by signature version 2. But you should to review url and endpoint option. 2023-06-12T12:35:53.085Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/). 2023-06-12T12:35:53.085Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/ 2023-06-12T12:35:53.085Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://myspacename.fra1.digitaloceanspaces.com/ 2023-06-12T12:35:53.085Z [CURL DBG] * Found bundle for host myspacename.fra1.digitaloceanspaces.com: 0x7faa00001220 [can pipeline] 2023-06-12T12:35:53.085Z [CURL DBG] * Re-using existing connection! (#0) with host myspacename.fra1.digitaloceanspaces.com 2023-06-12T12:35:53.085Z [CURL DBG] * Connected to myspacename.fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0) 2023-06-12T12:35:53.085Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.085Z [CURL DBG] > GET / HTTP/1.1 2023-06-12T12:35:53.085Z [CURL DBG] > Host: myspacename.fra1.digitaloceanspaces.com 2023-06-12T12:35:53.085Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL) 2023-06-12T12:35:53.085Z [CURL DBG] > Accept: */* 2023-06-12T12:35:53.085Z [CURL DBG] > Authorization: AWS DO00AUUTUBA83CTP7KRP:QSSzXpkK8qHp4S2f1wNEEgm+5o8= 2023-06-12T12:35:53.085Z [CURL DBG] > Date: Mon, 12 Jun 2023 12:35:53 GMT 2023-06-12T12:35:53.086Z [CURL DBG] > 2023-06-12T12:35:53.144Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.144Z [CURL DBG] < HTTP/1.1 200 OK 2023-06-12T12:35:53.145Z [CURL DBG] < x-amz-request-id: tx000000000000011f8afab-0064871129-a559e06c-fra1b 2023-06-12T12:35:53.145Z [CURL DBG] < content-type: application/xml 2023-06-12T12:35:53.145Z [CURL DBG] < date: Mon, 12 Jun 2023 12:35:53 GMT 2023-06-12T12:35:53.145Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload 2023-06-12T12:35:53.145Z [CURL DBG] < x-envoy-upstream-healthchecked-cluster: 2023-06-12T12:35:53.145Z [CURL DBG] < transfer-encoding: chunked 2023-06-12T12:35:53.145Z [CURL DBG] < 2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * Connection #0 to host myspacename.fra1.digitaloceanspaces.com left intact 2023-06-12T12:35:53.157Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200 digitaloceanspaces.com -o curldbg -o nonempty -o dbglevel=info -o host=https://fra1.digitaloceanspaces.com -f 2023-06-12T12:35:53.033Z [INF] s3fs version 1.92(unknown) : s3fs -o passwd_file=.passwd-s3fs -o endpoint=https://fra1.digitaloceanspaces.com -o curldbg -o nonempty -o dbglevel=info -o host=https://fra1.digitaloceanspaces.com -f myspacename /mountfolder 2023-06-12T12:35:53.035Z [CRT] s3fs_logger.cpp:LowSetLogLevel(239): change debug level from [CRT] to [INF] 2023-06-12T12:35:53.036Z [INF] s3fs.cpp:set_mountpoint_attribute(4480): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40777) 2023-06-12T12:35:53.037Z [INF] curl.cpp:InitMimeType(431): Loaded mime information from /etc/mime.types 2023-06-12T12:35:53.038Z [INF] fdcache_stat.cpp:CheckCacheFileStatTopDir(78): The path to cache top dir is empty, thus not need to check permission. 2023-06-12T12:35:53.038Z [INF] threadpoolman.cpp:StopThreads(195): Any threads are running now, then nothing to do. 2023-06-12T12:35:53.038Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-12T12:35:53.041Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-12T12:35:53.042Z [INF] threadpoolman.cpp:Worker(76): Start worker thread in ThreadPoolMan. 2023-06-12T12:35:53.042Z [CRT] s3fs_cred.cpp:VersionS3fsCredential(60): Check why built-in function was called, the external credential library must have VersionS3fsCredential function. 2023-06-12T12:35:53.042Z [INF] s3fs.cpp:s3fs_init(4210): init v1.92(commit:unknown) with OpenSSL, credential-library(built-in) 2023-06-12T12:35:53.043Z [INF] s3fs.cpp:s3fs_check_service(4347): check services. 2023-06-12T12:35:53.043Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/). 2023-06-12T12:35:53.043Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/ 2023-06-12T12:35:53.043Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://myspacename.fra1.digitaloceanspaces.com/ 2023-06-12T12:35:53.043Z [INF] curl.cpp:insertV4Headers(2891): computing signature [GET] [/] [] [] 2023-06-12T12:35:53.043Z [INF] curl_util.cpp:url_to_host(334): url is https://fra1.digitaloceanspaces.com 2023-06-12T12:35:53.056Z [CURL DBG] * Trying 5.101.109.44... 2023-06-12T12:35:53.056Z [CURL DBG] * TCP_NODELAY set 2023-06-12T12:35:53.058Z [CURL DBG] * Connected to myspacename.fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0) 2023-06-12T12:35:53.072Z [CURL DBG] * successfully set certificate verify locations: 2023-06-12T12:35:53.072Z [CURL DBG] * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs 2023-06-12T12:35:53.073Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Client hello (1): 2023-06-12T12:35:53.075Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Server hello (2): 2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Certificate Status (22): 2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Unknown (8): 2023-06-12T12:35:53.076Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Certificate (11): 2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, CERT verify (15): 2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (IN), TLS handshake, Finished (20): 2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS change cipher, Client hello (1): 2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Certificate Status (22): 2023-06-12T12:35:53.077Z [CURL DBG] * TLSv1.3 (OUT), TLS handshake, Finished (20): 2023-06-12T12:35:53.077Z [CURL DBG] * SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 2023-06-12T12:35:53.077Z [CURL DBG] * Server certificate: 2023-06-12T12:35:53.078Z [CURL DBG] * subject: C=US; ST=New York; L=New York; O=DigitalOcean, LLC; CN=*.fra1.digitaloceanspaces.com 2023-06-12T12:35:53.078Z [CURL DBG] * start date: Apr 10 00:00:00 2023 GMT 2023-06-12T12:35:53.078Z [CURL DBG] * expire date: Apr 27 23:59:59 2024 GMT 2023-06-12T12:35:53.078Z [CURL DBG] * subjectAltName: host "myspacename.fra1.digitaloceanspaces.com" matched cert's "*.fra1.digitaloceanspaces.com" 2023-06-12T12:35:53.078Z [CURL DBG] * issuer: C=US; O=DigiCert Inc; CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1 2023-06-12T12:35:53.078Z [CURL DBG] * SSL certificate verify ok. 2023-06-12T12:35:53.078Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.078Z [CURL DBG] > GET / HTTP/1.1 2023-06-12T12:35:53.078Z [CURL DBG] > host: myspacename.fra1.digitaloceanspaces.com 2023-06-12T12:35:53.079Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL) 2023-06-12T12:35:53.079Z [CURL DBG] > Accept: */* 2023-06-12T12:35:53.079Z [CURL DBG] > Authorization: AWS4-HMAC-SHA256 Credential=DO00AUUTUBA83CTP7KRP/20230612/https://fra1.digitaloceanspaces.com/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=34e00458e13d9a45595be5b254e8f2ff119d7682f54a8ccc6d959d2840f3bc50 2023-06-12T12:35:53.079Z [CURL DBG] > x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 2023-06-12T12:35:53.079Z [CURL DBG] > x-amz-date: 20230612T123553Z 2023-06-12T12:35:53.079Z [CURL DBG] > 2023-06-12T12:35:53.083Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.084Z [CURL DBG] < HTTP/1.1 400 Bad Request 2023-06-12T12:35:53.084Z [CURL DBG] < content-length: 194 2023-06-12T12:35:53.084Z [CURL DBG] < x-amz-request-id: tx000000000000011f4a974-0064871129-a549682b-fra1b 2023-06-12T12:35:53.084Z [CURL DBG] < accept-ranges: bytes 2023-06-12T12:35:53.084Z [CURL DBG] < content-type: application/xml 2023-06-12T12:35:53.084Z [CURL DBG] < date: Mon, 12 Jun 2023 12:35:53 GMT 2023-06-12T12:35:53.084Z [CURL DBG] < cache-control: max-age=60 2023-06-12T12:35:53.084Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload 2023-06-12T12:35:53.084Z [CURL DBG] < x-envoy-upstream-healthchecked-cluster: 2023-06-12T12:35:53.084Z [CURL DBG] < 2023-06-12T12:35:53.084Z [CURL DBG] * Connection #0 to host myspacename.fra1.digitaloceanspaces.com left intact 2023-06-12T12:35:53.084Z [ERR] curl.cpp:RequestPerform(2560): HTTP response code 400, returning EIO. Body Text: <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidArgument</Code><RequestId>tx000000000000011f4a974-0064871129-a549682b-fra1b</RequestId><HostId>a549682b-fra1b-fra1-zg02</HostId></Error> 2023-06-12T12:35:53.084Z [ERR] curl.cpp:CheckBucket(3741): Check bucket failed, S3 response: <?xml version="1.0" encoding="UTF-8"?><Error><Code>InvalidArgument</Code><RequestId>tx000000000000011f4a974-0064871129-a549682b-fra1b</RequestId><HostId>a549682b-fra1b-fra1-zg02</HostId></Error> 2023-06-12T12:35:53.084Z [CRT] s3fs.cpp:s3fs_check_service(4424): Failed to connect by sigv4, so retry to connect by signature version 2. But you should to review url and endpoint option. 2023-06-12T12:35:53.085Z [INF] curl.cpp:CheckBucket(3672): check a bucket path(/). 2023-06-12T12:35:53.085Z [INF] curl_util.cpp:prepare_url(257): URL is https://fra1.digitaloceanspaces.com/myspacename/ 2023-06-12T12:35:53.085Z [INF] curl_util.cpp:prepare_url(290): URL changed is https://myspacename.fra1.digitaloceanspaces.com/ 2023-06-12T12:35:53.085Z [CURL DBG] * Found bundle for host myspacename.fra1.digitaloceanspaces.com: 0x7faa00001220 [can pipeline] 2023-06-12T12:35:53.085Z [CURL DBG] * Re-using existing connection! (#0) with host myspacename.fra1.digitaloceanspaces.com 2023-06-12T12:35:53.085Z [CURL DBG] * Connected to myspacename.fra1.digitaloceanspaces.com (5.101.109.44) port 443 (#0) 2023-06-12T12:35:53.085Z [CURL DBG] * TLSv1.3 (OUT), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.085Z [CURL DBG] > GET / HTTP/1.1 2023-06-12T12:35:53.085Z [CURL DBG] > Host: myspacename.fra1.digitaloceanspaces.com 2023-06-12T12:35:53.085Z [CURL DBG] > User-Agent: s3fs/1.92 (commit hash unknown; OpenSSL) 2023-06-12T12:35:53.085Z [CURL DBG] > Accept: */* 2023-06-12T12:35:53.085Z [CURL DBG] > Authorization: AWS DO00AUUTUBA83CTP7KRP:QSSzXpkK8qHp4S2f1wNEEgm+5o8= 2023-06-12T12:35:53.085Z [CURL DBG] > Date: Mon, 12 Jun 2023 12:35:53 GMT 2023-06-12T12:35:53.086Z [CURL DBG] > 2023-06-12T12:35:53.144Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.144Z [CURL DBG] < HTTP/1.1 200 OK 2023-06-12T12:35:53.145Z [CURL DBG] < x-amz-request-id: tx000000000000011f8afab-0064871129-a559e06c-fra1b 2023-06-12T12:35:53.145Z [CURL DBG] < content-type: application/xml 2023-06-12T12:35:53.145Z [CURL DBG] < date: Mon, 12 Jun 2023 12:35:53 GMT 2023-06-12T12:35:53.145Z [CURL DBG] < strict-transport-security: max-age=15552000; includeSubDomains; preload 2023-06-12T12:35:53.145Z [CURL DBG] < x-envoy-upstream-healthchecked-cluster: 2023-06-12T12:35:53.145Z [CURL DBG] < transfer-encoding: chunked 2023-06-12T12:35:53.145Z [CURL DBG] < 2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.155Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.156Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * TLSv1.3 (IN), TLS Unknown, Unknown (23): 2023-06-12T12:35:53.157Z [CURL DBG] * Connection #0 to host myspacename.fra1.digitaloceanspaces.com left intact 2023-06-12T12:35:53.157Z [INF] curl.cpp:RequestPerform(2519): HTTP response code 200
Author
Owner

@manhtruongwang commented on GitHub (Nov 10, 2023):

Here my comment in v1.93: s3fs BucketName MountPath -o passwd_file=${HOME}/.passwd-s3fs -o use_cache=/tmp -o ensure_diskfree=1024 -o url=https://sgp1.digitaloceanspaces.com -o use_path_request_style

<!-- gh-comment-id:1806015675 --> @manhtruongwang commented on GitHub (Nov 10, 2023): Here my comment in v1.93: s3fs BucketName MountPath -o passwd_file=${HOME}/.passwd-s3fs -o use_cache=/tmp -o ensure_diskfree=1024 -o url=https://sgp1.digitaloceanspaces.com -o use_path_request_style
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1108
No description provided.