View previous topic :: View next topic |
Author |
Message |
rasc
Joined: 11 Oct 2009 Posts: 95
|
Posted: Thu Oct 27, 2011 5:34 am Post subject: [Bug] HTTP(S) test - IgnoreUnknCA= Yes is ignored |
|
|
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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Thu Oct 27, 2011 5:52 am Post subject: |
|
|
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 |
|
Back to top |
|
|
rasc
Joined: 11 Oct 2009 Posts: 95
|
Posted: Thu Oct 27, 2011 6:13 am Post subject: |
|
|
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? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Thu Oct 27, 2011 6:37 am Post subject: |
|
|
Quote: | Well, I think there is something "to fix". |
I cannot agree.
Quote: | 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
Quote: | 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 |
|
Back to top |
|
|
|