Skip to content

SignatureDoesNotMatch when fetching raw job log

Summary

When trying to view a Job's log after the job succeeded, the UI reports An error occurred while fetching the job log., the s3 rails settings were specified in the k8s secret, and all according settings were specified in the helm values file. The log is there in the bucket, and since Digital Ocean Spaces supports v4 signing, the according setting was used in the rails s3 configs.

These are my configs in my k8s secret (with creds hidden):

  rails: |-
    provider: AWS
    region: am3
    aws_access_key_id: XXXX
    aws_secret_access_key: SSSS
    endpoint: "https://ams3.digitaloceanspaces.com"
    aws_signature_version: 4

In the js console it gives an 500 status code when accessing ...-/jobs/13/trace.json?state=

Edited by dave08