mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 21:35:58 +03:00
[GH-ISSUE #1457] Authorization header missing when retrying request #767
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#767
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ssvinarev on GitHub (Oct 20, 2020).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1457
Additional Information
The following information is very important in order to help us to help you. Omission of the following details may delay your support request or receive no attention at all.
Keep in mind that the commands we provide to retrieve information are oriented to GNU/Linux Distributions, so you could need to use others if you use s3fs on macOS or BSD
Version of s3fs being used (s3fs --version)
1.87
Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
2.9.2-11
Kernel information (uname -r)
3.10.0-1127.19.1.el7.x86_64
GNU/Linux Distribution, if applicable (cat /etc/os-release)
CentOS Linux release 7.8.2003 (Core)
s3fs command line used, if applicable
/etc/fstab entry, if applicable
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
Hello!
Maybe someone can help in troubleshooting.
In this log example there is attempt to upload partNumber=1058 of an object "stor1-data-full-odd-0301". This PUT-request has "Authorization" header. Fine!
Request failed due to timeout.
Then closing connection 2091 and retrying with a new connection 2092. Fine to!
But next PUT-request doesn't have "Authorization" header and so gets response HTTP/1.1 403 Forbidden (Access Denied) from S3.
S3 support team says what every request should be authorized by "Authorization" header. And they advice to fix an application (s3fs in this point).
Any ideas about how to fix this?
Thanks!
@xrefft commented on GitHub (Oct 22, 2020):
Same problem as your, It seems that there is no
Authorizationheader for all multipart upload retry requests.@ssvinarev commented on GitHub (Oct 22, 2020):
We tried to fix it by modifying curl.cpp, but no success.
Need a developer help/advice.
@fly3366 commented on GitHub (Dec 22, 2020):
same as "range" header.
@noahwilliamsson commented on GitHub (Dec 26, 2020):
Looks like this was potentially fixed with #1502 (fix: miss header when retry).
@gaul commented on GitHub (Dec 31, 2020):
#1508 shows a way to reproduce these symptoms more reliably. It would help if a user could test with master and Chaos HTTP Proxy.
@gaul commented on GitHub (Feb 8, 2021):
I believe that #1502 addresses this. Please reopen if you can reproduce the symptoms with the latest version 1.88.