Skip to content
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

Unable to persist uuid on S3 storage #2019

Open
lorepas opened this issue Sep 4, 2024 · 0 comments
Open

Unable to persist uuid on S3 storage #2019

lorepas opened this issue Sep 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lorepas
Copy link
Contributor

lorepas commented Sep 4, 2024

What happened
I tried to connect immudb with an Amazon S3 bucket by using Access and Secret Key. After the configuration and the restart of the service I see the following error between the logs and the service crash after some restarts (made by itself):

ERROR: unable to persist uuid on the remote storage: invalid response code: request failed with status code 400 (400 Bad Request)

I tried also to manually upload the immudb.identifier into the bucket but the error is still present.

What you expected to happen
My expectation to see data in the bucket.

How to reproduce it (as minimally and precisely as possible)
I'm using the following minimal configuration:

address = '0.0.0.0'
auth = true
certificate = ''
clientcas = ''
dbname = 'data'
detached = false
devmode = true
dir = '/opt/data/test'
logfile = '/var/log/immudb/immudb.log'
mtls = false
network = 'tcp'
pidfile = '/var/run/immudb.pid'
pkey = ''
port = 6432
pgsql-server = true
pgsql-server-port = 5430
web-server = false
s3-access-key-id = 'myaccesskey'
s3-secret-key = 'mysecretkey'
s3-path-prefix = 'immu-prefix'
s3-storage= true
s3-bucket-name = 'my-bucket'
s3-location = 'my-region'
s3-endpoint= 'https://my-bucket.s3.my-region.amazonaws.com'

Environment

  • Amazon S3 bucket with lock and version;
  • Test performed in both immudb version 1.9DOM2 and 1.9.4 with same result (arm version)
  • EC2 with OS Ubuntu 22 arm64

Additional info (any other context about the problem)
First I've configured immudb and then I added the bucket configuration.

@lorepas lorepas added the bug Something isn't working label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant