Closed halkyon closed 2 years ago
Change https://review.dev.storj.io/c/storj/gateway/+/6857 mentions this issue.
Hello again, thanks for your quick. This is also not the only issue I'm experiencing, I'm also getting signature mismatch if I try file list actions. The only thing that seems to work is list buckets, but not the files inside. I'm using a nginx reverse proxy in front of the gateway
Hello again, thanks for your quick. This is also not the only issue I'm experiencing, I'm also getting signature mismatch if I try file list actions. The only thing that seems to work is list buckets, but not the files inside. I'm using a nginx reverse proxy in front of the gateway
It seems to me like the reverse proxy might be modifying headers or adding/stripping path/query part of the request's URL. The first thing I would do is check whether it's working without the reverse proxy correctly. If it works this way, try to examine what the proxy receives and whether it matches what's being sent by the client. If you need more help, please open a separate ticket for this. 🙂
If you try accessing the endpoint where Gateway-ST is listening, you're presented with the login screen as usual, but attempts to login result in "Invalid UI version in the JSON-RPC response". Looking at the JSON,
uiVersion
is set toDEVELOPMENT.GOGET
. Presumably, this needs to be a correct version for it to parse correctly.This works correctly on Gateway-ST
v1.5.1
that runs the old version of minio, but not withv1.6.0
running the new version.Artur mentioned we should compile with the correct LD flags to get this working: https://github.com/storj/minio/blob/main/buildscripts/gen-ldflags.go