File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change
1
+ <!--
2
+
3
+ A new changelog entry.
4
+
5
+ Delete placeholder items that do not apply. Empty sections will be removed
6
+ automatically during release.
7
+
8
+ Leave the XX.XX as is: this is a placeholder and will be automatically filled
9
+ correctly during the release and helps when backporting over multiple platform
10
+ branches.
11
+
12
+ -->
13
+
14
+
15
+ ### NixOS XX.XX platform
16
+
17
+ - Increase SSL validation check timeout to better distinguish DNS resolution
18
+ errors and other causes of timeouts. (PL-133125)
Original file line number Diff line number Diff line change 9
9
lib . listToAttrs
10
10
( map ( n : lib . nameValuePair "ssl_cert_acme_${ n } " {
11
11
notification = "ACME (Letsencrypt) certificate for ${ n } is invalid or will expire soon" ;
12
- command = "check_http -p 443 -S --sni -C 25,14 -H ${ n } " ;
12
+ # We're using a timeout of 15 seconds because 10 seconds is the timeout
13
+ # that will trigger if DNS issues occur and giving the check a higher
14
+ # timeout allows us to see those. Otherwise they get hidden behind
15
+ # a generic timeout message.
16
+ command = "check_http -p 443 -S --sni -C 25,14 -H ${ n } -t 15" ;
13
17
interval = 600 ;
14
18
} )
15
19
( lib . attrNames config . security . acme . certs ) ) ;
You can’t perform that action at this time.
0 commit comments