Minio

There are currently two services deployed as described in the docs, "Bucket", "console". I have configured two subdomains 1 - console.domain.level 2 - files.domain.level navigating to console.domain.level displays the minio console as expected, but files.domain.level redirects to subdomain.railway.app. 1, What's causing the redirect and 2 which one of these subdomain should I use to upload files and make accessible publicly? https://railway.app/template/SMKOEA
Solution:
have you redeployed both services since adding your custom domains?
Jump to solution
20 Replies
Percy
Percy2mo ago
Project ID: e349bbb7-fbe9-42d8-be7f-52bd0bd1c3a0
Brody
Brody2mo ago
subdomain.railway.app - please provide actual domains.
Stevenson Michel
Stevenson MichelOP2mo ago
project is e349bbb7-fbe9-42d8-be7f-52bd0bd1c3a0 The domains in questions are static.brebo.dev and files.brebo.dev
Solution
Brody
Brody2mo ago
have you redeployed both services since adding your custom domains?
Stevenson Michel
Stevenson MichelOP2mo ago
I have not re redeployed any of the services since adding my custom domains.
Brody
Brody2mo ago
please go ahead and do that
Stevenson Michel
Stevenson MichelOP2mo ago
I just did. Now, static.brebo.dev redirect to files.brebo.dev.
Brody
Brody2mo ago
perfect!
Stevenson Michel
Stevenson MichelOP2mo ago
I was under the impression I would use files.brebo.dev to mange minio and static.brebo.dev upload and serve files?
Brody
Brody2mo ago
thats correct
Stevenson Michel
Stevenson MichelOP2mo ago
Thanks!
Brody
Brody2mo ago
no problem!
Stevenson Michel
Stevenson MichelOP2mo ago
I think the reverse proxy might not be configured correctly. I can not login to the console anymore after restart.
Brody
Brody2mo ago
what reverse proxy?
Stevenson Michel
Stevenson MichelOP2mo ago
the proxy that's in front of the minio service I think that's internal to railway. I don't have access to that service. This is what I am seeing in the logs
Docs: https://docs.min.io

INFO: Exiting on signal: TERMINATED

ErrorWithContext:The authorization header is malformed; the region is wrong; expecting 'us-east-1'.

%!(EXTRA *errors.errorString=invalid login)

Stopping Container

ErrorWithContext:The authorization header is malformed; the region is wrong; expecting 'us-east-1'.

%!(EXTRA *errors.errorString=invalid login)
Docs: https://docs.min.io

INFO: Exiting on signal: TERMINATED

ErrorWithContext:The authorization header is malformed; the region is wrong; expecting 'us-east-1'.

%!(EXTRA *errors.errorString=invalid login)

Stopping Container

ErrorWithContext:The authorization header is malformed; the region is wrong; expecting 'us-east-1'.

%!(EXTRA *errors.errorString=invalid login)
Brody
Brody2mo ago
where can i see this error for myself?
Stevenson Michel
Stevenson MichelOP2mo ago
I can't find the deployment id for the minio instance. I assume it's the first part of this railway subdomain? console-staging-c7ff.up.railway.app
Brody
Brody2mo ago
those are logs the app is printing, not railway i just deployed minio, added custom domains to both console and bucket, redeployed both, and i can't reproduce this error. i recommend you redeploy the template from scratch, you may have missconfigured something along the way.
Stevenson Michel
Stevenson MichelOP2mo ago
Thanks, I will try again! I wiped the volume, restarted both the console and bucket. I am able to login again.
Brody
Brody2mo ago
That works too!
Want results from more Discord servers?
Add your server