title: FATAL: Received: 403 Forbidden when creating cache on Digital ocean with private gitlab runner
body: <p>I am running tests on digital ocean servers using gitlab runner. I want to cache gems so it won't install gems from scratch for every build. The cache section in my <code>gitlab-ci.yml</code> looks like this:</p>
  
  <pre><code>[runners.cache]
      Type = "s3"
      ServerAddress = "ams3.digitaloceanspaces.com"
      AccessKey = "KEY"
      SecretKey = "SECRET"
      BucketName = "cache-for-builds"
      Insecure = true
  </code></pre>
  
  <p>When the build finishes and runner tries to create the cache I see </p>
  
  <p><a href="https://i.stack.imgur.com/eTuhd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eTuhd.png" alt="enter image description here"></a></p>
  
  <p>I tried to regenerate Digital Ocean Spaces key and secret but it didn't help</p>
  
  <p><a href="https://i.stack.imgur.com/AxFN3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AxFN3.png" alt="enter image description here"></a></p>
  
  <p>Also I don't have any certs installed on my private gitlab runner bastion server</p>
  
  <p>The cache space in the Digital Ocean UI looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/y9bnU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y9bnU.png" alt="enter image description here"></a></p>
  
  <p>What I am doing wrong?
  How can I fix the Forbidden error?
  How can I debug this error?</p>