Skip to content

adding more errors to fix Concourse issue with unreliable cred mgrs - #4

Merged
vito merged 2 commits into
concourse:masterfrom
romankartgh:master
Nov 26, 2018
Merged

vito merged 2 commits into
concourse:masterfrom
romankartgh:master

Conversation

@romankartgh

Copy link
Copy Markdown
Contributor

this is a first step towards fixing concourse/concourse#2542

@pivotal-issuemaster

Copy link
Copy Markdown

@ralekseenkov Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster

Copy link
Copy Markdown

@ralekseenkov Thank you for signing the Contributor License Agreement!

@romankartgh

romankartgh commented Oct 18, 2018 •

Copy link
Copy Markdown
Contributor Author

@vito since the code is looking for suffixes:

remote error: handshake failure -> handshake failure
net/http: TLS handshake timeout -> handshake timeout
connect: connection reset by peer -> connection reset by peer

@vito vito left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Just had a few questions inline.

Comment thread retryer.go Resolved
Comment thread retryer.go
errors.New("i/o timeout"),
errors.New("no such host"),
errors.New("remote error: handshake failure"),
errors.New("handshake failure"),

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Comment thread retryer.go Resolved
Comment thread retryer.go Resolved
@vito

vito commented Nov 26, 2018

Copy link
Copy Markdown
Contributor

thanks! (don't forget to bump go.mod in your PR, btw)

@vito
vito merged commit 7ab5e29 into concourse:master Nov 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants