Skip to content

Potential Bug or documentation unclear #1933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
emouawad opened this issue Mar 17, 2025 · 0 comments
Open
2 tasks done

Potential Bug or documentation unclear #1933

emouawad opened this issue Mar 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@emouawad
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a bug, not a question or a configuration issue.
  • This issue is not already reported on Github (I've searched it).

Bug description

Google Storage is S3 Compatible.

in my sftpgo configuration:

  • successfully used an S3 compatible folder (provider = 1 - NOT google)
  • successfully used gcs folder (Google)

What i can't do is use google as an S3 compatible folder.

Following terraform used (same from UI)

resource "sftpgo_folder" "s3_gcp" {
  name        = "s3_gcp"
  mapped_path = "/tmp"
  filesystem = {
    provider = 2 # GCS
    gcsconfig = {
      bucket      = "my-bucket"
      credentials = file("sa-key.json")
      key_prefix  = "folder/"
    }
  }
}

resource "sftpgo_folder" "s3_gcp2" {
  name        = "s3_gcp2"
  mapped_path = "/tmp"
  filesystem = {
    provider = 1 # S3 Compatible
    s3config = {
      endpoint      = "https://storage.googleapis.com"
      region        = "us-central1"
      bucket        = "my-bucket"
      access_key    = "GOOGJJJJJJJJJJJJJJJJ"
      access_secret = "HVUaSF+aaaaaaaaaaaaa/Jbbbbbbbbbb"
      #   force_path_style = true
      key_prefix = "folder/"
      #   skip_tls_verify  = true
    }
  }
}

I keep getting:

error retrieving directory entries: operation error S3: ListObjectsV2, https response error StatusCode: 403, RequestID: , HostID: , api error SignatureDoesNotMatch: Access denied.

Steps to reproduce

Expected behavior

.

SFTPGo version

2.6.6

Data provider

sqlite

Installation method

Community Docker image

Configuration

config

Relevant log output

What are you using SFTPGo for?

Private user, home usecase (home backup/VPS)

Additional info

No response

@emouawad emouawad added the bug Something isn't working label Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant