Open ItamarSmirra opened 10 months ago
Does AWS_S3_ENDPOINT
work? For example:
AWS_S3_ENDPOINT=https://myendpoint.com:8080
It does seem to affect the connecting process and not returning the Invalid Credentials
error, but now I am getting the following error:
Any ideas?
I did a little searching for that unspecific protocol error detected
message and I believe it is because Google is picky about the http2 headers it receives. The AWS S3 library Rudolfs uses (Rusoto) might not be setting the correct http2 headers (like :scheme
and :authority
). See https://github.com/rusoto/rusoto/pull/1985.
I'm not aware of anyone else successfully using Rudolfs with GCP via the S3 API. It would probably be better to add GCP support as its own backend.
I don't have any time to debug this further or implement GCP support, but I would be happy to shepherd any pull requests.
Hi! Is it possible to add another env variable for S3_HOSTNAME or something like that? It is required for connecting the server to other storage host rather then AWS (Google for example); Thank you!