-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s3 panic: runtime error: invalid memory address or nil pointer dereference #1707
Comments
what is the content of
|
I figured "actions" was the only relevant part:
|
found the issue. Added a fix. |
Works great. Thank you!
…On 27 December 2020 21:10, Chris Lu ***@***.***> wrote:
found the issue. Added a fix.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
System Setup
515b763 (2.17 Christmas edition)
weed "s3" "-filer=filer:8888" "-metricsPort=9999" "-config=/config.json" "-domainName=s3"
config.json identity has
Expected behavior
A helpful error message
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Using seaweedfs as Cortex block storage which should use signature v4. It seems like this panic happens on every write, while other applications using the same credentials work. It looks like
identity
here may be nil? https://github.com/chrislusf/seaweedfs/blob/090f85be4b4c02dfd57942e2816dd609b002995d/weed/s3api/auth_credentials.go#L164 (not being familiar with Go, I'm a little surprised that's being evaluated at all when I don't have verbose logging turned on)The text was updated successfully, but these errors were encountered: