I found a fix for this issue.

A line in the config was not liked by the wonder adaptor. In 
/ets/apache2/sites-available/default-ssl:

        SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire

On our test platform, were everything worked, this was commented-out.  So the 
problem, described below, was resolved once I commented-out this line on our 
production server.

I have a suspicion  that the problem is with ExportCertData because it sends 
more data, about the certificate, into the module.  Not sure though.

One thing to be aware of is that when you do think you have identical software 
versions installed, like apache2, the config files are not identical. Both my 
test server and the production server were running the version below but the 
config files are different:

        Server version: Apache/2.2.14 (Ubuntu)
        Server built:   Mar  5 2012 16:44:01

Anyways, one less item on the list...

On Jul 12, 2012, at 12:22 PM, Klaus Berkling wrote:

> Hi All.
> 
> Some of you might remember me writing about this issue during WOWODC.  I'm 
> restarting the thread because I still can't find a solution.  I get the 
> following error when making https requests to one of our apps (no problem 
> with static html pages):
> 
> "Did not receive any response from application. It is possible that the 
> application does not exist, or that the requested url is incorrect."
> 
> This does not happen on Mac OS X, same WO app:
> Ubuntu: https://cn2.records.dyned.com/cgi-bin/WebObjects/LMSService
> Mac: https://am1.records.dyned.com/cgi-bin/WebObjects/LMSService
> 
> I tried three different adaptors:
> - Old DynEd Adaptor with modification from us (virtual hosts additions)
> - Old Wonder Adaptor as built for CentOS from 
> http://wocommunity.org/documents/tools/mod_WebObjects/Apache2.2
> - New Wonder Adaptor built from source (I downloaded the source from the 
> Wonder repository and built it as-is on our Ubuntu build server)
> 
> With all adaptors our app shows this error:
> 
> Jul 13 01:40:13 LMSService[2042] WARN  NSLog  - <WOWorkerThread id=8 
> socket=Socket[addr=/10.0.0.10,port=35046,localport=2042]> Exception while 
> sending response: java.net.SocketException: Broken pipe
> 
> Using the Old DynEd Adaptor and New Wonder Adaptor apache writes this error 
> to the error log:
> 
> [Fri Jul 13 00:51:03 2012] [error] sendBuffers(): send error: Bad address
> [Fri Jul 13 00:51:03 2012] [error] error sending request
> [Fri Jul 13 00:51:03 2012] [error] Failed to send request
> [Fri Jul 13 00:51:03 2012] [error] Request handling error: Did not receive 
> any response from application. It is possible that the application does not 
> exist, or that the requested url is incorrect.
> 
> Using the Old Wonder Adaptor apache does not write any errors to the error log
> 
> It looks like the apache child process does not crash.  It also looks like 
> the adaptor is catching an error that severs the connection to the app 
> instance.
> 
> The errors above show up in the Adaptors source:
> 
> "sendBuffers(): send error: " - Adaptor/nbssocket.c, Line 501
> "error sending request" - Adaptor/request.c, Line 280
> "Failed to send request" - Adaptor/transaction.c, Line 591
> "Request handling error: " - Adaptor/transaction.c, Line 727
> 
> My experience in the adaptor source code is very limited. Does anyone have 
> any ideas or pointers?
> Next up, debugging an apache module...
> 
> Thanks in advanced.
> 
> 
> kib
> 
> "The trouble with normal is it always gets worse."
> Bruce Cockburn
> 
> Klaus Berkling
> Web Application Dev. & Systems Analyst
> DynEd International, Inc.
> www.dyned.com
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/kberkling%40dyned.com
> 
> This email sent to kberkl...@dyned.com


kib

"Success is not final, failure is not fatal: it is the courage to continue that 
counts."
Winston Churchill

Klaus Berkling
Web Application Dev. & Systems Administrator
DynEd International, Inc.
www.dyned.com | blog




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to