Amazon S3 fail to connect (when trying to add a drive)

I’m using a user with permissions to a specific bucket…

I get this error:
[2021/11/24 18:16:44.922] [ERROR ] [ 24928] [PROTOCOL ] S3::GetFileList_BucketList >> HTTP 403
[2021/11/24 18:16:44.922] [ERROR ] [ 24928] [PROTOCOL ] S3::Connect Failed to listAllBuckets

Hello.

Thank you for using NetDrive.

As you know “HTTP 403” means “Forbidden”.

The Access ID and Secret Key would be wrong.

Please check them again.

If they are correct, please attach debug log files to get more details and figure out what happened.

After setting the log level to VERBOSE, please reproduce the problem and send us the debug log file :

There is no login related credential information in the log files.

Regards.

I’ve checked this with AWS CLI and I can confirm that the issue is due to the fact that I don’t have permission to run “list-buckets” - based on the log, this is what it’s failing to do (“Connect Failed to listAllBuckets”).

I do have permissions to connect directly to the specific bucket but this is not available (or at least not clear how to perform) in NetDrive without first completing the “Connect” process.

Using other software (for example S3 Drive or TNTDrive) I can choose the bucket as part of the connection details.

Here is the log:
[2021/11/25 00:26:16.074] [MESSAGE ] [ 23752] [PROTOCOL ] NDCore::GetFromServer >> HTTPS GET >> 200 : https://api.bdrive.com/api/v1/me/products/NetDrive3/can_use/(114) - 724ms
[2021/11/25 00:26:16.074] [DEBUG ] [ 23752] [PROTOCOL ] NDCore::GetFromServer >> ON HTTP RANGE 200(200) : AERROR::SUCCESS(0x00000000)
[2021/11/25 00:26:21.620] [DEBUG ] [ 18496] [PROTOCOL ] S3::GetHostUrl: server_address_ [http://s3.amazonaws.com]
[2021/11/25 00:26:21.620] [DEBUG ] [ 18496] [PROTOCOL ] S3::GetHostUrl: bucket_name []
[2021/11/25 00:26:21.620] [DEBUG ] [ 18496] [PROTOCOL ] S3::GetHostUrl: key []
[2021/11/25 00:26:21.620] [DEBUG ] [ 18496] [PROTOCOL ] S3::GetHostUrl: host [s3.amazonaws.com]
[2021/11/25 00:26:21.620] [DEBUG ] [ 18496] [PROTOCOL ] S3::GetHostUrl: url [http://s3.amazonaws.com/]
[2021/11/25 00:26:21.620] [DEBUG ] [ 18496] [PROTOCOL ] S3::GetHostUrl: url_path [/]
[2021/11/25 00:26:22.014] [MESSAGE ] [ 18496] [PROTOCOL ] S3::GetFileList_BucketList >> HTTP GET >> 403 : http://s3.amazonaws.com/(243) - 393ms
[2021/11/25 00:26:22.014] [DEBUG ] [ 18496] [PROTOCOL ] S3::GetFileList_BucketList >>
458FD14E83301846EF790AC2BD14A7A6D3FCB06C63A39B32335C757A07A50ECCDA425BDCDCD36BA6C4AB2F392739C95759DBDC2164AEFC5CE42725F383F19912C8716074147BF7936B532B197A977EE0B95C3255D672177A7433BF187AA3C88199D64A473055258FC68C7163622E6B5E023A23487F48BEEB9DDBCB1E43C6DB8E1BBB28A3607B4B26E36586498C07C91B06F4EF80A8F37E6503FA8A8F85AD72734DE5EA893E2F3BBA5D9D8221C14CA536114D11CF829B4521F1E3FB84ECAB696265B7F9D0A26DD7F3836ED287E405DDAF5908E82F0AE8F7C437297D5A20
[2021/11/25 00:26:22.014] [ERROR ] [ 18496] [PROTOCOL ] S3::GetFileList_BucketList >> HTTP 403
[2021/11/25 00:26:22.014] [ERROR ] [ 18496] [PROTOCOL ] S3::Connect Failed to listAllBuckets

We will work on the issue and change the ‘Connect’ process. When a test version is ready I will post a download link here.

Thanks for your feedback.

This is a download link of modified version. You need to set ‘Bucket name’ when connect to your S3.

https://files.bdrive.com/netdrive/builds/06a10bd1161846469b232eb8a73b1837/NetDrive3_Setup-3.15.462.exe

https://files.bdrive.com/netdrive/builds/7bb76dc3808d42e8bc3250d6e91fdcf3/NetDriveInstaller-3.15.480.dmg

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.