mirror of
https://github.com/nspcc-dev/neofs-http-gw.git
synced 2026-03-01 04:29:08 +00:00
Floating error, Put objects using HTTP with attribute - code = 4096 message = session token not found #87
Labels
No labels
I1
I3
I4
S2
S3
S4
U2
U2
U3
U4
blocked
bug
config
documentation
enhancement
go
good first issue
help wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nspcc-dev/neofs-http-gw#87
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 @acheyda on GitHub (Oct 31, 2022).
Originally assigned to: @alexvanin on GitHub.
Floating error, Put objects using HTTP with attribute - code = 4096 message = session token not found
Expected Behavior
Current Behavior
Steps to Reproduce (for bugs)
1.Create Container
2.Upload via HTTP Gate
Context
Regression
Your Environment
NeoGo
Version: 0.99.3-2-gaa57779d
GoVersion: go1.18.4
NeoFS CLI
Version: v0.33.0-27-g7d456cb4
GoVersion: go1.18.4
NeoFS Adm
Version: v0.33.0-27-g7d456cb4
GoVersion: go1.18.4
obj-nn-test-node2.spb.yadro.com-http_gate-log.txt
obj-nn-test-node2.spb.yadro.com-ir01-log.txt
@alexvanin commented on GitHub (Nov 1, 2022):
Let's see http + storage logs when this appear once again.
@KirillovDenis commented on GitHub (Nov 2, 2022):
It also would be nice to see http-gw config
@KirillovDenis commented on GitHub (Nov 2, 2022):
Actually it can be normal behavior on node restart (we need to check this in storage node logs)
In sdk pool we can cache old tokens that become invalid sometimes and we should recreated them.
nspcc-dev/neofs-sdk-go@7a2a76af95/pool/pool.go (L1644)nspcc-dev/neofs-sdk-go@7a2a76af95/pool/pool.go (L1843)@acheyda commented on GitHub (Nov 2, 2022):
Sorry, I forgot to add.
NeoFS HTTP Gateway
Version: v0.24.0-17-g1b172e58
GoVersion: go1.18.4
@alexvanin commented on GitHub (Nov 2, 2022):
Agree. With @acheyda we tried to find some node restart messages but didn't find any. Storage node logs are still appreciated in this issue.
@acheyda commented on GitHub (Nov 2, 2022):
obj-nn-test-node2.spb.yadro.com-s03-log.txt
obj-nn-test-node2.spb.yadro.com-coredns-log.txt
obj-nn-test-node2.spb.yadro.com-s02-log.txt
obj-nn-test-node2.spb.yadro.com-s01-log.txt
obj-nn-test-node2.spb.yadro.com-s04-log.txt
@KirillovDenis commented on GitHub (Nov 3, 2022):
What about http-gw config?
@alexvanin commented on GitHub (Nov 8, 2022):
This bug haven't seen in november nightly tests (there were a few of them, though). Keep looking 👀
@alexvanin commented on GitHub (Nov 24, 2022):
Let's wait till beginning of december.
@alexvanin commented on GitHub (Nov 25, 2022):
We've seen some node restarts with https://github.com/nspcc-dev/neofs-node/issues/2095 (not sure it is related to restart, though). This error is expected in case of storage node restart without persistent_session.path