Fix: TLS handshake timeout caused by go 1.23 (#1997)

This commit is contained in:
Zoltán Bedi
2025-03-25 12:12:18 +01:00
committed by GitHub
parent 0594cc8ab0
commit a02a88579e
3 changed files with 11 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
'grafana-zabbix': patch
---
Fix: TLS handshake timeout issues by disabling post-quantum key exchange mechanism in go

View File

@@ -2,8 +2,6 @@
## 5.0.3 ## 5.0.3
### Patch Changes
🐛 Security: Update golang.org/x/net from v0.35.0 to v0.37.0 🐛 Security: Update golang.org/x/net from v0.35.0 to v0.37.0
⚙️ Chore: Build plugin with go 1.24.1 ⚙️ Chore: Build plugin with go 1.24.1
🐛 Fix: Basic authentication in zabbix <7.2 🐛 Fix: Basic authentication in zabbix <7.2

6
go.mod
View File

@@ -2,6 +2,12 @@ module github.com/alexanderzobnin/grafana-zabbix
go 1.24 go 1.24
// Go 1.24 enabled the post-quantum key exchange mechanism
// X25519MLKEM768 by default. It can cause issues with some TLS servers
// that do not handle large records correctly.
// It can be disabled using the following command:
godebug tlsmlkem=0
require ( require (
github.com/bitly/go-simplejson v0.5.1 github.com/bitly/go-simplejson v0.5.1
github.com/dlclark/regexp2 v1.10.0 github.com/dlclark/regexp2 v1.10.0