• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Adaptor problem with SSL on Ubuntu
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adaptor problem with SSL on Ubuntu


  • Subject: Adaptor problem with SSL on Ubuntu
  • From: Klaus Berkling <email@hidden>
  • Date: Thu, 12 Jul 2012 12:22:56 -0700

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Adaptor problem with SSL on Ubuntu [SOLVED]
      • From: Klaus Berkling <email@hidden>
    • Re: Adaptor problem with SSL on Ubuntu
      • From: Klaus Berkling <email@hidden>
    • Re: Adaptor problem with SSL on Ubuntu
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Migrating from EOF to Cayenne
  • Next by Date: Re: Migrating from EOF to Cayenne
  • Previous by thread: Re: Problem EOEditingContext
  • Next by thread: Re: Adaptor problem with SSL on Ubuntu
  • Index(es):
    • Date
    • Thread