Minio endpoint not accepting
Minio Client SDK doesn't accept the railway provided url as valid endpoint.
40 Replies
Project ID:
16ada6d2-f78b-439f-aa61-584221dc6853
16ada6d2-f78b-439f-aa61-584221dc6853
show code
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)
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1195773398777876601/image.png)
maybe because of the trialing slash?
Nope
I have tried with the console url and tried with creating tcp and http proxy for bucket service.
None works
remove the trailing slash
Same
show me new code
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)
show error
![No description](https://answer-overflow-discord-attachments.s3.amazonaws.com/1195774130662953071/image.png)
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
well you've gone and mucked about with the service again, I don't know if you've broke it