url request problem

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
leoneri
Posts: 12
Joined: Thu Apr 13, 2006 12:38 am

url request problem

Post by leoneri »

Hello again,
I have problems with all my url request tests. Before ver 5.92, I use ver 4.86 and before I upgrade to 5.92, all of url request tests works fine. But now, all the tests gives no answer status. What is wrong?

Here are some examples of my url request setting:
-----------------------------------------------------------------------------------------------
Example 1
-----------------------------------------------------------------------------------------------
Test method: URL request
URL: http://domain%5Cusername:password@myser ... rvice_name
Timeout: 5 sec

Advance setting:
URL: same as above
[X] Password protected page
User name: domain%5Cusername
Password: password
Service: HTTP
Server: myserver
Port: 80
Path/File: service_name
[X]HTTP/HTTPS: Code 302 (redirect) is Ok
------------------------------------------------------------------------------------------------
*the %5C at domain%5Cusername come when I write the user name like this: domain\username
------------------------------------------------------------------------------------------------
Example 2
------------------------------------------------------------------------------------------------
Test method: URL request
URL: http://myserver/File/Login.aspx?ReturnU ... fault.aspx
Timeout: use default Windows time-outs

Advance setting:
URL: http://myserver:80/File/Login.aspx?Retu ... fault.aspx
Service: HTTP
Server: myserver
Port: 80
Path/File: File/Login.aspx?ReturnUrl=%2ffolder%2fDefault.aspx
[X]HTTP/HTTPS: Code 302 (redirect) is Ok
------------------------------------------------------------------------------------------------
RCC ver: 1.24
OS : Windows 2003 server
AHM runs as service, all setting done by using RCC. And one more thing, everytime I create a URL request test, there is always a window pop-up telling "rcc: not implemented yet". I this mean I can't create a URL request test using rcc? When I still use ver 4.86, the URL request test were created remotely using mstsc from Windows XP and all tests are working fine...

Please help..

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

Re: url request problem

Post by KS-Soft Europe »

leoneri wrote:I have problems with all my url request tests.
Do you have problems with old tests only? If you create new URL test, will it lead to the same problem too? Could you create new URL test with the same parameters and check the status? Could you edit one of the old URL test and retype username/password?
leoneri wrote:*the %5C at domain%5Cusername come when I write the user name like this: domain\username
I't's alright. HM uses URL decoded string format to send URL request.
leoneri wrote:And one more thing, everytime I create a URL request test, there is always a window pop-up telling "rcc: not implemented yet".
Don't worry about this message, its annoying but it should not lead to any problem (message caused by "Autosave" option). Fixed in version 6.00.

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

Post by KS-Soft »

Can we access your web server for testing?

Regards
Alex
leoneri
Posts: 12
Joined: Thu Apr 13, 2006 12:38 am

Post by leoneri »

Ok, it seems like I have a way to make my first problem e.g. creating URL request, solved. But it bring new problem and questions. But first, let me describe the background first.

1. What we want to monitor is some web applications. All scatter on many different servers but could be accessed from one web server e.g. intranet server by redirecting the url from the intranet server to the specific server that host the application. So, there will be two way to access the application,
a. by access it through the intranet server
b. access it directly to the server that host the application

2. All of AHM setting and creating testlist are done remotely using rcc. Beside url request, I also use AHM to do ping, database, and service test

