s3 feature doesn't work with minio server

Advertisement

mattn
mattn avatar
Joined:
Posts:
4
Location:
Japan

s3 feature doesn't work with minio server

Minio is an object storage server that compatible with Amazon S3. But, since WinSCP seems look {bucket}+hostname, it doesn't work on minio server. Do you have plan to support S3 compatible servers?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,262
Location:
Prague, Czechia

Re: s3 feature doesn't work with minio server

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Reply with quote

mattn
mattn avatar
Joined:
Posts:
4
Location:
Japan

Re: s3 feature doesn't work with minio server

Sorry, It will be in later since my minio server works on my office. I will take few days to take the logs. But you can understand why this occured. See S3FileSystem.cpp:491

Result.uriStyle = S3UriStyleVirtualHost;
For S3 compatible servers, uriStyle should be S3UriStylePath.

Reply with quote

mattn
mattn avatar
Joined:
Posts:
4
Location:
Japan

Re: s3 feature doesn't work with minio server

And it should be selectable in configuration dialog, I think.

Reply with quote

Gianni
Joined:
Posts:
2
Location:
Italy

Re: s3 feature doesn't work with minio server

Also, Minio generates a url like http://127.0.0.1:9000
If you select S3 and paste this url, WinSCP switches to WebDav automatically

Reply with quote

Advertisement

Gianni
Joined:
Posts:
2
Location:
Italy

I've uploaded a log session. Note that it tries to connect to port 443 instead of 9000 because it forces https
  • s3.log (8.58 KB, Private file)
Description: log session

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,262
Location:
Prague, Czechia

Thanks. Please allow few days for me to investigate this.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
28,262
Location:
Prague, Czechia

Thanks for the information. I've set up minio server myself, so I can not reproduce the problem.
I'll see if more people ask for support of minio server.

Reply with quote

mattn
mattn avatar
Joined:
Posts:
4
Location:
Japan

martin wrote:

Thanks for the information. I've set up minio server myself, so I can not reproduce the problem.
I'll see if more people ask for support of minio server.

Did you try with some files? I don't see any errors. And I don't see any files. As far as I see my log files, WinSCP is looking [bucket].[hostname] .

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,262
Location:
Prague, Czechia

Sorry, that was a typo on my side. I've meant "I can now reproduce".

Reply with quote

Advertisement

You can post new topics in this forum