Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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?
lauricthepilot

Fixed

I had the same issue.

To fix it, use the S3 region endpoint specific to the region where your bucket is located in the "Host Name" Field. In other words, use s3.af-south-1.amazonaws.com instead of simply s3.amazonaws.com. You can find the S3 region endpoints here:
https://docs.aws.amazon.com/general/latest/gr/s3.html
martin

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?
RaviPrasad

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.
RaviPrasad

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.
martin

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?
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
martin

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?
Coldfire

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.
martin

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.
coldfireza

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.
martin

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?
Coldfire

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
---------------------------