Unable to connect with "S3" protocol

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
san2809m
500 Command not understood
Posts: 1
Joined: 2018-01-08 18:13
First name: Saravanan
Last name: Murugan

Unable to connect with "S3" protocol

#1 Post by san2809m » 2018-01-08 18:24

In the user name and password section, I'm passing the "Access Key" and "Secret Key". But getting below error.

Can you please confirm,
a) Can I access the S3 buckets via FileZilla?
b) Can I access the S3 buckets by giving the proxy host (DNS) in the host name instead of IP?
c) What is UserName and Password? Is it different than Access and Secret Key?


Status: Retrieving directory listing...
Status: Resolving address of s3.dualstack.us-east-1.amazonaws.com
Status: Connecting to xx.xxx.xx.xxx:443...
Status: Connection established, initializing TLS...
Status: Verifying certificate...
Status: TLS connection established, sending HTTP request
Command: GET / HTTP/1.1
Command: Authorization: AWS4-HMAC-SHA256 Credential=<AccessKey>/20180108/us-east-1/s3/aws4_request,SignedHeaders=host;x-amz-content-sha256;x-amz-date,Signature=<SignatureID>
Command: Connection: keep-alive
Command: Content-Length: 0
Command: Host: s3.dualstack.us-east-1.amazonaws.com
Command: Keep-Alive: 300
Command: User-Agent: FileZilla/3.29.0
Command: x-amz-content-sha256: <SHA>
Command: x-amz-date: 20180108T182055Z
Response: HTTP/1.1 403 Forbidden
Response: x-amz-request-id: <>
Response: x-amz-id-2: <>
Response: Content-Type: application/xml
Response: Transfer-Encoding: chunked
Response: Date: Mon, 08 Jan 2018 18:20:54 GMT
Response: Server: AmazonS3
Error: Please verify the user name and password used to connect.
Error: Failed to retrieve directory listing

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

Re: Unable to connect with "S3" protocol

#2 Post by botg » 2018-01-08 19:14

Are you using Amazon S3 or a third-party S3 provider?
In the user name and password section, I'm passing the "Access Key" and "Secret Key".
That's correct.

Does the S3 account associated with the access key have permission to list available buckets? If the account only has permissions to access certain buckets, but not list available buckets, try passing the bucket, prefixed with slash, as default remote path in the site-manager.

aronfiechter
500 Command not understood
Posts: 1
Joined: 2018-08-10 09:14
First name: Aron
Last name: Fiechter

Re: Unable to connect with "S3" protocol

#3 Post by aronfiechter » 2018-08-10 09:19

I am trying right now to access an S3 bucket. It is not hosted on Amazon's servers, so I added a new S3 provider in the settings.
I set the access key as username, the secret key as password and the bucket in the default remote folder.

When trying to access using

Code: Select all

aws-cli
the connection works using the credentials, I am able to list all buckets, see files, delete and move files, so the credentials are correct.

However, this is what I get using FileZilla:

Code: Select all

Response: 	HTTP/1.1 403 Forbidden
Response: 	Server: nginx
Response: 	Date: Fri, 10 Aug 2018 09:12:35 GMT
Response: 	Content-Type: application/xml
Response: 	Content-Length: 922
Response: 	Connection: keep-alive
Response: 	x-amz-bucket-region: *************
Response: 	x-amz-request-id: *********************************
Response: 	x-amzn-requestid: *********************************
Response: 	x-amz-id-2: *********************************
Error:        	Please verify the user name and password used to connect.
Error:        	Failed to retrieve directory listing

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

Re: Unable to connect with "S3" protocol

#4 Post by botg » 2018-08-10 09:33

The log is incomplete and tampered with.

Post Reply