Solved

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

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do you get SOAP Header in Library call 4 141
Missing Plugin for Firefox - Can't View Content 7 188
DNS for website issue 9 127
Grunt No Clean Targets 6 306
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 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