Re: Adaptor problem with SSL on Ubuntu [SOLVED]
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 - 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
Re: Adaptor problem with SSL on Ubuntu
Greetings Klaus, That is great. I am kind of stuck with CentOS. I am still having to follow up on the little SELinux part to enable it to share its web site to the outside world. Apparently, the little line on the bottom of the wocommunity instructions does not get job done. It works from localhost, but not from outside the VM. In any case, when ever you get ready with a working copy of the Ubuntu version, what do you say we submit a version to the VMWare source forge? The idea is that everyone could get one, and I may have the recipe for Open Nebula with KVM, VMWare, and few other hypervisors.Between Open Nebula and Open Stack, those are two open source OCCI cloud implementations that a lot of the big clouds are based on. This could be useful, you think? V/R, Dan Beatty, Ph.D. Texas Tech University, Alumni dan.bea...@mac.com https://sites.google.com/site/allnightstarparty/home (806)438-6620 On Jul 12, 2012, at 1:09 PM, Chuck Hill wrote: > Hi Klaus, > > I can't add much. The problem is in the adaptor. I'd focus on the first > error "sendBuffers(): send error: Bad address" and consider the rest to be > symptoms. Other than adding some logging messages to the adaptor, I have no > ideas or pointers. > >> Next up, debugging an apache module... > > No-one's idea of a good time. > > Chuck > > > On 2012-07-12, 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 - > 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/chill%40global-village.net >> >> This email sent to ch...@global-village.net > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their overall > knowledge of WebObjects or who are trying to solve specific problems. > http://www.global-village.net/gvc/practical_webobjects > > > > > > > > > > ___ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsub
Re: Adaptor problem with SSL on Ubuntu
Le 2012-07-13 à 14:36, Klaus Berkling a écrit : > > On Jul 12, 2012, at 12:22 PM, Klaus Berkling wrote: > >> Next up, debugging an apache module... > > So I'm setting up an Ubuntu development environment to debug the adaptor > (whoo hoo). > > Kieran, I'm going to need that C book. :-) > > Should I use the integration or master branch? Is someone doing work on the > adaptor at the moment? Otherwise I probably makes no difference. integration have a couple of adaptor fixes that is not in master, so try integration first. ___ 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
Re: Adaptor problem with SSL on Ubuntu
On Jul 12, 2012, at 12:22 PM, Klaus Berkling wrote: > Next up, debugging an apache module... So I'm setting up an Ubuntu development environment to debug the adaptor (whoo hoo). Kieran, I'm going to need that C book. :-) Should I use the integration or master branch? Is someone doing work on the adaptor at the moment? Otherwise I probably makes no difference. Thanks. 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
Re: Adaptor problem with SSL on Ubuntu
On 2012-07-12, at 1:33 PM, Klaus Berkling wrote: > > On Jul 12, 2012, at 1:09 PM, Chuck Hill wrote: > >> I can't add much. The problem is in the adaptor. I'd focus on the first >> error "sendBuffers(): send error: Bad address" and consider the rest to be >> symptoms. Other than adding some logging messages to the adaptor, I have no >> ideas or pointers. >> >>> Next up, debugging an apache module... >> >> No-one's idea of a good time. > > I'm thinking of rather going sheep herding... Or even something more relaxing http://www.reuters.com/article/2009/05/20/us-portugal-snails-idUSTRE54J2N320090520 -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects ___ 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
Re: Adaptor problem with SSL on Ubuntu
On Jul 12, 2012, at 1:09 PM, Chuck Hill wrote: > I can't add much. The problem is in the adaptor. I'd focus on the first > error "sendBuffers(): send error: Bad address" and consider the rest to be > symptoms. Other than adding some logging messages to the adaptor, I have no > ideas or pointers. > >> Next up, debugging an apache module... > > No-one's idea of a good time. I'm thinking of rather going sheep herding... Thanks. kib "The era of procrastination, of half-measures, of soothing and baffling expedients, of delays, is coming to its close. In its place we are entering a period of consequences." Winston Churchill 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Adaptor problem with SSL on Ubuntu
Hi Klaus, I can't add much. The problem is in the adaptor. I'd focus on the first error "sendBuffers(): send error: Bad address" and consider the rest to be symptoms. Other than adding some logging messages to the adaptor, I have no ideas or pointers. > Next up, debugging an apache module... No-one's idea of a good time. Chuck On 2012-07-12, 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 - 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/chill%40global-village.net > > This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/gvc/practical_webobjects ___ 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