> "useAprConnector [false], useOpenSSL [true]"
I looked at an old server and it said the same, so this is probably not related 
to my problem.

Mark Claassen
Senior Software Engineer

Donnell Systems, Inc.
130 South Main Street
Leighton Plaza Suite 375
South Bend, IN  46601
E-mail: mailto:mclaas...@ocie.net
Voice: (574)232-3784
Fax: (574)232-4014
  
-------------------------------------------
Confidentiality Notice: OCIESERVICE
-------------------------------------------
The contents of this e-mail message and any attachments are intended solely for 
the addressee(s) named in this message. This communication is intended to be 
and to remain confidential. If you are not the intended recipient of this 
message, or if this message has been addressed to you in error, please 
immediately alert the sender by reply e-mail and then delete this message and 
its attachments. Do not deliver, distribute, copy, disclose the contents or 
take any action in reliance upon the information contained in the communication 
or any attachments.


-----Original Message-----
From: Mark A. Claassen <mclaas...@ocie.net> 
Sent: Thursday, June 10, 2021 4:46 PM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: RE: Strange connection error

I am still trying to figure out the debugging, but I did see that, going 
through the reverse proxy and direct, it is using TLS1.2.

From wireshark (no debugging)
Going through the reverse proxy, there is a ClientHello, two ACK, and then a 
ServerHello Going direct, I get the ClientHello and two ACK, but no 
ServerHello.  The forth message there is the error response.

I am still confused as to why any of this is changed since I am using OpenSSL.  
Unless the problem is from:     "useAprConnector [false], useOpenSSL [true]"

Mark Claassen
Senior Software Engineer

Donnell Systems, Inc.
130 South Main Street
Leighton Plaza Suite 375
South Bend, IN  46601
E-mail: mailto:mclaas...@ocie.net
Voice: (574)232-3784
Fax: (574)232-4014
  
-------------------------------------------
Confidentiality Notice: OCIESERVICE
-------------------------------------------
The contents of this e-mail message and any attachments are intended solely for 
the addressee(s) named in this message. This communication is intended to be 
and to remain confidential. If you are not the intended recipient of this 
message, or if this message has been addressed to you in error, please 
immediately alert the sender by reply e-mail and then delete this message and 
its attachments. Do not deliver, distribute, copy, disclose the contents or 
take any action in reliance upon the information contained in the communication 
or any attachments.


-----Original Message-----
From: Mark A. Claassen <mclaas...@ocie.net>
Sent: Thursday, June 10, 2021 4:11 PM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: RE: Strange connection error

Here is what I get in catalina.out now.  Hopefully this is all correct.
I am a bit confused by "useAprConnector [false], useOpenSSL [true]"

Anyway, I will do some research on the debugging technique mentioned earlier.

------
Jun 10, 2021 4:05:42 PM org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent
INFO: Loaded Apache Tomcat Native library [1.2.28] using APR version [1.6.3].
Jun 10, 2021 4:05:42 PM org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], 
random [true].
Jun 10, 2021 4:05:42 PM org.apache.catalina.core.AprLifecycleListener 
lifecycleEvent
INFO: APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] Jun 
10, 2021 4:05:42 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized [OpenSSL 1.1.1  11 Sep 2018] Jun 10, 
2021 4:05:42 PM org.apache.coyote.http11.AbstractHttp11Protocol 
configureUpgradeProtocol
INFO: The ["http-apr-127.0.0.1-8608"] connector has been configured to support 
HTTP upgrade to [h2c]

Mark Claassen
Senior Software Engineer

Donnell Systems, Inc.
130 South Main Street
Leighton Plaza Suite 375
South Bend, IN  46601
E-mail: mailto:mclaas...@ocie.net
Voice: (574)232-3784
Fax: (574)232-4014

Disclaimer:
The opinions provided herein do not necessarily state or reflect those of 
Donnell Systems, Inc.(DSI). DSI makes no warranty for and assumes no legal 
liability or responsibility for the posting. 
-----Original Message-----
From: Mark A. Claassen <mclaas...@ocie.net>
Sent: Thursday, June 10, 2021 2:41 PM
To: Tomcat Users List <users@tomcat.apache.org>
Subject: Re: Strange connection error

Thanks for the tip.  To be honest, I am not exactly sure how to set that up, 
but since it involves the rebuilding of the native libraries, I will start with 
that.  Maybe that alone will solve the issue.

If not, I will try to figure out how to debug all this.  If I get stuck, I will 
post another message.  I will also  post a message when this is solved, in case 
anyone else encounters similar behavior.

Thanks again,

-------------

Mark Claassen
Senior Software Engineer

Donnell Systems, Inc.
130 South Main Street
Leighton Plaza Suite 375
South Bend, IN  46601
E-mail: mailto:mclaas...@ocie.net
Voice: (574)232-3784
Fax: (574)232-4014
  
-------------------------------------------
Confidentiality Notice: OCIESERVICE
-------------------------------------------
The contents of this e-mail message and any attachments are intended solely for 
the addressee(s) named in this message. This communication is intended to be 
and to remain confidential. If you are not the intended recipient of this 
message, or if this message has been addressed to you in error, please 
immediately alert the sender by reply e-mail and then delete this message and 
its attachments. Do not deliver, distribute, copy, disclose the contents or 
take any action in reliance upon the information contained in the communication 
or any attachments.


-----Original Message-----
From: Mark Thomas <ma...@apache.org>
Sent: Thursday, June 10, 2021 2:01 PM
To: users@tomcat.apache.org
Subject: [Possible Spam] Re: Strange connection error
Importance: Low

