[Bug] HTTP(S) test - IgnoreUnknCA= Yes is ignored

When you post information about some problem, please include the following details: - OS version (e.g. Windows 2000 Professional SP3); HostMonitor version; problem description.
Post Reply
rasc
Posts: 95
Joined: Sun Oct 11, 2009 8:25 am

[Bug] HTTP(S) test - IgnoreUnknCA= Yes is ignored

Post by rasc »

Hi,

the following test (as well as many others I tested with certificate errors on the web site) gives error
---------------------------
HostMonitor
---------------------------
Error: cannot retrieve data from URL: https://nyt.com:443/
---------------------------
OK
---------------------------

whereas it shouldn't because you can view that site with a browser and I configured IgnoreUnknCA= Yes. I checked with an old HM 8.60 and HM 8.82.


Please fix.


;-----------------------------------------------------------------------------
;- HostMonitor`s export/import file -
;- Generated by HostMonitor 8.82 at 27.10.2011 13:20:35 -
;- Source file: C:\Program Files\HostMonitor8\test.hml -
;- Generation mode: Selected_Tests -
;-----------------------------------------------------------------------------


; ------- Test #01 -------


Method = Url
;--- Common properties ---
;DestFolder = Root\
Title = SSL-VPN
Disabled = Yes
Comment = https://nyt.com:443/
RelatedURL =
CmntPattern = %path%
ScheduleMode= Regular
Schedule =
Interval = 60
Alerts = Alert1
ReverseAlert= No
UnknownIsBad= No
WarningIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
SyncCounters= Yes
SyncAlerts = No
DependsOn = list
;--- Test specific properties ---
URL = https://nyt.com/
UrlUseMacros= No
is302ok = Yes
IgnoreUnknCA= Yes
CRC = 123456789
ResetCRC = No
UseFrames = No
UseImages = No

;-----------------------------------------------------------------------------
; Exported 1 items
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

As usually - nothing to fix :)
Your server returns HTTP code 301. That's why test status is "Bad".

It redirects you to http://nyt.com so you may check this URL.

Regards
Alex
rasc
Posts: 95
Joined: Sun Oct 11, 2009 8:25 am

Post by rasc »

Well, I think there is something "to fix".

The idea of that test is to check if a page has changed. So I should be able to check the CRC of what is given back. That way I would be notified as soon as the webmaster exchanged that 301 for [whatever].

See it that way: I don't want to debug SSL encrypted traffic but to ensure I get informed if the server gives a different reply.


Thank you.

P.S. I would need to setup a debug environment with a sniffer, ssltunnel, HM, etc just to know why HM refuses to do what I'm asking it to do. Thats's pretty much effort, don't you think? And are all HM-Admins network engineers?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Well, I think there is something "to fix".
I cannot agree.
That way I would be notified as soon as the webmaster exchanged that 301 for [whatever]
I do not see any problem here. If you want to set Ok status for some "bad" HTTP codes, use Optional Status Processing options.
E.g. you may set [Use Normal status if '%httpcode%'=='301'] option
I would need to setup a debug environment with a sniffer, ssltunnel, HM, etc just to know why HM refuses to do what I'm asking it to do. Thats's pretty much effort, don't you think?
sniffer, ssltunnel? What for?
We already checked your web site and I told you why HostMonitor sets Bad status. You do not trust us?

Regards
Alex
Post Reply