pivotal-cf / pivnet-resource

Concourse Resource to interact with the Tanzu Network API V2 interface.
Apache License 2.0
30 stars 36 forks source link

Retry Auth #57

Closed osis closed 7 years ago

osis commented 7 years ago

I've been getting these 403s a couple times a day for not constant enough to determine a pattern. Might be an edge case around auth an retying downloads?

2017/01/11 15:30:58 Downloading: 'PCF Metrics' to file: '/tmp/build/get/apm-1.2.4.pivotal'
 983.72 MB / 1.07 GB   90.00% 3m17ss
2017/01/11 15:34:16 Download failed: failed during retryable request: during GET unexpected status code was returned: 403
ERROR: failed during retryable request: during GET unexpected status code was returned: 403
cf-gitbot commented 7 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/137448669

The labels on this github issue will be updated when the story is started.

zachgersh commented 7 years ago

@Osis - interesting, we should probably add more debug logging around the retryable request so we can see what is going on.

robdimsdale commented 7 years ago

@Osis we've improved the retry logic a lot and seen improvements in various teams' pipelines, so I'm going to close this out, but please feel free to re-open if you continue to observe issues.