URL Request HTTP/1.1

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
BillB
Posts: 20
Joined: Tue Jan 22, 2008 10:52 am

URL Request HTTP/1.1

Post by BillB »

Is there any way to have the URL test use HTTP 1.1 as we have a couple sites that will not test properly through HTTP 1.0.

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

Post by KS-Soft Europe »

Have you faced any problems using "URL" test method? What exact problem have you faced? Actually, "URL" test method should use HTTP/1.1 by default.

Regards,
Max
BillB
Posts: 20
Joined: Tue Jan 22, 2008 10:52 am

Post by BillB »

A packet trace shows the GET request as HTTP/1.0. The custom header works as it should. These requests as HTTP 1.0 have issues with some of our sites directly and any sites tested through our web accellerator (it only supports HTTP 1.1)

GET /Pages/Default.aspx HTTP/1.0
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: site.server.com
Connection: Keep-Alive
Cookie: BigIP_Cookie=2341607079Pragma: no-cache
Authorization: NTLM
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

HostMonitor uses Windows wininet.dll that should send HTTP/1.1 requests by default. We just tested HostMonitor on our systems, our systems use HTTP/1.1.

Could you please provide more information?
- HostMonitor version?
- Windows?
- Service Pack?
- Internet Explorer?
- May we see test settings? you may export test settings into text file using menu File -> Export to text file
- What option have use selected on Connection (Access method) page in the Options dialog?

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

Post by KS-Soft »

May be you just disabled "Use HTTP 1.1" option provided by Internet Explorer (Tools -> Internet Options -> Advanced -> Use HTTP 1.1)?

Regards
Alex
BillB
Posts: 20
Joined: Tue Jan 22, 2008 10:52 am

Post by BillB »

;-----------------------------------------------------------------------------
;- HostMonitor`s export/import file -
;- Generated by HostMonitor at 11/18/2008 3:54:58 PM -
;- Source file: c:\company.hml -
;- Generation mode: Selected_Tests -
;-----------------------------------------------------------------------------


; ------- Test #01 -------


Method = Url
;--- Common properties ---
;DestFolder = Root\Corporate Applications\Web\Web Application\
Title = Web Application - FrontEnd - URL request
Disabled = Yes
Comment = FE Test^email@company.com
RelatedURL =
ScheduleMode= Regular
Schedule = Standard (With Maintenance)
Interval = 120
Alerts = Bill test
ReverseAlert= No
UnknownIsBad= Yes
WarningIsBad= Yes
UseCommonLog= No
PrivateLog = C:\swtest.dbf
PrivLogMode = Full
CommLogMode = Default
;--- Test specific properties ---
URL = http://server.company.com:80/Pages/Default.aspx
UrlUseMacros= No
is302ok = Yes
IgnoreUnknCA= Yes
Timeout = 90000
UseFrames = Yes
UseImages = No
CheckContents = contain
Expression = Quagmire
CaseSensitive = No
WholeWordsOnly= No
ExprUseMacros = No
OptHeaders = Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*^MAccept-Language: en-us^MUA-CPU: x86^MAccept-Encoding: gzip, deflate^MUser-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727)^MHost: server.company.com^MConnection: Keep-Alive

;-----------------------------------------------------------------------------
; Exported 1 items
BillB
Posts: 20
Joined: Tue Jan 22, 2008 10:52 am

Post by BillB »

HostMonitor: 7.50
Windows: 2003 Server SP2
InternetExplorer: 7.0.5730
URL Test Option: Mozilla/4.0 (compatible; MSIE 6.0)

Use HTTP 1.1 is enabled in Internet Explorer.

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

Post by KS-Soft »

We tested Internet Explorer 7.0.5730, Windows XP, Windows Server 2003
We cannot reproduce such behavior.

What option have use selected on Connection (Access method) page in the Options dialog?

You may use HTTP test instead of URL test. HTTP test uses our own code and does not depend on Windows wininet.dll

Regards
Alex
BillB
Posts: 20
Joined: Tue Jan 22, 2008 10:52 am

Post by BillB »

We used the option 'direct to net'.

Can the HTTP test use IWA (Integrated Windows Authentication)?

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

Post by KS-Soft »

No, it can't
What option have use selected on Connection (Access method) page in the Options dialog? May be you are using some proxy server that sends HTTP 1.0 request?
If not, can you install HostMonitor on different system?

Regards
Alex
BillB
Posts: 20
Joined: Tue Jan 22, 2008 10:52 am

Post by BillB »

We are not using any proxies, and I did install HM on another system (7.7b) I created the same test and it runs as HTTP 1.1

I was intrigued so I set HM up to run as a service and while running as a service the request is sent as HTTP 1.0

I hope this helps.

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

Post by KS-Soft »

Oh, service mode... I think you should change value of the following registry key
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings\EnableHttp1_1 from 0 to 1

Regards
Alex
BillB
Posts: 20
Joined: Tue Jan 22, 2008 10:52 am

Post by BillB »

Works like a charm.. Alex you rock as usual.

Thanks!
-B
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome :)

Regards
Alex
Post Reply