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

Issue with URL Testing of proxy autoconfig
Goto page Previous  1, 2
 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
KS-Soft



Joined: 03 Apr 2002
Posts: 12807
Location: USA

PostPosted: Thu Mar 22, 2012 10:57 am    Post subject: Reply with quote

Quote:
Interestingly, when I execute the test locally (on the Hostmonitor system) I see the "/". Should I be seeing this?

Depends on test settings.
HostMonitor/RMA can use different Windows API depending on options used for the test. In one case we cannot modify request at all, in other case we can play with request a little bit.
E.g. you may mark "password protected page" option and specify any username, this will tell HostMonitor to use 2nd scheme...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
TPK



Joined: 21 Mar 2012
Posts: 13

PostPosted: Thu Mar 22, 2012 11:23 am    Post subject: Reply with quote

Unfortunately I am still seeing this on the Hostmonitor system, as well as the RMA - I applied the RMA update.

Here is what I see in Wireshark (I sanitized the IP addresses and domain names):

10.10.10.10 192.68.1.1 GET /http://proxy.abc.com:8000 HTTP/1.1
192.168.1.1 10.10.10.10 HTTP/1.1 400 Bad Request (text/html)

Here is how I have the URL test defined:
Test By=Hostmonitor/RMA (no difference/I have captured on both)
Service=HTTP
Server=192.168.1.1 (sanitized)
Port=8000
Path/File=http://proxy.abc.com:8000 (auto config script/as entered in IE).

Is there something that I should change?

Thanks,
Tom[/img]
Back to top
View user's profile Send private message
TPK



Joined: 21 Mar 2012
Posts: 13

PostPosted: Thu Mar 22, 2012 12:01 pm    Post subject: Reply with quote

Tried the Password Protected Option. Unfortunately, no luck.

I was trying to mess around with trying to set up a TCP connection test, but I can't seem the formulate the request properly and this would seem to be pretty cumbersome. Additionally, I want to get the reply time so that I can track performance. I think that this may be a dead end.

I can get CURL to work (pass it proxy and URL). This works as an external program, but I am not quite sure how to wrap it in an active script, such that I could return the response time and not just an errorlevel.

Thanks,
Tom
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12807
Location: USA

PostPosted: Thu Mar 22, 2012 2:11 pm    Post subject: Reply with quote

Yeah, looks like IE API inserts slash regardless of way used to parse URL and regardless of used options
We are checking MS manuals again but may be this cannot be fixed...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
TPK



Joined: 21 Mar 2012
Posts: 13

PostPosted: Thu Mar 22, 2012 3:37 pm    Post subject: Reply with quote

Thanks Alex. I appreciate it.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12807
Location: USA

PostPosted: Tue Mar 27, 2012 12:39 pm    Post subject: Reply with quote

Looks like this has to be done without using IE API (thru HTTP test)...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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