Registered users    
MembershipMembership:
Latest New UserLatest:Michael Battaglia
New TodayNew Today:10
New YesterdayNew Yesterday:12
User CountOverall:23326

Private messaging    
You must be logged in to use this module.
Top 10 posters    
NamePosts
Mariette Knap12894
Marina Roos12507
Eriq Neale2114
Stan Guinn1913
Michael Patrick1912
Robert Pearman1771
Nick Pieters1425
Stewart Brown616
william warren601
Kevin D.579
Welcome unauthorized visitor    
If you want to join us in the discussions on this forum you need to register first. Registration is free! If you are already a registered user please login to join the forum.
Small Business Server Support Forum    
Subject: The size of the response header is too large..
Prev Next
You are not authorized to post a reply.

Author Messages
David Seavy User is Offline
United States
Member since
5/22/2005

Platinum Membership
Posts: 15

5/28/2008 08:23 PM  
SBS 2003 SP2 Premium with ISA 2004; has been running for over a year.
Customer is accessing a site and filling in a form.  During process of paging through form, gets this:

Technical Information (for support personnel)

• Error Code: 502 Proxy Error. The size of the response header Is too

  large. Contact your ISA Server administrator. (12216)

• IP Addr : xxx.xxx.xxx.xxx

• Date: 5/ 7/2008 4:25:13 PM

• Server: xxxxx.xxxx.local

• Source: proxy
 
Any suggestions would be appreciated.
Thanks,
David
Mariette Knap User is Offline
The Netherlands
Member since
3/24/2005

Forum Admins
Posts: 12894

5/28/2008 08:28 PM  
David,
 
Check the following registry settings:
 
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3Proxy\Parameters]
"MaxRequestHeadersSize"=dword:00032000
"MaxResponseHeadersSize"=dword:00032000
 
You may increase those settings if needed. As always be very careful with editing your registry. If you fail you may need to reinstall your server. Changing those settings require a restart of the ISA server services or a reboot.

Mariëtte Knap Smallbizserver.Net AdministratorMission accomplished. We have joined the branch office to our SBS 2003 Headquarters and have the same user experience on the branch office as we have on our local  network at the Headquarters. Want to know how? Signup up for a subscription and get instant access to the article series 'How to add an additional Domain Controller from a remote office to the SBS domain'
David Seavy User is Offline
United States
Member since
5/22/2005

Platinum Membership
Posts: 15

5/30/2008 05:07 PM  
Mariette,
Thanks for the quick reply.
I applied the registry change, but I still have the same problem.
If I turn on monitoring in ISA Server Management, I get the following:

Failed Connection Attempt [ServerName] 5/30/2008 10:51:35 AM
Log type: Web Proxy (Forward)
Status: 12216 The size of the response header is too large. Contact your ISA Server administrator.
Rule: SBS Internet Access Rule
Source: Internal ( 192.168.16.22:0)
Destination: External ( 63.112.169.162:80)
Request: GET http://hiring.monster.com/jobs/JobInformation.aspx?edit=true&folderID=59058481&post=true
Filter information: Req ID: 1a407dda
Protocol: http
User: SEC\[UserName]
Additional information
Client agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Object source: Internet Processing time: 1937
Cache info: 0x2020000 MIME type:

I also found the following while researching this problem:

Open the gui - right-click the outbound rule that allows http
Select configure http
On the general tab you can amend the request headers size etc

But this seems to only relate to the REQUEST headers size, not the RESPONSE headers size. I changed it anyway, but it didn't help either.

Any help would be appreciated.
Thanks,
David
Marina Roos User is Offline
The Netherlands
Member since
3/24/2005

Forum Admins
Posts: 12507

6/01/2008 11:41 PM  
Hi David,
 
Did you restart the web proxy service?

Marina Roos Smallbizserver.Net AdministratorMission accomplished. We have joined the branch office to our SBS 2003 Headquarters and have the same user experience on the branch office as we have on our local  network at the Headquarters. Want to know how? Signup up for a subscription and get instant access to the article series 'How to add an additional Domain Controller from a remote office to the SBS domain'
David Seavy User is Offline
United States
Member since
5/22/2005

Platinum Membership
Posts: 15

6/02/2008 03:42 PM  
Yes.  An then to make sure I didn't miss any service I should have restarted, I rebooted the server.
While we're on the subject, which services need to be restarted to completely restart ISA?
 
David Seavy User is Offline
United States
Member since
5/22/2005

Platinum Membership
Posts: 15

6/04/2008 07:21 PM  
I finally called Microsoft and opened a case.  After a couple of days of trying this and that, MS provided a fix and the following (paraphased) information:
1.  The registry patch shown above IS FOR ISA 2000 ONLY.
2.  In ISA 2000 the web proxy service and Firewall service are two separate service .  In ISA 2004 it is just one service.
3.  There were drastic registry changes made in ISA 2004. Most importantly for this issue, the above two registry values were moved from the registry to ISA COM.
4.  There is a object available through which you can set the MaxResponseHeadersSize value in ISA.  The following two links provide background information:
               http://msdn.microsoft.com/en-us/library/ms826257.aspx
 
MS also provide the following script to set the MaxResponseHeadersSize.  I followed their instructions and the problem was resolved. 

' Create the root object.

Dim root  ' The FPCLib.FPC root object

Set root = CreateObject("FPC.Root")

 

' Declare the other objects needed.

Dim isaArray     ' An FPCArray object

Dim webProxy     ' An FPCWebProxy object

Dim restartMask  ' A 32-bit bitmask of type FpcServices

 

' Get references to the array object

' and the Web proxy object.

Set isaArray = root.GetContainingArray()

Set webProxy = isaArray.ArrayPolicy.WebProxy

 

webProxy.MaxResponseHeadersSize = 64000

restartMask = webProxy.GetServiceRestartMask

webProxy.Save

 

' Restart the Firewall service so that

' the change will take effect.

isaArray.RestartServices restartMask

 

Save the file as test.vbs in C drive(Just an example)

Go to the location through command prompt type c:\cscript test.vbs

This script automatically restarts your ISA server.  

Marina Roos User is Offline
The Netherlands
Member since
3/24/2005

Forum Admins
Posts: 12507

6/05/2008 04:44 PM  
Hi David,
 
Glad you have got it resolved and thanks for sharing the solution!

Marina Roos Smallbizserver.Net AdministratorMission accomplished. We have joined the branch office to our SBS 2003 Headquarters and have the same user experience on the branch office as we have on our local  network at the Headquarters. Want to know how? Signup up for a subscription and get instant access to the article series 'How to add an additional Domain Controller from a remote office to the SBS domain'
You are not authorized to post a reply.
Forums > Microsoft Small Business Server 2003 & 2000 > ISA Server 2004 > The size of the response header is too large..



ActiveForums 3.7
Forum policy    
These Discussion Forums are dedicated to the discussion of the Small Business Server and related server and client software. For the benefit of the community please observe the following posting guidelines:
  1. No Advertising. This includes promotion of commercial products and non-commercial products which are not directly related to Small Business Server and related server and client software.
  2. No Flaming or Trolling.
  3. No Profanity, Racism, or Prejudice.
  4. Site Moderators have the final word on approving/removing a thread or post or comment.