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:
I tried three different adaptors:
- Old DynEd Adaptor with modification from us (virtual hosts additions)
- 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
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.