Skip to content
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

If Speckle is deployed with an invalid s3 credentials, the error is not helpful #1006

Closed
iainsproat opened this issue Sep 10, 2022 · 1 comment
Labels
bug Something isn't working [ devops ] [ server ]

Comments

@iainsproat
Copy link
Contributor

What package are you referring to?

speckle-server, packages/server/modules/blobstorage

Describe the bug

I mistakenly added the wrong credentials and endpoint for the s3 blob storage. The error message was not helpful.

To Reproduce

Add an incorrect s3 endpoint and/or credentials.

Expected behavior

A helpful message to state that the bucket was not reachable, and to check endpoint and credentials.

Screenshots

Screenshot 2022-09-10 at 18 34 25

System Info

Kubernetes

Failure Logs

BucketDeleted: This bucket is temporarily reserved for administrative purposes.
    at deserializeAws_restXmlCreateBucketCommandError (/speckle-server/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js:4684:24)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async /speckle-server/node_modules/@aws-sdk/middleware-serde/dist-cjs/deserializerMiddleware.js:7:24
    at async /speckle-server/node_modules/@aws-sdk/middleware-signing/dist-cjs/middleware.js:11:20
    at async StandardRetryStrategy.retry (/speckle-server/node_modules/@aws-sdk/middleware-retry/dist-cjs/StandardRetryStrategy.js:51:46)
    at async /speckle-server/node_modules/@aws-sdk/middleware-logger/dist-cjs/loggerMiddleware.js:6:22
    at async ensureStorageAccess (/speckle-server/packages/server/dist/modules/blobstorage/objectStorage.js:97:17)
    at async ensureConditions (/speckle-server/packages/server/dist/modules/blobstorage/index.js:17:9)
    at async Object.exports.init (/speckle-server/packages/server/dist/modules/blobstorage/index.js:41:5)
    at async Object.exports.init (/speckle-server/packages/server/dist/modules/index.js:64:9) {
  '$fault': 'client',
  '$metadata': {
    httpStatusCode: 403,
    requestId: undefined,
    extendedRequestId: undefined,
    cfId: undefined,
    attempts: 1,
    totalRetryDelay: 0
  },
  Code: 'BucketDeleted'
}

Additional context

Proposed Solution (if any)

@iainsproat iainsproat added the bug Something isn't working label Sep 10, 2022
@iainsproat
Copy link
Contributor Author

@iainsproat iainsproat closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working [ devops ] [ server ]
Projects
None yet
Development

No branches or pull requests

3 participants