KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Problem with URL request method and manual Timeout

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports
View previous topic :: View next topic  
Author Message
mp1



Joined: 07 Mar 2006
Posts: 192

PostPosted: Wed May 26, 2010 8:22 am    Post subject: Problem with URL request method and manual Timeout Reply with quote

Hi,

We have some problems with the URL request method, when we set the timeout manually to f.e. 10 sec.

We then get a "no answer" although the website is reachable, when we use the default Windows time-outs, than we have no problems - by the way: What are the default windows timeouts?

A similar problem we have with the telnet connections tests to TCP 80.

Do you have any idea?

We are using Windows 2003 SP2, HM 8.58

Thanks in advance

Martin
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 10943
Location: USA

PostPosted: Wed May 26, 2010 10:34 am    Post subject: Reply with quote

May be your web site does not respond within 10 sec?
Can you provide URL for testing?

Quote:
What are the default windows timeouts?

Its not easy to find such information regarding wininet (it is used for URL tests). Microsoft keeps secrets
Should be some registry key... E.g. TCP/IP setting located under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
May be the same settings are used for wininet functions

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mp1



Joined: 07 Mar 2006
Posts: 192

PostPosted: Thu May 27, 2010 12:07 am    Post subject: Reply with quote

Hi Alex,

Quote:
May be your web site does not respond within 10 sec?
Can you provide URL for testing?


As I wrote, we don't have any problems, when we use the default windows timeout, we had only a strange problem, that the test was hanging by the status checking for several minutes, although the webserver was down, so we didn't get an alert?
Therefore I tried to set the timeout to f.e. 10 sec.

I will send you the URL for testing by mail.

Best regards,

Martin
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 10943
Location: USA

PostPosted: Thu May 27, 2010 6:26 am    Post subject: Reply with quote

I am confused.
In 1st post you said "although the website is reachable", now you are saying "although the webserver was down".
So its was down or it was reachable?

If server was reachable, default timeout could work because default timeout is over 10 sec, its about 60 or 300 sec.
So I do not see any problem here. And this is definitely is not our bug.

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 10943
Location: USA

PostPosted: Thu May 27, 2010 6:55 am    Post subject: Reply with quote

PS
We tested URL. Looks like your web server provides web page within 18-20 sec. That's why HostMonitor sets "No answer" status when you use shorter timeout (10 sec).
Everything works fine

Regards
Alex
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index