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
Error creating new connection from Diffgram to local Minio #951
Comments
Hey @Tachimura! From the error, it seems you are trying to connect to S3 instead of Minio, did you set the right env variable for storage provider? |
@Tachimura I've just tested it out and everything works for me. The important thing is that you use http://192.168.20.54:9000 (in your case it may be different) instead of http://127.0.0.1:9000 With http://127.0.0.1:9000 install test will pass, however connection and import won't work Let me know if that helps |
@vitalii-bulyzhyn I'm pretty sure the env variables are correctly set (here's a snippet of it) |
Also make sure that the folder you want to write into has write permissions for MinIO. |
@Tachimura to scope the problem, is the problem only with connection, or file import also doesn't work? |
@PJEstrada Yes, the data directory we are using has write permissions for all users. @vitalii-bulyzhyn Exactly, we only have problems with the connection to minio. We could import some data into the bucket via the webpage and the python sdk. |
Okay, in this case the problem may be SSL certificate, can you try to add one as minio docs suggest? |
@vitalii-bulyzhyn my team had the machine recreated by zero and after performing all the previous steps it is now working. |
Happy everything works now 👍 |
Context
I've tried to use Minio (as a local storage provider) with Diffgram but i've encurred in an issue when trying to create a new connection from Diffgram to Minio.
Setup:
1- Install Minio (I've also tried with the docker version, but got the same error)
wget https://dl.min.io/server/minio/release/linux-amd64/minio
chmod +x minio
MINIO_ROOT_USER=admin MINIO_ROOT_PASSWORD=password ./minio server /home/ubuntu/minio_test_data --console-address ":9001"
I have then created a bucket called 'images' and uploaded some data in it.
2- Install Diffgram 1.1.11
git clone https://github.com/diffgram/diffgram.git
cd diffgram
pip install -r requirements.txt
python3 install.py
Selected Minio Web Server Services Storage (which is running in the same machine), inserted the required parameters and the tests: Connection, Write permission and Read permission are OK.
Error
I logged into Diffgram (from the webpage), tried to create a new connection to Minio, so:
project -> connections -> new connection
I used the same parameters as i've inserted in the install.py but i got this error:
The text was updated successfully, but these errors were encountered: