[
https://issues.apache.org/jira/browse/AMQ-8169?focusedWorklogId=561940&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-561940
]
ASF GitHub Bot logged work on AMQ-8169:
---------------------------------------
Author: ASF GitHub Bot
Created on: 07/Mar/21 10:13
Start Date: 07/Mar/21 10:13
Worklog Time Spent: 10m
Work Description: lucastetreault opened a new pull request #617:
URL: https://github.com/apache/activemq/pull/617
According to the [SSLEngine
docs](https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLEngine.html)
"two threads must not attempt to call the same method (either wrap() or
unwrap()) concurrently, because there is no way to guarantee the eventual
packet ordering".
serviceRead(), the loop that calls unwrap(), was called in doInit() as well
in initializeStreams() which intermittently leads to errors such as
**javax.crypto.AEADBadTagException: Input too short - need tag** as described
in the [associated Jira](https://issues.apache.org/jira/browse/AMQ-8169) as the
two threads compete to unwrap network traffic.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 561940)
Remaining Estimate: 0h
Time Spent: 10m
> StompNIOSSLTest test fails with more recent JDK 8 versions
> ----------------------------------------------------------
>
> Key: AMQ-8169
> URL: https://issues.apache.org/jira/browse/AMQ-8169
> Project: ActiveMQ
> Issue Type: Bug
> Affects Versions: 5.17.0
> Reporter: Matt Pavlovich
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 5.17.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The StompNIOSSL test fails during CI/CD tests with certain JDK versions. This
> blocks PR's from getting a green status
> To reproduce:
> [x] Fails with jdk1.8.0_281
> [x] Passes with jdk1.8.0_211
> Suspects:
> * The test SSL cert needs to be generated with a newer cipher and/or length
> * The NIOSSLTransport has a bad byte[] read bug
--
This message was sent by Atlassian Jira
(v8.3.4#803005)