Skip to content

Aws::Errors::MissingCredentialsError: unable to sign request without credentials set (Aws::Errors::MissingCredentialsError) #8448

@sentry

Description

@sentry

Sentry Issue: EXERCISM-RAILS-Q

Aws::Sigv4::Errors::MissingCredentialsError: missing credentials, provide credentials with one of the following options: (Aws::Sigv4::Errors::MissingCredentialsError)
  - :access_key_id and :secret_access_key
  - :credentials
  - :credentials_provider

          raise Errors::MissingCredentialsError
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  app/models/submission/file.rb:68:in `raw_content'
    @raw_content = Exercism.s3_client.get_object(
  app/models/submission/file.rb:41:in `utf8_content'
    def utf8_content = String.new(raw_content, encoding: 'utf-8')
  app/commands/tooling_job/upload_to_efs.rb:15:in `block (2 levels) in ToolingJob::UploadToEFS#call'
    File.open(efs_path, 'w') { |f| f.write(file.utf8_content) }
  app/commands/tooling_job/upload_to_efs.rb:15:in `IO.open'
    File.open(efs_path, 'w') { |f| f.write(file.utf8_content) }
  app/commands/tooling_job/upload_to_efs.rb:15:in `block in ToolingJob::UploadToEFS#call'
    File.open(efs_path, 'w') { |f| f.write(file.utf8_content) }
...
(164 additional frame(s) were not displayed)

Aws::Errors::MissingCredentialsError: unable to sign request without credentials set (Aws::Errors::MissingCredentialsError)
  app/models/submission/file.rb:68:in `raw_content'
    @raw_content = Exercism.s3_client.get_object(
  app/models/submission/file.rb:41:in `utf8_content'
    def utf8_content = String.new(raw_content, encoding: 'utf-8')
  app/commands/tooling_job/upload_to_efs.rb:15:in `block (2 levels) in ToolingJob::UploadToEFS#call'
    File.open(efs_path, 'w') { |f| f.write(file.utf8_content) }
  app/commands/tooling_job/upload_to_efs.rb:15:in `IO.open'
    File.open(efs_path, 'w') { |f| f.write(file.utf8_content) }
  app/commands/tooling_job/upload_to_efs.rb:15:in `block in ToolingJob::UploadToEFS#call'
    File.open(efs_path, 'w') { |f| f.write(file.utf8_content) }
...
(161 additional frame(s) were not displayed)

This issue was automatically created by Sentry via Exercism Rails Slack

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