Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase healthcheck ping timeout #1627

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

clement-z
Copy link
Contributor

@clement-z clement-z commented Dec 21, 2020

Fix #1582

For some reason, a 5 seconds timeout on ping specified as -w 5 is sometimes too short for two pings to go through, most likely because of the delay between pings and...? I don't know, but it nevertheless causes some apparent ping loss, as the last ping is deemed unsuccessful. This in turn marks the container as unhealthy even when it is indeed connected to the VPN and able to reach the internet.

I just increased the timeout to 10 seconds (for 2 pings). This seems awfully long for 2 small pings, but 🤷

@stempst0r
Copy link

Can confirm this issue with VPNUnlimited as provider.
Changed the value on my local install and after a restard the container was shown as healty. 👍

@pkishino pkishino merged commit 623e454 into haugene:dev Jan 19, 2021
pkishino added a commit that referenced this pull request Feb 12, 2021
* Brush up proxy and rss plugin images, build for multiarch support #1483

* Escape special characters in rss-plugin input variables #1565

* Increase healthcheck ping timeout (#1627)

* Add DNS resolution checks (fix #1608) (#1617)

* Add dns resolution test to healthcheck script

* Add dns resolution test to start script

Co-authored-by: Patrick Kishino <[email protected]>

* Fix PIA infinite redirect on config download (see #1619) (#1620)

PIA download link was redirecting and setting a cookie, but those are
disabled by default unless `--cookie` or `--cookie-jar` are given. Since
the cookie was not set, the redirection was attempted again until we
reached the maximum redirection limit.

The `--cookie /dev/null` specifies an empty input cookie, which has the
effect to enable curl's handling of cookies.

Co-authored-by: Kristian Haugene <[email protected]>
Co-authored-by: clement-z <[email protected]>
steveneighbour pushed a commit to steveneighbour/openvpn that referenced this pull request Apr 17, 2021
steveneighbour pushed a commit to steveneighbour/openvpn that referenced this pull request Apr 17, 2021
* Brush up proxy and rss plugin images, build for multiarch support haugene#1483

* Escape special characters in rss-plugin input variables haugene#1565

* Increase healthcheck ping timeout (haugene#1627)

* Add DNS resolution checks (fix haugene#1608) (haugene#1617)

* Add dns resolution test to healthcheck script

* Add dns resolution test to start script

Co-authored-by: Patrick Kishino <[email protected]>

* Fix PIA infinite redirect on config download (see haugene#1619) (haugene#1620)

PIA download link was redirecting and setting a cookie, but those are
disabled by default unless `--cookie` or `--cookie-jar` are given. Since
the cookie was not set, the redirection was attempted again until we
reached the maximum redirection limit.

The `--cookie /dev/null` specifies an empty input cookie, which has the
effect to enable curl's handling of cookies.

Co-authored-by: Kristian Haugene <[email protected]>
Co-authored-by: clement-z <[email protected]>
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