[GH-ISSUE #809] s3fs return http response code 200 but bucket not mount #468

Closed
opened 2026-03-04 01:45:51 +03:00 by kerem · 8 comments
Owner

Originally created by @paulm76 on GitHub (Aug 13, 2018).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/809

Version of s3fs being used (s3fs --version)

  • V1.84

Version of fuse being used (pkg-config --modversion fuse)

  • 2.9.4

System information (uname -r)

  • Linux ip-172-38-4-12 4.14.47-56.37.amzn1.x86_64 #1 SMP Wed Jun 6 18:49:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Distro (cat /etc/issue)

  • Amazon Linux AMI release 2018.03 Kernel \r on an \m

s3fs command line used (if applicable)

s3fs -f -d oxalis-mount-conf-int /mount/ -o passwd_file=/usr/.passwd-s3fs,nonempty

/etc/fstab entry (if applicable):

LABEL=/     /           ext4    defaults,noatime  1   1
tmpfs       /dev/shm    tmpfs   defaults        0   0
devpts      /dev/pts    devpts  gid=5,mode=620  0   0
sysfs       /sys        sysfs   defaults        0   0
proc        /proc       proc    defaults        0   0

Details about issue

I'm currently trying to mount my s3 bucket on my server instance. The command return this :

[CRT] s3fs.cpp:set_s3fs_log_level(273): change debug level from [CRT] to [INF]
[INF]     s3fs.cpp:set_mountpoint_attribute(4180): PROC(uid=500, gid=500) - MountPoint(uid=0,                                                                                                 gid=0, mode=40777)
[INF] s3fs.cpp:s3fs_init(3379): init v1.84(commit:06032aa) with OpenSSL
[INF] s3fs.cpp:s3fs_check_service(3721): check services.
[INF]       curl.cpp:CheckBucket(3076): check a bucket.
[INF]       curl.cpp:prepare_url(4265): URL is https://s3.amazonaws.com/oxalis-mount-conf-int                                                                                                /
[INF]       curl.cpp:prepare_url(4297): URL changed is https://oxalis-mount-conf-int.s3.amazo                                                                                                naws.com/
[INF]       curl.cpp:insertV4Headers(2408): computing signature [GET] [/] [] []
[INF]       curl.cpp:url_to_host(101): url is https://s3.amazonaws.com
[ERR] curl.cpp:RequestPerform(2074): HTTP response code 400, returning EIO. Body Text: <?xml                                                                                                 version="1.0" encoding="UTF-8"?>
<Error><Code>AuthorizationHeaderMalformed</Code><Message>The authorization header is malforme                                                                                                d; the region 'us-east-1' is wrong; expecting 'eu-central-1'</Message><Region>eu-central-1</R                                                                                                egion><RequestId>17B02E9C62A7B12B</RequestId><HostId>1+KF98xaiVSbj86JZdBBdwdTzISXXVGa71j+kWKh                                                                                                NKjvxRJmlcASXEWacY7F0AUhQbY2cQaFW78=</HostId></Error>
[ERR] curl.cpp:CheckBucket(3104): Check bucket failed, S3 response: <?xml version="1.0" encod                                                                                                ing="UTF-8"?>
<Error><Code>AuthorizationHeaderMalformed</Code><Message>The authorization header is malforme                                                                                                d; the region 'us-east-1' is wrong; expecting 'eu-central-1'</Message><Region>eu-central-1</R                                                                                                egion><RequestId>17B02E9C62A7B12B</RequestId><HostId>1+KF98xaiVSbj86JZdBBdwdTzISXXVGa71j+kWKh                                                                                                NKjvxRJmlcASXEWacY7F0AUhQbY2cQaFW78=</HostId></Error>
[CRT] s3fs.cpp:s3fs_check_service(3742): Could not connect wrong region us-east-1, so retry t                                                                                                o connect region eu-central-1.
[INF]       curl.cpp:CheckBucket(3076): check a bucket.
[INF]       curl.cpp:prepare_url(4265): URL is https://s3-eu-central-1.amazonaws.com/oxalis-m                                                                                                ount-conf-int/
[INF]       curl.cpp:prepare_url(4297): URL changed is https://oxalis-mount-conf-int.s3-eu-ce                                                                                                ntral-1.amazonaws.com/
[INF]       curl.cpp:insertV4Headers(2408): computing signature [GET] [/] [] []
[INF]       curl.cpp:url_to_host(101): url is https://s3-eu-central-1.amazonaws.com
[INF]       curl.cpp:RequestPerform(2062): HTTP response code 200

At this point the command seems to enter in an infinite loop. I wait about 5 minutes and nothing happened. So I press ctrl + C and this line appear ^C[INF] s3fs.cpp:s3fs_destroy(3428): destroy

I don't figure out what is the problem...

Originally created by @paulm76 on GitHub (Aug 13, 2018). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/809 #### Version of s3fs being used (s3fs --version) - V1.84 #### Version of fuse being used (pkg-config --modversion fuse) - 2.9.4 #### System information (uname -r) - Linux ip-172-38-4-12 4.14.47-56.37.amzn1.x86_64 #1 SMP Wed Jun 6 18:49:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux #### Distro (cat /etc/issue) - Amazon Linux AMI release 2018.03 Kernel \r on an \m #### s3fs command line used (if applicable) ``` s3fs -f -d oxalis-mount-conf-int /mount/ -o passwd_file=/usr/.passwd-s3fs,nonempty ``` #### /etc/fstab entry (if applicable): ``` LABEL=/ / ext4 defaults,noatime 1 1 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 ``` ### Details about issue I'm currently trying to mount my s3 bucket on my server instance. The command return this : ``` [CRT] s3fs.cpp:set_s3fs_log_level(273): change debug level from [CRT] to [INF] [INF] s3fs.cpp:set_mountpoint_attribute(4180): PROC(uid=500, gid=500) - MountPoint(uid=0, gid=0, mode=40777) [INF] s3fs.cpp:s3fs_init(3379): init v1.84(commit:06032aa) with OpenSSL [INF] s3fs.cpp:s3fs_check_service(3721): check services. [INF] curl.cpp:CheckBucket(3076): check a bucket. [INF] curl.cpp:prepare_url(4265): URL is https://s3.amazonaws.com/oxalis-mount-conf-int / [INF] curl.cpp:prepare_url(4297): URL changed is https://oxalis-mount-conf-int.s3.amazo naws.com/ [INF] curl.cpp:insertV4Headers(2408): computing signature [GET] [/] [] [] [INF] curl.cpp:url_to_host(101): url is https://s3.amazonaws.com [ERR] curl.cpp:RequestPerform(2074): HTTP response code 400, returning EIO. Body Text: <?xml version="1.0" encoding="UTF-8"?> <Error><Code>AuthorizationHeaderMalformed</Code><Message>The authorization header is malforme d; the region 'us-east-1' is wrong; expecting 'eu-central-1'</Message><Region>eu-central-1</R egion><RequestId>17B02E9C62A7B12B</RequestId><HostId>1+KF98xaiVSbj86JZdBBdwdTzISXXVGa71j+kWKh NKjvxRJmlcASXEWacY7F0AUhQbY2cQaFW78=</HostId></Error> [ERR] curl.cpp:CheckBucket(3104): Check bucket failed, S3 response: <?xml version="1.0" encod ing="UTF-8"?> <Error><Code>AuthorizationHeaderMalformed</Code><Message>The authorization header is malforme d; the region 'us-east-1' is wrong; expecting 'eu-central-1'</Message><Region>eu-central-1</R egion><RequestId>17B02E9C62A7B12B</RequestId><HostId>1+KF98xaiVSbj86JZdBBdwdTzISXXVGa71j+kWKh NKjvxRJmlcASXEWacY7F0AUhQbY2cQaFW78=</HostId></Error> [CRT] s3fs.cpp:s3fs_check_service(3742): Could not connect wrong region us-east-1, so retry t o connect region eu-central-1. [INF] curl.cpp:CheckBucket(3076): check a bucket. [INF] curl.cpp:prepare_url(4265): URL is https://s3-eu-central-1.amazonaws.com/oxalis-m ount-conf-int/ [INF] curl.cpp:prepare_url(4297): URL changed is https://oxalis-mount-conf-int.s3-eu-ce ntral-1.amazonaws.com/ [INF] curl.cpp:insertV4Headers(2408): computing signature [GET] [/] [] [] [INF] curl.cpp:url_to_host(101): url is https://s3-eu-central-1.amazonaws.com [INF] curl.cpp:RequestPerform(2062): HTTP response code 200 ``` At this point the command seems to enter in an infinite loop. I wait about 5 minutes and nothing happened. So I press ```ctrl + C``` and this line appear ```^C[INF] s3fs.cpp:s3fs_destroy(3428): destroy``` I don't figure out what is the problem...
kerem closed this issue 2026-03-04 01:45:52 +03:00
Author
Owner

@manuelsotoma commented on GitHub (Sep 28, 2018):

I am experimenting the same problem.
Could you please reopen the issue ??

<!-- gh-comment-id:425517207 --> @manuelsotoma commented on GitHub (Sep 28, 2018): I am experimenting the same problem. Could you please reopen the issue ??
Author
Owner

@baregawi commented on GitHub (Jan 15, 2019):

Yes, the same is happening to me. I don't know where to look for the error. Could you re-open or let us know how you fixed the issue?

<!-- gh-comment-id:454271523 --> @baregawi commented on GitHub (Jan 15, 2019): Yes, the same is happening to me. I don't know where to look for the error. Could you re-open or let us know how you fixed the issue?
Author
Owner

@gaul commented on GitHub (Jan 15, 2019):

Try running s3fs with -d -d -f -o f2 -o curldbg and open a new issue.

<!-- gh-comment-id:454429703 --> @gaul commented on GitHub (Jan 15, 2019): Try running s3fs with `-d -d -f -o f2 -o curldbg` and open a new issue.
Author
Owner

@shlha commented on GitHub (Jun 14, 2019):

Did this get sorted? It's just driving me crazy. Bucket mounts but i get ls: reading directory .: Input/output error

It has become very frustrating

<!-- gh-comment-id:502309171 --> @shlha commented on GitHub (Jun 14, 2019): Did this get sorted? It's just driving me crazy. Bucket mounts but i get ls: reading directory .: Input/output error It has become very frustrating
Author
Owner

@kansology commented on GitHub (Sep 10, 2019):

Same issue. REOPEN

<!-- gh-comment-id:530113041 --> @kansology commented on GitHub (Sep 10, 2019): Same issue. REOPEN
Author
Owner

@gaul commented on GitHub (Sep 12, 2019):

Please open a new issue with the suggested debugging information from https://github.com/s3fs-fuse/s3fs-fuse/issues/809#issuecomment-454429703.

<!-- gh-comment-id:530618445 --> @gaul commented on GitHub (Sep 12, 2019): Please open a new issue with the suggested debugging information from https://github.com/s3fs-fuse/s3fs-fuse/issues/809#issuecomment-454429703.
Author
Owner

@icculp commented on GitHub (Jul 28, 2021):

I am having this issue now, pasting log below

root@localhost:~# sudo s3fs -f -d -d -f -o f2 -o curldbg esplora:/ /mnt/s3 -o passwd_file=/root/.passwd-s3fs -o allow_other -o url=https://s3-us-east-2.amazonaws.com
[CRT] s3fs.cpp:set_s3fs_log_level(273): change debug level from [CRT] to [INF]
[CRT] s3fs.cpp:set_s3fs_log_level(273): change debug level from [INF] to [DBG]
[INF]     s3fs.cpp:set_mountpoint_attribute(4180): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755)
FUSE library version: 2.9.9
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.27
flags=0x003ffffb
max_readahead=0x00020000
[INF] s3fs.cpp:s3fs_init(3379): init v1.84(commit:unknown) with GnuTLS(gcrypt)
[INF] s3fs.cpp:s3fs_check_service(3721): check services.
[INF]       curl.cpp:CheckBucket(3076): check a bucket.
[DBG] curl.cpp:GetHandler(285): Get handler from pool: 31
[INF]       curl.cpp:prepare_url(4265): URL is https://s3-us-east-2.amazonaws.com/esplora/
[INF]       curl.cpp:prepare_url(4297): URL changed is https://esplora.s3-us-east-2.amazonaws.com/
[INF]       curl.cpp:insertV4Headers(2408): computing signature [GET] [/] [] []
[INF]       curl.cpp:url_to_host(101): url is https://s3-us-east-2.amazonaws.com
[DBG] curl.cpp:RequestPerform(2045): connecting to URL https://esplora.s3-us-east-2.amazonaws.com/
* Expire in 0 ms for 6 (transfer 0x55bffaf89ab0)
* Expire in 300000 ms for 2 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 0 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 1 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 4 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 4 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 2 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 4 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 3 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 3 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 4 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 4 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 4 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 4 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 4 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 4 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 4 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 5 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 5 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 4 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 6 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 6 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 8 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 7 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 7 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 8 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 8 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 8 ms for 1 (transfer 0x55bffaf89ab0)
* Expire in 11 ms for 1 (transfer 0x55bffaf89ab0)
*   Trying 52.219.100.56...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55bffaf89ab0)
* Connected to esplora.s3-us-east-2.amazonaws.com (52.219.100.56) port 443 (#0)
* found 411 certificates in /etc/ssl/certs
* ALPN, offering h2
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
*        server certificate verification OK
*        server certificate status verification SKIPPED
*        common name: *.s3.us-east-2.amazonaws.com (matched)
*        server certificate expiration date OK
*        server certificate activation date OK
*        certificate public key: RSA
*        certificate version: #3
*        subject: C=US,ST=Washington,L=Seattle,O=Amazon.com\, Inc.,CN=*.s3.us-east-2.amazonaws.com
*        start date: Thu, 14 Jan 2021 00:00:00 GMT
*        expire date: Tue, 18 Jan 2022 23:59:59 GMT
*        issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert Baltimore CA-2 G2
*        compression: NULL
* ALPN, server did not agree to a protocol
> GET / HTTP/1.1
Host: esplora.s3-us-east-2.amazonaws.com
User-Agent: s3fs/1.84 (commit hash unknown; GnuTLS(gcrypt))
Accept: */*
Authorization: AWS4-HMAC-SHA256 Credential=AKIAQRH665OVXMCZ4Z4G/20210728/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=42c6975d068f10a80493e784d5255f1cf413566f65dc11bbaa4f761f9d60d612
x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date: 20210728T035024Z

< HTTP/1.1 400 Bad Request
< x-amz-bucket-region: us-east-2
< x-amz-request-id: JZD1S9RB85P7G4FG
< x-amz-id-2: P46vsvlNJlchvnO4lk3RKEGd9LIejNhiiCKgzSscxSBF3F3+o0d2zkhZ2OTlTL5FB/yfyxog1kY=
< Content-Type: application/xml
< Transfer-Encoding: chunked
< Date: Wed, 28 Jul 2021 03:50:24 GMT
< Server: AmazonS3
< Connection: close
<
* Closing connection 0
[ERR] curl.cpp:RequestPerform(2074): HTTP response code 400, returning EIO. Body Text: <?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AuthorizationHeaderMalformed</Code><Message>The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-east-2'</Message><Region>us-east-2</Region><RequestId>JZD1S9RB85P7G4FG</RequestId><HostId>P46vsvlNJlchvnO4lk3RKEGd9LIejNhiiCKgzSscxSBF3F3+o0d2zkhZ2OTlTL5FB/yfyxog1kY=</HostId></Error>
[ERR] curl.cpp:CheckBucket(3104): Check bucket failed, S3 response: <?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AuthorizationHeaderMalformed</Code><Message>The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-east-2'</Message><Region>us-east-2</Region><RequestId>JZD1S9RB85P7G4FG</RequestId><HostId>P46vsvlNJlchvnO4lk3RKEGd9LIejNhiiCKgzSscxSBF3F3+o0d2zkhZ2OTlTL5FB/yfyxog1kY=</HostId></Error>
[CRT] s3fs.cpp:s3fs_check_service(3742): Could not connect wrong region us-east-1, so retry to connect region us-east-2.
[DBG] curl.cpp:ReturnHandler(309): Return handler to pool: 31
[INF]       curl.cpp:CheckBucket(3076): check a bucket.
[DBG] curl.cpp:GetHandler(285): Get handler from pool: 31
[INF]       curl.cpp:prepare_url(4265): URL is https://s3-us-east-2.amazonaws.com/esplora/
[INF]       curl.cpp:prepare_url(4297): URL changed is https://esplora.s3-us-east-2.amazonaws.com/
[INF]       curl.cpp:insertV4Headers(2408): computing signature [GET] [/] [] []
[INF]       curl.cpp:url_to_host(101): url is https://s3-us-east-2.amazonaws.com
[DBG] curl.cpp:RequestPerform(2045): connecting to URL https://esplora.s3-us-east-2.amazonaws.com/
* Expire in 0 ms for 6 (transfer 0x55bffaf89ab0)
* Expire in 300000 ms for 2 (transfer 0x55bffaf89ab0)
* Hostname esplora.s3-us-east-2.amazonaws.com was found in DNS cache
*   Trying 52.219.100.56...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x55bffaf89ab0)
* Connected to esplora.s3-us-east-2.amazonaws.com (52.219.100.56) port 443 (#1)
* found 411 certificates in /etc/ssl/certs
* ALPN, offering h2
* ALPN, offering http/1.1
* SSL re-using session ID
* SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
*        server certificate verification OK
*        server certificate status verification SKIPPED
*        common name: *.s3.us-east-2.amazonaws.com (matched)
*        server certificate expiration date OK
*        server certificate activation date OK
*        certificate public key: RSA
*        certificate version: #3
*        subject: C=US,ST=Washington,L=Seattle,O=Amazon.com\, Inc.,CN=*.s3.us-east-2.amazonaws.com
*        start date: Thu, 14 Jan 2021 00:00:00 GMT
*        expire date: Tue, 18 Jan 2022 23:59:59 GMT
*        issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert Baltimore CA-2 G2
*        compression: NULL
* ALPN, server did not agree to a protocol
> GET / HTTP/1.1
Host: esplora.s3-us-east-2.amazonaws.com
User-Agent: s3fs/1.84 (commit hash unknown; GnuTLS(gcrypt))
Accept: */*
Authorization: AWS4-HMAC-SHA256 Credential=AKIAQRH665OVXMCZ4Z4G/20210728/us-east-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=98d7a167c7398ae26c08fed6284cff5ebc481c31e5fa5873413637d929635f18
x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-date: 20210728T035025Z

< HTTP/1.1 200 OK
< x-amz-id-2: 6mUDEbgbDchVzecu3QttOQMAcqFfCa6X2fpPDhPYI97+qHdz9Xz1Xs2KIf3FoQF8cvDwwiH8OBQ=
< x-amz-request-id: JZD8T77X5EXBDWK9
< Date: Wed, 28 Jul 2021 03:50:26 GMT
< x-amz-bucket-region: us-east-2
< Content-Type: application/xml
< Transfer-Encoding: chunked
< Server: AmazonS3
<
* Connection #1 to host esplora.s3-us-east-2.amazonaws.com left intact
[INF]       curl.cpp:RequestPerform(2062): HTTP response code 200
[DBG] curl.cpp:ReturnHandler(309): Return handler to pool: 31
   INIT: 7.19
   flags=0x00000019
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   unique: 1, success, outsize: 40
<!-- gh-comment-id:887988161 --> @icculp commented on GitHub (Jul 28, 2021): I am having this issue now, pasting log below ``` root@localhost:~# sudo s3fs -f -d -d -f -o f2 -o curldbg esplora:/ /mnt/s3 -o passwd_file=/root/.passwd-s3fs -o allow_other -o url=https://s3-us-east-2.amazonaws.com [CRT] s3fs.cpp:set_s3fs_log_level(273): change debug level from [CRT] to [INF] [CRT] s3fs.cpp:set_s3fs_log_level(273): change debug level from [INF] to [DBG] [INF] s3fs.cpp:set_mountpoint_attribute(4180): PROC(uid=0, gid=0) - MountPoint(uid=0, gid=0, mode=40755) FUSE library version: 2.9.9 nullpath_ok: 0 nopath: 0 utime_omit_ok: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 INIT: 7.27 flags=0x003ffffb max_readahead=0x00020000 [INF] s3fs.cpp:s3fs_init(3379): init v1.84(commit:unknown) with GnuTLS(gcrypt) [INF] s3fs.cpp:s3fs_check_service(3721): check services. [INF] curl.cpp:CheckBucket(3076): check a bucket. [DBG] curl.cpp:GetHandler(285): Get handler from pool: 31 [INF] curl.cpp:prepare_url(4265): URL is https://s3-us-east-2.amazonaws.com/esplora/ [INF] curl.cpp:prepare_url(4297): URL changed is https://esplora.s3-us-east-2.amazonaws.com/ [INF] curl.cpp:insertV4Headers(2408): computing signature [GET] [/] [] [] [INF] curl.cpp:url_to_host(101): url is https://s3-us-east-2.amazonaws.com [DBG] curl.cpp:RequestPerform(2045): connecting to URL https://esplora.s3-us-east-2.amazonaws.com/ * Expire in 0 ms for 6 (transfer 0x55bffaf89ab0) * Expire in 300000 ms for 2 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 0 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 1 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 4 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 4 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 2 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 4 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 3 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 3 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 4 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 4 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 4 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 4 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 4 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 4 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 4 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 5 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 5 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 4 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 6 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 6 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 8 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 7 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 7 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 8 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 8 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 8 ms for 1 (transfer 0x55bffaf89ab0) * Expire in 11 ms for 1 (transfer 0x55bffaf89ab0) * Trying 52.219.100.56... * TCP_NODELAY set * Expire in 200 ms for 4 (transfer 0x55bffaf89ab0) * Connected to esplora.s3-us-east-2.amazonaws.com (52.219.100.56) port 443 (#0) * found 411 certificates in /etc/ssl/certs * ALPN, offering h2 * ALPN, offering http/1.1 * SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256 * server certificate verification OK * server certificate status verification SKIPPED * common name: *.s3.us-east-2.amazonaws.com (matched) * server certificate expiration date OK * server certificate activation date OK * certificate public key: RSA * certificate version: #3 * subject: C=US,ST=Washington,L=Seattle,O=Amazon.com\, Inc.,CN=*.s3.us-east-2.amazonaws.com * start date: Thu, 14 Jan 2021 00:00:00 GMT * expire date: Tue, 18 Jan 2022 23:59:59 GMT * issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert Baltimore CA-2 G2 * compression: NULL * ALPN, server did not agree to a protocol > GET / HTTP/1.1 Host: esplora.s3-us-east-2.amazonaws.com User-Agent: s3fs/1.84 (commit hash unknown; GnuTLS(gcrypt)) Accept: */* Authorization: AWS4-HMAC-SHA256 Credential=AKIAQRH665OVXMCZ4Z4G/20210728/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=42c6975d068f10a80493e784d5255f1cf413566f65dc11bbaa4f761f9d60d612 x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 x-amz-date: 20210728T035024Z < HTTP/1.1 400 Bad Request < x-amz-bucket-region: us-east-2 < x-amz-request-id: JZD1S9RB85P7G4FG < x-amz-id-2: P46vsvlNJlchvnO4lk3RKEGd9LIejNhiiCKgzSscxSBF3F3+o0d2zkhZ2OTlTL5FB/yfyxog1kY= < Content-Type: application/xml < Transfer-Encoding: chunked < Date: Wed, 28 Jul 2021 03:50:24 GMT < Server: AmazonS3 < Connection: close < * Closing connection 0 [ERR] curl.cpp:RequestPerform(2074): HTTP response code 400, returning EIO. Body Text: <?xml version="1.0" encoding="UTF-8"?> <Error><Code>AuthorizationHeaderMalformed</Code><Message>The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-east-2'</Message><Region>us-east-2</Region><RequestId>JZD1S9RB85P7G4FG</RequestId><HostId>P46vsvlNJlchvnO4lk3RKEGd9LIejNhiiCKgzSscxSBF3F3+o0d2zkhZ2OTlTL5FB/yfyxog1kY=</HostId></Error> [ERR] curl.cpp:CheckBucket(3104): Check bucket failed, S3 response: <?xml version="1.0" encoding="UTF-8"?> <Error><Code>AuthorizationHeaderMalformed</Code><Message>The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-east-2'</Message><Region>us-east-2</Region><RequestId>JZD1S9RB85P7G4FG</RequestId><HostId>P46vsvlNJlchvnO4lk3RKEGd9LIejNhiiCKgzSscxSBF3F3+o0d2zkhZ2OTlTL5FB/yfyxog1kY=</HostId></Error> [CRT] s3fs.cpp:s3fs_check_service(3742): Could not connect wrong region us-east-1, so retry to connect region us-east-2. [DBG] curl.cpp:ReturnHandler(309): Return handler to pool: 31 [INF] curl.cpp:CheckBucket(3076): check a bucket. [DBG] curl.cpp:GetHandler(285): Get handler from pool: 31 [INF] curl.cpp:prepare_url(4265): URL is https://s3-us-east-2.amazonaws.com/esplora/ [INF] curl.cpp:prepare_url(4297): URL changed is https://esplora.s3-us-east-2.amazonaws.com/ [INF] curl.cpp:insertV4Headers(2408): computing signature [GET] [/] [] [] [INF] curl.cpp:url_to_host(101): url is https://s3-us-east-2.amazonaws.com [DBG] curl.cpp:RequestPerform(2045): connecting to URL https://esplora.s3-us-east-2.amazonaws.com/ * Expire in 0 ms for 6 (transfer 0x55bffaf89ab0) * Expire in 300000 ms for 2 (transfer 0x55bffaf89ab0) * Hostname esplora.s3-us-east-2.amazonaws.com was found in DNS cache * Trying 52.219.100.56... * TCP_NODELAY set * Expire in 200 ms for 4 (transfer 0x55bffaf89ab0) * Connected to esplora.s3-us-east-2.amazonaws.com (52.219.100.56) port 443 (#1) * found 411 certificates in /etc/ssl/certs * ALPN, offering h2 * ALPN, offering http/1.1 * SSL re-using session ID * SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256 * server certificate verification OK * server certificate status verification SKIPPED * common name: *.s3.us-east-2.amazonaws.com (matched) * server certificate expiration date OK * server certificate activation date OK * certificate public key: RSA * certificate version: #3 * subject: C=US,ST=Washington,L=Seattle,O=Amazon.com\, Inc.,CN=*.s3.us-east-2.amazonaws.com * start date: Thu, 14 Jan 2021 00:00:00 GMT * expire date: Tue, 18 Jan 2022 23:59:59 GMT * issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert Baltimore CA-2 G2 * compression: NULL * ALPN, server did not agree to a protocol > GET / HTTP/1.1 Host: esplora.s3-us-east-2.amazonaws.com User-Agent: s3fs/1.84 (commit hash unknown; GnuTLS(gcrypt)) Accept: */* Authorization: AWS4-HMAC-SHA256 Credential=AKIAQRH665OVXMCZ4Z4G/20210728/us-east-2/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=98d7a167c7398ae26c08fed6284cff5ebc481c31e5fa5873413637d929635f18 x-amz-content-sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 x-amz-date: 20210728T035025Z < HTTP/1.1 200 OK < x-amz-id-2: 6mUDEbgbDchVzecu3QttOQMAcqFfCa6X2fpPDhPYI97+qHdz9Xz1Xs2KIf3FoQF8cvDwwiH8OBQ= < x-amz-request-id: JZD8T77X5EXBDWK9 < Date: Wed, 28 Jul 2021 03:50:26 GMT < x-amz-bucket-region: us-east-2 < Content-Type: application/xml < Transfer-Encoding: chunked < Server: AmazonS3 < * Connection #1 to host esplora.s3-us-east-2.amazonaws.com left intact [INF] curl.cpp:RequestPerform(2062): HTTP response code 200 [DBG] curl.cpp:ReturnHandler(309): Return handler to pool: 31 INIT: 7.19 flags=0x00000019 max_readahead=0x00020000 max_write=0x00020000 max_background=0 congestion_threshold=0 unique: 1, success, outsize: 40 ```
Author
Owner

@icculp commented on GitHub (Jul 28, 2021):

Looks like it actually mounted, but it locked that shell terminal, I can't ctrl-c or anything, but I can see the output as I interact with the disk. I've tried copying some files into it but it's moving at kb/s, which doesn't make any sense.

<!-- gh-comment-id:887990928 --> @icculp commented on GitHub (Jul 28, 2021): Looks like it actually mounted, but it locked that shell terminal, I can't ctrl-c or anything, but I can see the output as I interact with the disk. I've tried copying some files into it but it's moving at kb/s, which doesn't make any sense.
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#468
No description provided.