Solved

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

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
logging jar 1 105
WebLogic 12c - "Unexpected CryptoAPI failure" 9 265
multithreading example 7 119
Hosting application in Apache and Tomcat 1 80
-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now