URL test failed, cause: "secure/nonsecure items - POPUP

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Daan
Posts: 9
Joined: Thu Oct 04, 2007 8:58 am

URL test failed, cause: "secure/nonsecure items - POPUP

Post by Daan »

Hi,

I'm using a URL check on a website and it fails (Checking......No answer). My guess it's because of the fact that before the website loads there is a pop up saying: "There are secure and nonsecure items on this website, do you want to display the nonsecure items?" And you have to click yes. Well KS-Hostmonitor can't click yes for me, so the test fails.
Anyone got an idea how to solve this and how I can succesfully test the website?

Thanks in advance.
Greets,
D
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Actually, HostMonitor ignores "There are secure and nonsecure items on this website, do you want to display the nonsecure items?" window, so I do not think it is a cause. Probably, your server requires clients certificates? Could you provide us the URL for testing?

Have you enabled the "Accept SSL/PCT certificates with invalid host name" and "Accept SSL/PCT certificates with invalid dates" options, located in "Options" -> "Miscellaneous" tab -> "Settings for the URL test" area?

Regards,
Max
Daan
Posts: 9
Joined: Thu Oct 04, 2007 8:58 am

Post by Daan »

Hi Max,

Thanks for your quick response! The options you suggested were already enabled. The URL we are trying to test is:

https://klanten.ns.nl:443/psp/ps/?cmd=login

Thanks,

Daan
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Hm. I have tried URL you specified and it works fine. I see "Host is alive" status. So, do you use "URL" test method or "HTTP" test method?
"URL" : http://www.ks-soft.net/hostmon.eng/mfra ... ts.htm#url
"HTTP" : http://www.ks-soft.net/hostmon.eng/mfra ... s.htm#http

"URL" test should work fine. "HTTP" test has not supported HTTPS protocol yet, so it should show you "No answer" status.

Could you provide more information, please?
- What version of HostMonitor do you use?
- What Windows do you use? Service Pack?
- Is HostMonitor started as a service or as an application?
- Do you have installed antivirus monitor? Personal firewall? Content monitoring software? Non-standard winsock components? Network packet analyzer?

Regards,
Max
Daan
Posts: 9
Joined: Thu Oct 04, 2007 8:58 am

Post by Daan »

Test method = URL request;
Hostmonitor version = 6.80;
Windows version: Windows server 2003 SP 2;
Hostmonitor started as: Service;
Antivirus monitor: No;
Personal firewall: No;
Content monitoring softwar: No;
Non-standard winsock components: No;
Network packet analyzer: No.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Have you tried to refresh the test manually (using "Refresh" button on the toolbar)? What account do you use to start HostMonitor's service? We recommend to use admin account. You may specify account for the HostMonitor's service using menu "Options" -> "Service" tab.

Could you export this particular test into text file using menu "File" -> "Export to test file" nd send it to support@ks-soft.net ?
Could you also send us hostmon.ini file from HostMonitor's folder?

Regards,
Max
Daan
Posts: 9
Joined: Thu Oct 04, 2007 8:58 am

Post by Daan »

Already refreshed the test several times, still the same. The local system account starts the HM's service. I send you the test file and the hostmon.ini file.

Regards,
Daan
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

As I see you have not specified any account on Service page in the Options dialog, so HostMonitor service is running under local system account. As a result HostMonitor should not be able to perform many other tests (Process, Service, CPU Usage, Performance Counter, NT Event Log, etc). It is be able to monitor local system only.
Quote from the manual
Note #1: When HostMonitor starts as a service, it uses the system account (as all interactive services). But this account may not have all the necessary permissions, so some tests will not work correctly (UNC test, "disk free space" test for shared drives, "CPU Usage" test for remote machines, etc). If you need these tests, you will need to assign a special user account on the Service page in the Options dialog. In this case HostMonitor will impersonate the security context of the user. Do not change the account using the system utility "Services". If you do so, HostMonitor may be unable to interact with the desktop.
...
Note: Do not change the account using the system utility "Services". If you do so, HostMonitor will not be able to interact with the desktop.
Regards
Alex
Daan
Posts: 9
Joined: Thu Oct 04, 2007 8:58 am

Solved!

Post by Daan »

Problem solved! Added a new user with administrator rights. Hostmonitor is now using that account. The test is giving a reply now: "Host is alive".

Thanks a lot for your help!!

Daan
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: Solved!

Post by KS-Soft Europe »

Daan wrote:Problem solved! Added a new user with administrator rights. Hostmonitor is now using that account. The test is giving a reply now: "Host is alive".
Glad to hear that!
Daan wrote:Thanks a lot for your help!!
You are welcome. :-)

Regards,
Max
Daan
Posts: 9
Joined: Thu Oct 04, 2007 8:58 am

URL Check still Checking.........No answer

Post by Daan »

Hi,

2 days ago the URL test gave a 'No answer', while HM running under the hostmon (admin) account. Refreshed the test, reply: 'Checking' and after a while 'No answer' again. I reset the password for the account, still getting a 'No answer'. I really don't get it, cause at first is was all working well when I changed the HM account into an admin account. Any idea how this could have happened?

Thanks in advance,

Regards.
Daan
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

I think, you may try to assign "Log on as service" privilege to the account, that is used to start HostMonitor service. You may do it using Local Security Policy applet (Start > Run > secpol.msc > Local Policies > User Right Assignment > Log on as a service).

Do not forget to restart HostMonitor service.

What about "https:accept certificates with invalid hostname" and https:accept certificates with invalid date" in "URL test properties" window? They are greyed out, right? When you click on them they become black and you can activate or disactivate them. Could you activate these option? Quote from the manual:
======================
By default these options are greyed out, this means HostMonitor should use global options specified on Misc page in the Options dialog. If you mark or unmark test options, these settings will override global options (for this specific test item only).
======================

Regards,
Max
Daan
Posts: 9
Joined: Thu Oct 04, 2007 8:58 am

Solved

Post by Daan »

Did it!

Host is alive again!

Thanks a lot for your help again.

Regards,

Daan
Post Reply