databricks / click

The "Command Line Interactive Controller for Kubernetes"
Apache License 2.0
1.49k stars 85 forks source link

Retry on reset connections #137

Closed nicklan closed 4 years ago

nicklan commented 4 years ago

Many people have reported getting connection resets of the form:

Hyper error: Connection reset by peer (os error 54)

or

Hyper error: Connection reset by peer (os error 104) (None)

This catches that error and retries (once), which seems to fix it. Should have a deeper followup to figure out why this happens.

codeyq commented 4 years ago

This is super helpful. Thank you so much @nicklan