Solved

Users cannot get to Websphere hosted pages via IIS 6 - Could not write headers error.

Posted on 2006-07-13
4
1,845 Views
Last Modified: 2013-12-11
Hi,
We have IIS 6 on the same server as Websphere 5.0.2.5 along with the generated plugin.  I enabled trace logging and monitored a page request.  Everything seems ok except the following error message shows up in the http_plugin.log file when a page is requested.

[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: ESI: esiResponseCreate: no Surrogate-Control header found
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: ESI: esiResponseCreate: bypassing ESI
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: ESI: esiResponseGet: success
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: ESI: esiResponsePassThru
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: iis_plugin: cb_write_headers: In the write headers callback
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: iis_plugin: getServerVariable: Getting server variable: SERVER_PROTOCOL
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - WARNING: iis_plugin: cb_write_headers: Could not write headers, OS err: 10054
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - ERROR: ESI: esiResponsePassThru: failed to write headers: rc = 7
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: ESI: esiRequestUrlStackDestroy

I have searched the web for the "failed to write headers" error but can not find a solution!  I am fairly certain that IIS is configured properly, could this be a security setting?  I have been down that road quite often also....

Thanks...
0
Comment
Question by:threed45
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
Waswiz earned 500 total points
ID: 17210636
This is some what long shot but it might just help you.

See the errors:

[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - TRACE: iis_plugin: getServerVariable: Getting server variable: SERVER_PROTOCOL
[Thu Jul 13 13:35:48 2006] 000006fc 00001448 - WARNING: iis_plugin: cb_write_headers: Could not write headers, OS err: 10054

I think there was error when the WebSphere plugin calls "getServerVariable" , the header variable used is "SERVER_PROTOCOL"

I remember we had similar problem with IIS integration with other products. As far as I can remember IIS can be configured to name these variables with underscore and without underscore say for example "SERVERPROTOCOL" as against "SERVER_PROTOCOL".

Use any http tracing tool and check the headers and I guess there is a header name mismatch.

We definitely had this issue before and vendor gave a fix so that it checks for both.

Hope this helps.
0
 
LVL 5

Expert Comment

by:Waswiz
ID: 17621778
We have had exact similar problem and we had fixed it using the solution I suggested.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

Title # Comments Views Activity
New Website 15 33
Webserver Error 4 41
java.util.concurrent.Callable way of creating threads 2 112
Could you point what else is needed to start Tomcat server with success? 9 87
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…

749 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