Page 1 of 1

S3 login issue

Posted: 2020-12-30 09:53
by muraty
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

Re: S3 login issue

Posted: 2020-12-30 10:50
by botg
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

Re: S3 login issue

Posted: 2020-12-30 11:04
by muraty
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


Re: S3 login issue

Posted: 2020-12-30 18:39
by botg
Still wrong hostname, now the region has been removed altogether.

Re: S3 login issue

Posted: 2021-01-02 07:52
by boco
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.