On 10/06/2021 18:11, Mark A. Claassen wrote:
> Thanks for the reply.
> 
> Is doesn't seem like OpenSSL is rejecting the connection. I would have 
> thought that if OpenSSL would have rejected the connection, it would not hit 
> even hit the access log.  Maybe that is not the case.
> 
> But, to answer your question, we did not upgrade the version of Java.  We are 
> using 1.8.0_265 on the server.  The Java client did not change either.

Try using Wireshark with SSLKEYLOGFILE to look at the decrypted version. 
You'll get a lot more info about what is going on. I think you'll need to 
update Tomcat Native to do that though. I don't think Java supports that env 
variable.

Mark


> 
> ------------
> 
> Mark Claassen
> Senior Software Engineer
> 
> Donnell Systems, Inc.
> 130 South Main Street
> Leighton Plaza Suite 375
> South Bend, IN  46601
> E-mail: mailto:mclaas...@ocie.net
> Voice: (574)232-3784
> Fax: (574)232-4014
> 
> Disclaimer:
> The opinions provided herein do not necessarily state or reflect those 
> of Donnell Systems, Inc.(DSI). DSI makes no warranty for and assumes 
> no legal liability or responsibility for the posting.
> 
> 
> -----Original Message-----
> From: jonmcalexan...@wellsfargo.com.INVALID
> <jonmcalexan...@wellsfargo.com.INVALID>
> Sent: Thursday, June 10, 2021 12:02 PM
> To: users@tomcat.apache.org
> Subject: [Possible Spam] RE: Strange connection error
> Importance: Low
> 
> Is it a cypher issue? (noting the handshake issue). Did you also upgrade the 
> Java at the same time?
> 
> Dream * Excel * Explore * Inspire
> Jon McAlexander
> Infrastructure Engineer
> Asst Vice President
> 
> Middleware Product Engineering
> Enterprise CIO | Platform Services | Middleware | Infrastructure 
> Solutions
> 
> 8080 Cobblestone Rd | Urbandale, IA 50322
> MAC: F4469-010
> Tel 515-988-2508 | Cell 515-988-2508
> 
> jonmcalexan...@wellsfargo.com
> 
> Upcoming PTO: 10/30/2020, 11/6/2020, 11/13/2020, 11/20/2020, 11/27/2020, 
> 12/2/2020, 12/4/2020, 12/11/2020, 12/18/2020, 12/28/2020, 12/29/2020, 
> 12/30/2020, 12/31/2020 This message may contain confidential and/or 
> privileged information. If you are not the addressee or authorized to receive 
> this for the addressee, you must not use, copy, disclose, or take any action 
> based on this message or any information herein. If you have received this 
> message in error, please advise the sender immediately by reply e-mail and 
> delete this message. Thank you for your cooperation.
> 
> 
>> -----Original Message-----
>> From: Mark A. Claassen <mclaas...@ocie.net>
>> Sent: Thursday, June 10, 2021 10:38 AM
>> To: users@tomcat.apache.org
>> Subject: Strange connection error
>>
>> I just upgraded from 9.0.12 to 9.0.46.  Everything seemed to go 
>> pretty smoothly, but I am getting a strange connection error from 
>> certain connections
>>
>> We have several different things that connect to the webserver.
>> Browsers connect fine.  We have a monitoring script in Perl that 
>> works fine.  However, a Java program, which worked fine under the old 
>> version of tomcat, can no longer connect.
>>
>> The access log prints out very odd information.  Right now it is configured 
>> as:
>> pattern="%{yyyy-MM-dd HH:mm:ss}t %H %h %m &quot;%U&quot; 
>> &quot;%q&quot; STATUS(%s) BYTES(%b) &quot;%{User-Agent}i&quot; 
>> &quot;%{Referer}i& quot; %I"/>
>>
>> However the output for this failed connection is:
>>      2021-06-10 11:21:19 null [[Actual IP address]] null "null" ""
>> STATUS(400) BYTES(-) "-" "-" null All other connections show in the 
>> access log as I would expect.
>>
>> Does anyone have any idea what is going on here?
>> -----
>> Extra Information:
>> - I am using the APR connector and OpenSSL.
>> - I did not recompile any of the native libraries; they are still 
>> using the ones from 9.0.12.
>> - We have an Apache webserver we use as a reverse proxy.  When 
>> connecting through that, things work.
>>
>> - Wireshark has this to say about the failure:
>>
>>      TLSv1.2 Record Layer: Alert (Level: Fatal, Description: Handshake
>> Failure)
>>              Content Type: Alert (21)
>>              Length: 2
>>              Alert Message
>>                      Level: Fatal (2)
>>                      Description: Handshake Failure (40) Thanks for your 
>> time, Mark
>>
>> -----------------------------------
>> Mark Claassen
>> Senior Software Engineer
>>
>> Donnell Systems, Inc.
>> 130 South Main Street
>> Leighton Plaza Suite 375
>> South Bend, IN  46601
>> E-mail: mailto:mclaas...@ocie.net
>> Voice: (574)232-3784
>> Fax: (574)232-4014
>>
>> Disclaimer:
>> The opinions provided herein do not necessarily state or reflect 
>> those of Donnell Systems, Inc.(DSI). DSI makes no warranty for and 
>> assumes no legal liability or responsibility for the posting.
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

B KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB  [  
X  ܚX KK[XZ[  \ \  ][  X  ܚX P X ]  \X K ܙ B  ܈Y][ۘ[  [X[  
K[XZ[  \ \  Z[ X ]  \X K ܙ B 

Reply via email to