Now I will respond for your reply:
Max wrote:Do you have problems with old tests only? If you create new URL test, will it lead to the same problem too? Could you create new URL test with the same parameters and check the status? Could you edit one of the old URL test and retype username/password?
Ok, now this is where the confusion start. I try some steps in sequence.
1. I use old testlist, and all are have problem.
2. I create new tests with the same parameter as the old one, and some work some doesn't.
3. I use mstsc to find out whether it'll work and surprisingly all url request tests are work.
4. New problem come because when I use mstsc all my service tests are give unknown status :(

so I take conclusion that it seems like the problem was on rcc, because when I use mstsc all url request test are working fine while rcc shows some unstability... but this is arising new problem e.g. the unknown status service tests because when I re-check, all the services on our servers are working fine.
What should I do now? Because I need all the tests.
Alex wrote:Can we access your web server for testing?
Hmm... I think you can't because the web server is intranet server. So it can't be accessed from outside.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

leoneri wrote:1. I use old testlist, and all are have problem.
2. I create new tests with the same parameter as the old one, and some work some doesn't.
3. I use mstsc to find out whether it'll work and surprisingly all url request tests are work.
Realy surprisingly. We cannot reproduce such problem with RCC.
leoneri wrote:4. New problem come because when I use mstsc all my service tests are give unknown status :(
I suppose, service test show unknown status, because user account you are logged in thru terminal service does not have necessary(admin) rights to check services. Try to login using admin account. Is it possible?

As you mentioned in previous post, HM is running on Windows 2003 server and you are using RCC on a Windows XP box, did you? Have you installed SP1 on Win2003 box and SP2 on XP box? It's important because Microsoft has fixed huge amount of bugs in those service packs.

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

Post by KS-Soft »

so I take conclusion that it seems like the problem was on rcc, because when I use mstsc all url request test are working fine while rcc shows some unstability...
RCC is just interface to HostMonitor, it does not perform any tests. So, if RCC shows "unknown" status for some test item, this means HostMonitor cannot perform this test.

When you say "when I use mstsc" this means you have stopped HostMonitor that was started as service and you are starting another instance of HostMonitor in application mode, right? And probably you are using account different from account that has been specified for service?
New problem come because when I use mstsc all my service tests are give unknown status
If HostMonitor cannot perform Service test, it should display error message in Reply field of the test. What exactly error do you see?

Regards
Alex
leoneri
Posts: 12
Joined: Thu Apr 13, 2006 12:38 am

Post by leoneri »

Max wrote:Try to login using admin account. Is it possible?
Alex wrote:And probably you are using account different from account that has been specified for service?
To connect to the AHM server using mstsc, I'm using local administrator account, and AHM service log on using local system account.
Max wrote:As you mentioned in previous post, HM is running on Windows 2003 server and you are using RCC on a Windows XP box, did you? Have you installed SP1 on Win2003 box and SP2 on XP box?
Yap, exactly right, and the XP is SP2 and Win2003 is SP1.
Alex wrote:When you say "when I use mstsc" this means you have stopped HostMonitor that was started as service and you are starting another instance of HostMonitor in application mode, right?
No, when I starting 2nd instance of AHM in application mode, I didn't stop the 1st that run as service. Is this the cause?
Alex wrote:What exactly error do you see?
Win32 error #5 and Win32 error #1722

And one more thing, I found something little annoying..as I wrote my username and password for url test, both the username and password are shown in plain on the url that I want to test. The problem is, the account to access the web page is account from the domain. So my private account on the domain are really shown and visible to anyone who also have privilige as the AHM administrator. In here the people that have access to AHM is more then one person. Is there any way to fix that?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

leoneri wrote:No, when I starting 2nd instance of AHM in application mode, I didn't stop the 1st that run as service. Is this the cause?
Yes, it might lead to problems.
leoneri wrote:
Alex wrote:What exactly error do you see?
Win32 error #5 and Win32 error #1722
According to Microsoft manuals:
- Error 5 means "Access is denied"
- Error 1722 means "The RPC server is unavailable"

It means, when you are trying to check services on remote machine, your local admin account does not have necessary right to connect to remote host. As you know, when you start 2nd instance of HM, it is running under account you are logged in (by mstsc in that case).
leoneri wrote:And one more thing, I found something little annoying..as I wrote my username and password for url test, both the username and password are shown in plain on the url that I want to test.
Yes, really not much secure... Ok. We are thinking about it.

Regards,
Max
leoneri
Posts: 12
Joined: Thu Apr 13, 2006 12:38 am

Post by leoneri »

I also have try another means. I install AHM on another computer which I can control physically without using remote tools. And I cannot produce similar problems as I faced when I'm using remote desktop tools or rcc. Well firstly I got the same problem, till I increment the timeout to 240sec, and everything is fine.

I get a feeling that the problem arose because of the server, not the AHM. That mean the problems point to the hardware. Maybe the server is already handle too much processess at the same time. Do you think the same as I do?

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

Post by KS-Soft Europe »

leoneri wrote:I install AHM on another computer which I can control physically without using remote tools. And I cannot produce similar problems as I faced when I'm using remote desktop tools or rcc.
Glad to hear it ;-)
leoneri wrote:Well firstly I got the same problem, till I increment the timeout to 240sec, and everything is fine.
Looks like your network is quite busy...
leoneri wrote:Maybe the server is already handle too much processess at the same time. Do you think the same as I do?
It might be an issue. Windows does not work stable if total handle usage (by all processes) is over 12,000. Huge amount of GDI and User objects also could lead to problem.

Regards,
Max
Post Reply