Skip to content

Wasabi remote backups fail with IllegalLocationConstraintException; saving backup settings removes region from rclone.conf #827

Open

Description

@brianfesler

CloudPanel version(s) affected

2.5.4

Description

Remote backups to Wasabi fail with this error:

IllegalLocationConstraintException: The unspecified location constraint is incompatible for the region specific endpoint this request was sent to. status code: 400

The generated /root/.config/rclone/rclone.conf has provider = Wasabi and endpoint = s3.us-central-1.wasabisys.com, but no region line. Adding region = us-central-1 by hand fixes uploads (tested with a manual rclone copy).

Saving the remote backup settings again in the CloudPanel dashboard rewrites the file and removes the region line. Changing the region in the dashboard changes endpoint but still doesn’t add a region line.

How to reproduce

  1. Set up a remote backup to Wasabi (us-central-1) under Admin Area, Backups.
  2. Run a backup, or run the rclone command from the error message by hand.
  3. The upload fails with the error above.
  4. Add region = us-central-1 to the config and the upload works. Save the settings in the dashboard again and the line is gone.

Possible Solution

Write a region line to the rclone config for Wasabi remotes, matching the selected region.

Additional Context

Environment: Ubuntu 24.04 (noble), two servers, both affected.

Activity

  1. sigmarcus commented on Oct 24, 2026

    @sigmarcus

    Also having the same issue for us-west-1 although I suspect all regions are affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions