Solved

Website doesn't load on first request.

Posted on 2011-02-22
4
639 Views
Last Modified: 2012-05-11
I'm going totally nuts here and I really need you help! … Please :)

When I first connect to my website, browser just spins and never loads the website. This is in the TMG log:

Time: 21:51:26
Protocol: HTTPS
Action: Initiated Connection

Time: 21:51:29
Protocol: HTTPS
Action: Closed Connection

So in 3ms it closes the connection.


If I a couple of seconds after try again, webpage loads perfectly and I get this in TMG log:

Time: 22:11:33
Protocol: HTTPS
Action: Initiated Connection

Time: 22:11:33
Protocol: HTTPS
Action: Allowed Connection
Rule: Publish HTTPS sites


So first request fails and subsequent requests are fine … but if I leave the website for like 30 minutes and go back, the problem starts all over.

On my website I've set this:  "Idle time-out" to 0 and Recycling "Regular time interval" to 0.

I only see this on my HTTPS sites … all my HTTP sites are working perfectly.

My servers:
All my servers are running Win2008R2x64 and all windows update has been applied.
I have three servers:
* DC1 (the domain controller / sql / file)
* EXCHANGE1 (Exchange server)
* TMG1 (TMG server)

Any idea?

Thanks!

:)
Mojo

 
0
Comment
Question by:M_O_J_O
  • 3
4 Comments
 
LVL 15

Expert Comment

by:pcsmitpra
ID: 34960026
You need to to enable the HTTP keep-alive response header  , Steps are :
> Open IIS -> In Features View, double-click HTTP Response Headers
-> On the HTTP Response Headers page, in the Actions  pane ->  click Set Common Headers
-> In the Set Common HTTP Response Headers dialog box
-> select the Enable HTTP keep-alive check box
-> click OK
This is the only requirement,  Hope this will help you.
0
 

Author Comment

by:M_O_J_O
ID: 34960064
Hi,

Thank you for your answer.

They are already enabled.

:(

Thanks anyway.

Mojo
0
 

Accepted Solution

by:
M_O_J_O earned 0 total points
ID: 34979707
0
 

Author Closing Comment

by:M_O_J_O
ID: 35015409
Because I solved it myself.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question