Ingeborg,
HTTP/2 support is currently not in xymon, including in the 4.4alpha1
development tree. I did a little testing, and sites like google that
support HTTP/2 still pass the xymonnet checks as seen below:
$ curl --head https://www.google.com | head -1
HTTP/2 200
$ grep google ~/server/etc/hosts.cfg
0.0.0.0 www.google.com # conn https://www.google.com/
$ ~/server/bin/xymonnet --no-update www.google.com |grep -B2 HTTP
&green https://www.google.com/ - OK
HTTP/1.1 200 OK
$ ~/server/bin/xymonnet --no-update www.google.com |grep -i ssl
status+30 www,google,com.sslcert green Wed Nov 1 08:38:21 2023
&green SSL certificate for https://www.google.com/ expires in 2252 days
Perhaps the website you are testing is configured to support HTTP/2 and not
support HTTP/1? Try running the xymonnet command manually similar to what
I did here.
Tom Schmidt
On Wed, Nov 1, 2023 at 7:28?AM Ingeborg Hellemo via Xymon <xymon at xymon.com>
wrote:
---------- Forwarded message ----------
From: Ingeborg Hellemo <user-10370b7b8dde@xymon.invalid>
To: xymon at xymon.com
Cc:
Bcc:
Date: Wed, 01 Nov 2023 14:21:04 +0100
Subject: Missing support for HTTP/2 ?
I have a webserver which works ok when you visit it in a browser or when
you
use curl, but Xymon http test shows "SSL error". Tests with "openssl
s_client"
from the command line works as expected.
Could the culprit be that xymonnet does not support HTTP/2 ?
/#curl --head https://<servername>/
HTTP/2 200
cache-control: private
content-length: 4423
content-type: text/html
strict-transport-security: max-age=31536000
date: Wed, 01 Nov 2023 13:15:44 GMT
--Ingeborg
--
Ingeborg ?strem Hellemo -- user-10370b7b8dde@xymon.invalid
Dep. of Information Technology --- Univ. of Troms?
---------- Forwarded message ----------
From: Ingeborg Hellemo via Xymon <xymon at xymon.com>
To: xymon at xymon.com
Cc:
Bcc:
Date: Wed, 01 Nov 2023 14:21:04 +0100
Subject: [Xymon] Missing support for HTTP/2 ?