Skip to content

Commit ea22eed

Browse files
committed
Fix recurring errors when using TLS/SSL
Turns out haproxy needs to be told that the connection is TLS/SSL twice. Once for the `tcp-check` connect and then for the `server-template`. If `ssl` is not specified in the `server-template` config, then there will be some plaintext tcp connections. These seem to be separate from the `tcp-check` connections though. Redis will print an error such as this when it's running in TLS/SSL mode and a plaintext connection gets opened: ``` 1:M 14 Apr 2025 14:41:03.686 # Error accepting a client connection: error:0A00010B:SSL routines::wrong version number (addr=11.35.244.11:34886 laddr=11.35.244.4:6379) ``` They are mostly annoying, but are harmless.
1 parent 114d2de commit ea22eed

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ helm repo add appuio https://charts.appuio.ch
1919
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/data-cube-curation-0.3.1/total)](https://github.com/appuio/charts/releases/tag/data-cube-curation-0.3.1) | [data-cube-curation](appuio/data-cube-curation/README.md) |
2020
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/exoip-1.0.4/total)](https://github.com/appuio/charts/releases/tag/exoip-1.0.4) | [exoip](appuio/exoip/README.md) |
2121
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/generic-0.1.2/total)](https://github.com/appuio/charts/releases/tag/generic-0.1.2) | [generic](appuio/generic/README.md) |
22-
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/haproxy-2.6.0/total)](https://github.com/appuio/charts/releases/tag/haproxy-2.6.0) | [haproxy](appuio/haproxy/README.md) |
22+
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/haproxy-2.6.1/total)](https://github.com/appuio/charts/releases/tag/haproxy-2.6.1) | [haproxy](appuio/haproxy/README.md) |
2323
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/mariadb-galera-1.2.6/total)](https://github.com/appuio/charts/releases/tag/mariadb-galera-1.2.6) | [mariadb-galera](appuio/mariadb-galera/README.md) |
2424
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/maxscale-2.0.1/total)](https://github.com/appuio/charts/releases/tag/maxscale-2.0.1) | [maxscale](appuio/maxscale/README.md) |
2525
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/metrics-server-2.12.1/total)](https://github.com/appuio/charts/releases/tag/metrics-server-2.12.1) | [metrics-server](appuio/metrics-server/README.md) |

appuio/haproxy-2.5.1.tgz

-10.9 KB
Binary file not shown.

appuio/haproxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v1
22
appVersion: 2.7.3
33
description: A Helm chart for HAProxy which can be customized by a config map.
44
name: haproxy
5-
version: 2.6.0
5+
version: 2.6.1
66
maintainers:
77
- name: APPUiO Team
88
email: info@appuio.ch

appuio/haproxy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# haproxy
22

3-
![Version: 2.6.0](https://img.shields.io/badge/Version-2.6.0-informational?style=flat-square) ![AppVersion: 2.7.3](https://img.shields.io/badge/AppVersion-2.7.3-informational?style=flat-square)
3+
![Version: 2.6.1](https://img.shields.io/badge/Version-2.6.1-informational?style=flat-square) ![AppVersion: 2.7.3](https://img.shields.io/badge/AppVersion-2.7.3-informational?style=flat-square)
44

55
A Helm chart for HAProxy which can be customized by a config map.
66

appuio/haproxy/templates/configmap-redisk8s.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ data:
5656
tcp-check expect string +OK
5757
{{- end }}
5858
59-
server-template redis- {{ $redisk8s.nodeCount }} {{ $redisk8s.dnsservicename }}:{{ default "6379" $redisk8s.port }} {{ if $redisk8s.check.enabled }}check inter 1s on-marked-down shutdown-sessions {{ end }}resolvers mydns init-addr none {{ if $redisk8s.tls }} verify none {{ end }}
59+
server-template redis- {{ $redisk8s.nodeCount }} {{ $redisk8s.dnsservicename }}:{{ default "6379" $redisk8s.port }} {{ if $redisk8s.check.enabled }}check inter 1s on-marked-down shutdown-sessions {{ end }}resolvers mydns init-addr none {{ if $redisk8s.tls }} verify none ssl {{ end }}
6060
{{- end }}

0 commit comments

Comments
 (0)