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
Solved

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

Posted on 2006-07-13
4
1,840 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
  • 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

792 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