Nagstamon icon indicating copy to clipboard operation
Nagstamon copied to clipboard

TLS Error should fix itself

Open ser opened this issue 2 years ago • 20 comments

There are sometimes network issues between Nagstamon and my icinga2 server.

obraz

Clicking "fix problem" fixes it indeed, but is it really required to click a button? In my opinion Nagstamon should try to fix it itself in some time intervals.

ser avatar Jan 13 '22 00:01 ser

I have to click this at least every morning and after my laptop wakes up from standby. I think it started after I upgraded Check_mk. I use a self signed certificate and configured nagstatmon to ignore it.

hamster65 avatar Jan 21 '22 07:01 hamster65

I see - I have the same problem. Looks like an timed out session.

HenriWahl avatar Jan 23 '22 08:01 HenriWahl

@ser which monitoring server do you use?

HenriWahl avatar Apr 19 '22 21:04 HenriWahl

@hamster65 do you see this SSL/TLS problemor Authentication problem every morning?

HenriWahl avatar Apr 19 '22 21:04 HenriWahl

I use my own nagstamon icinga2api connector - should I try to fix it in the connector only? I was sure problem is more general.

ser avatar Apr 19 '22 23:04 ser

I see it after I connect to the company network via VPN. The VPN connection goes up automatically after login or wakeup from standby. I can check tomorrow how it behaves in the office.

hamster65 avatar Apr 20 '22 10:04 hamster65

@hamster which the error you see there exactly: SSL/TLS problem or Authentication problem?

HenriWahl avatar Apr 21 '22 20:04 HenriWahl

@ser - well should be something general.

HenriWahl avatar Apr 21 '22 20:04 HenriWahl

@ser @hamster65 please check with latest testing release 20220419.

HenriWahl avatar Apr 21 '22 22:04 HenriWahl

Installed, I'll report back if I see the error, thanks <3

ser avatar Apr 22 '22 02:04 ser

Seems to be fixed for me with the latest testing release. Thanks!

hamster65 avatar Apr 22 '22 19:04 hamster65

I have just experienced error in 3.9-20220503

ser avatar May 07 '22 01:05 ser

in 3.9-20220606 also problem repeats

ser avatar Jun 12 '22 15:06 ser

problem persists in 3.9-20220808

ser avatar Aug 10 '22 14:08 ser

I still use 3.9-20220704, no issues there.

hamster65 avatar Aug 11 '22 10:08 hamster65

maybe your network quality has improved, mine not...

ser avatar Aug 11 '22 11:08 ser

@ser Which Icinga2 Server do you use exactly? Icinga2API or IcingaWeb2?

Edit: Pretty sure it is IcingaWeb2 as this module is made by you :-).

HenriWahl avatar Aug 14 '22 17:08 HenriWahl

Indeed. But I am not an author of the library myself - do you suspect it's the culprit?

ser avatar Aug 15 '22 07:08 ser

@ser no, I found the problem-indicating-flag tls_error could easily be reset as it will be set again if there is really a problem. Can you ty the latest 3.9-20220815 version which contains this attempt?

HenriWahl avatar Aug 15 '22 09:08 HenriWahl

Installed. Will be reporting if problem re-appears. Thanks :)

ser avatar Aug 15 '22 09:08 ser