Minio endpoint not accepting

Minio Client SDK doesn't accept the railway provided url as valid endpoint.
40 Replies
Percy
Percy6mo ago
Project ID: 16ada6d2-f78b-439f-aa61-584221dc6853
King Jahad
King Jahad6mo ago
16ada6d2-f78b-439f-aa61-584221dc6853
Brody
Brody6mo ago
show code
King Jahad
King Jahad6mo ago
from minio import Minio client = Minio(endpoint="bucket-production-e32d.up.railway.app/",access_key="ESchG0DUOOIsNQ7hhMq1",secret_key="zWKyb8E30uPq2qeLyuH64zuiA8kIYK27n9S6LPEx") found = client.bucket_exists("shyft") print(found)
King Jahad
King Jahad6mo ago
No description
Brody
Brody6mo ago
maybe because of the trialing slash?
King Jahad
King Jahad6mo ago
Nope I have tried with the console url and tried with creating tcp and http proxy for bucket service. None works
Brody
Brody6mo ago
remove the trailing slash
King Jahad
King Jahad6mo ago
Same
Brody
Brody6mo ago
show me new code
King Jahad
King Jahad6mo ago
from minio import Minio client = Minio(endpoint="https://bucket-production-e32d.up.railway.app",access_key="ESchG0DUOOIsNQ7hhMq1",secret_key="zWKyb8E30uPq2qeLyuH64zuiA8kIYK27n9S6LPEx") found = client.bucket_exists("shyft") print(found)
Brody
Brody6mo ago
show error
King Jahad
King Jahad6mo ago
No description
King Jahad
King Jahad6mo ago
you can try connecting I'll remove api later console-production-fb36.up.railway.app console url bucket-production-e32d.up.railway.app bucket proxy http url
Brody
Brody6mo ago
well you've gone and mucked about with the service again, I don't know if you've broke it
King Jahad
King Jahad6mo ago
I didn't change a thing Aside from password
Brody
Brody6mo ago
my point stands
King Jahad
King Jahad6mo ago
Dashboard works and I can upload Can't access it through client sdk
Brody
Brody6mo ago
I'll deploy a minio template for myself and see if I can get the client sdk to work, power is out so no computer, so I'll update you when I can get to this
King Jahad
King Jahad6mo ago
cool I think I got something now the error says S3 API Requests must be made to API port. I tried changing port to 9090 but it doesn't work
Brody
Brody6mo ago
port would be 443
King Jahad
King Jahad6mo ago
That is normal https port or is it ssh I can't connect using any
Brody
Brody6mo ago
S3 operates on http, railway only exposes https on port 443, thus you need to use that
King Jahad
King Jahad6mo ago
Did you get a chance to check it out?
Brody
Brody6mo ago
power still off lol
King Jahad
King Jahad6mo ago
Give me your electricity company;s number lol
Brody
Brody6mo ago
it's very windy
King Jahad
King Jahad6mo ago
Just to be sure, I am using the url that connects to the console service
Brody
Brody6mo ago
that's still going to be port 443 and https
King Jahad
King Jahad6mo ago
and it won't work because s3 operates on http?
Brody
Brody6mo ago
railway runs the http to https proxy
King Jahad
King Jahad6mo ago
Bleh Solved it
Brody
Brody6mo ago
what was it
King Jahad
King Jahad6mo ago
Why is this not included into the template PORT 9000
Brody
Brody6mo ago
its not?
King Jahad
King Jahad6mo ago
You have to add a variable to bucket as well Nope
Brody
Brody6mo ago
interesting
King Jahad
King Jahad6mo ago
When I read abou railways PORT injection Then it clicked For dashboard PORT is included 9090 but there's no port in bucket that's why it doesn't generate any domain either.
Brody
Brody6mo ago
gotcha, will tell jr about this
King Jahad
King Jahad6mo ago
There are so many minio help threads.
Want results from more Discord servers?
Add your server
More Posts