S3 login issue

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
muraty
500 Command not understood
Posts: 4
Joined: 2020-12-30 09:45
First name: Murat
Last name: Yildirim

S3 login issue

#1 Post by muraty » 2020-12-30 09:53

Hello.

We have S3 buckets on eu-west-1. So, we need to login to s3-eu-west-1.amazonaws.com via S3. However, Filezilla Pro (MacOS, Version 3.51.0) tries to login to s3.dualstack.us-east-1.amazonaws.com:443:

Code: Select all

Command:	Connection: keep-alive
Command:	Host: s3.dualstack.us-east-1.amazonaws.com:443
Command:	Keep-Alive: 300
Command:	User-Agent: FileZilla/3.51.0
Command:	x-amz-content-sha256: xxx
Command:	x-amz-date: xxx
Response: 	HTTP/1.1 403 Forbidden
Response: 	x-amz-request-id: xxx
Response: 	x-amz-id-2: xxx
Response: 	Content-Type: application/xml
Response: 	Transfer-Encoding: chunked
Response: 	Date: Wed, 30 Dec 2020 09:47:26 GMT
Response: 	Server: AmazonS3
Response: 	Connection: keep-alive
Error:        	Please verify the user name and password used to connect.
Error:        	Failed to retrieve directory listing
Because of this, I'm getting authentication error. I'm %100 sure that Access Key ID and Secret Access Key is correct. I tested them twice with Cyberduck and there were no errors.

Thanks,
Murat

User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: S3 login issue

#2 Post by botg » 2020-12-30 10:50

s3-eu-west-1.amazonaws.com
That's not the correct hostname. It should be a dot after the s3.

Due to the wrong host, FileZilla Pro cannot determine the initial region and falls back to us-east-1

muraty
500 Command not understood
Posts: 4
Joined: 2020-12-30 09:45
First name: Murat
Last name: Yildirim

Re: S3 login issue

#3 Post by muraty » 2020-12-30 11:04

Hello botg.

When I use "s3.amazonaws.com" with the port 443, I'm still getting the same error:

Code: Select all

Command:	GET / HTTP/1.1
Command:	Authorization: *****************************************************************************************************************************************************************************************************************
Command:	Connection: keep-alive
Command:	Host: s3.dualstack.us-east-1.amazonaws.com:443
Command:	Keep-Alive: 300
Command:	User-Agent: FileZilla/3.51.0
Command:	x-amz-content-sha256: xxx
Command:	x-amz-date: xx
Response: 	HTTP/1.1 403 Forbidden
Response: 	x-amz-request-id: xxx
Response: 	x-amz-id-2: xxx
Response: 	Content-Type: application/xml
Response: 	Transfer-Encoding: chunked
Response: 	Date: Wed, 30 Dec 2020 11:02:22 GMT
Response: 	Server: AmazonS3
Response: 	Connection: keep-alive
Error:        	Please verify the user name and password used to connect.
Error:        	Failed to retrieve directory listing


User avatar
botg
Site Admin
Posts: 35508
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: S3 login issue

#4 Post by botg » 2020-12-30 18:39

Still wrong hostname, now the region has been removed altogether.

User avatar
boco
Contributor
Posts: 26913
Joined: 2006-05-01 03:28
Location: Germany

Re: S3 login issue

#5 Post by boco » 2021-01-02 07:52

Must be

Code: Select all

s3.eu-west-1.amazonaws.com

Please note that FileZilla Pro has a customer forum of its own and is not supported in the free one. See the sticky for the correct support location.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply