Knowledge Management

[SmartStore] 502 bad request when attempting to connect

emallinger
Communicator

Hello,

Does anyone have a suggestion as to why I can't seem to connect to my S3 storage :

Here's the log :

S3Client - command=put transactionId=0x7f689102dc00 rTxnId=0x7f6891034100 status=completed success=N uri=https://--------.fr/bucket_name/all_indexes/_metrics/db/73/ae/19~BD80BC05-71FE-4234-AE23-58B4ED6CA82D/guidSplunk-BD80BC05-71FE-4234-AE23-58B4ED6CA82D/Sources.data statusCode=502 statusDescription="Bad Gateway"

I've successfully used a similar configuration in splunk on another machine with a zenko container.
Here I'm trying to connect to a "real" S3 scality ring via a VS entry who is acting as a load balancer.
I've got a couple access/secret key with write permission.
And I access the S3 storage using the same machine but in CLI with "aws s3" command.

Here's my indexes.conf

[volume:remote_store]
storageType = remote
path = s3://bucket_name/all_indexes/
remote.s3.endpoint = https://myendpoint.fr
remote.s3.access_key = access_key (replaced)
remote.s3.secret_key = secret_key
maxVolumeDataSizeMB = 10000000

[default]
remotePath = volume:remote_store/$_index_name
repFactor = auto

Do you have any suggestion ?
Is my conf faulty somewhere ?
Could the endpoint VS be the cause ? => Does it need to have "http profil" = none ?

Thank you in advance for your ideas and clues.

Regards,
Ema

Labels (1)
0 Karma
1 Solution

emallinger
Communicator

Some necessary parameters were missing, specific to our local on premises implementation of s3.

View solution in original post

0 Karma

emallinger
Communicator

Some necessary parameters were missing, specific to our local on premises implementation of s3.

0 Karma

matjahsonnveld
Loves-to-Learn Lots

@emallinger Do you remember which specific parameters were missing? Running into the same problem while using IBM COS as S3 SmartStore.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...