The af-south-1 location constraint is incompatible for the region specific endpoint this request was

Advertisement

Coldfire
Guest

The af-south-1 location constraint is incompatible for the region specific endpoint this request was

Good day,

I am presented with the following error when connecting to an S3 bucket in the Africa region.

Seems it always wants
---------------------------
Error
---------------------------
Error changing directory to 'theiglobegroupcontrol-s3-2'.
---------------------------
The af-south-1 location constraint is incompatible for the region specific endpoint this request was sent to.
Extra Details: RequestId: A397V4D0BJ240EM9, HostId: Li0RnjP2ZBBR3GPx0qnM/4Gswct6AL/7F6koM88IcMwn6sdcCJ9ebZwHS5oIimXOFmAjPv3cE9o=
---------------------------
OK Help
---------------------------
  • AKIA4GEEORQPLSNUEPHS@s3.amazonaws.com.log (82.77 KB, Private file)
Description: Log file for the error

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: The af-south-1 location constraint is incompatible for the region specific endpoint this request was

You have forced af-south-1 region in your session settings. Did you try clearing that setting?

Reply with quote

coldfireza
Guest

The af-south-1 location constraint is incompatible for the region specific endpoint this request was

I have tried with and without the Region lock. I created a bucket in the Africa region and the eu-west region. I can access the EU bucket but not the Africa bucket.

Reply with quote

martin
Site Admin
martin avatar

Re: The af-south-1 location constraint is incompatible for the region specific endpoint this request was

Please attach log file with the region setting cleared. In the session, please try to access only that specific bucket. No other buckets before.

Reply with quote

Coldfire
Joined:
Posts:
2
Location:
South Africa

Re: The af-south-1 location constraint is incompatible for the region specific endpoint this request was

There you go. No alterations made when trying to connect.
  • AKIA4GEEORQPLSNUEPHS@s3.amazonaws.com.log (16.33 KB, Private file)

Reply with quote

Advertisement

martin
Site Admin
martin avatar

Re: The af-south-1 location constraint is incompatible for the region specific endpoint this request was

Ok, what exact African region did you create the bucket in? If you try specifying that region in the session settings, does it change anything? Can you post a log file for that?

Reply with quote

Coldfire

Re: The af-south-1 location constraint is incompatible for the region specific endpoint this request was

There is only one region you can create the S3 bucket in. I sent it in the first log with the region restriction and a the attempt to access it.

af-south-1

Reply with quote

martin
Site Admin
martin avatar

Re: The af-south-1 location constraint is incompatible for the region specific endpoint this request was

OK, so can you tell me step-by-step, what can I do to reproduce the problem you are facing?

Reply with quote

RaviPrasad
Guest

Error while accessing aws s3 bucket in me-south-1 region.

Please find attached error screenshot while configuring to access AWS S3 bucket in me-south-1 region.

Note: IAM credential (Access/Secret key) has permission & able to access buckets in other regions.

Description: Please find attached error screenshot while configuring to access aws s3 bucket in me-south-1 region.

winscp error with aws s3 bucket access in me-south-1.png

Reply with quote

Advertisement

RaviPrasad
Guest

Re: The af-south-1 location constraint is incompatible for the region specific endpoint this request was

Configure the connection in WinSCP:
  1. Select "New site"
  2. In the New site dialog, select Amazon S3 protocol
  3. In the "Host" field, enter s3.amazonaws.com
  4. Enter the Access Key ID and Secret Access Key
  5. Click 'Advanced'
  6. Click "Directories" (in the "Environment" section)
  7. In the 'Remote Directory" field, enter the S3 bucket name gisfilebackup
  8. Once connected, you can drag-and-drop the top-level directories into the S3 bucket. This will recursively upload the files and sub-directories.

Reply with quote

martin
Site Admin
martin avatar

Re: The af-south-1 location constraint is incompatible for the region specific endpoint this request was

@RaviPrasad: I'm not sure I understand your posts. Do you have a problem? Or are your posting your solution? Did you intend to post two same screenshots?

Reply with quote

martin
Site Admin
martin avatar

Re: Fixed

@lauricthepilot: I general, you should not modify the hostname. That may cause troubles with some functions. Can you provide step-by-step instructions to reproduce your problem, so that we can find the right solution?

Reply with quote

Advertisement

You can post new topics in this forum