You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the user uses the test connection button and the config is incorrect (wrong pwd, expired certificate, etc.) and the user is stuck on testing, never-ending loop until the connection reaches the maximum 5050 attempt(s)
Expected Results
Notify the user with an appropriate error message and after a few minutes
Actual Results
The Error
[ssl://activemq-broker01.queue.company.com:12345,
ssl://activemq-broker02.queue.company.com:12345] after: 5050 attempt(s) with
Cannot send, channel has already failed: tcp://10.0.0.22:12345,
continuing to retry.
Because of the high number of retries it uses (5050), it takes a long time for the user to get a response
JMS message plugin test concoction bottom if one of these values config is incorrect (wrong pwd, expired certificate, etc.)
Jenkins and plugins versions report
Environment
What Operating System are you using (both controller, and any agents involved in the problem)?
Jenkins: 2.303.3
OS: Fedora: 37
jms-messaging:1.1.27
Reproduction steps
When the user uses the test connection button and the config is incorrect (wrong pwd, expired certificate, etc.) and the user is stuck on testing, never-ending loop until the connection reaches the maximum 5050 attempt(s)
Expected Results
Notify the user with an appropriate error message and after a few minutes
Actual Results
The Error
Because of the high number of retries it uses (5050), it takes a long time for the user to get a response
JMS message plugin test concoction bottom if one of these values config is incorrect (wrong pwd, expired certificate, etc.)
Anything else?
This the part that we need to be fixed
JMS message plugin test concoction bottom for user name and password
https://github.com/jenkinsci/jms-messaging-plugin/blob/master/plugin/src/main/java/com/redhat/jenkins/plugins/ci/authentication/activemq/UsernameAuthenticationMethod.java#L121
JMS message plugin test concoction bottom for certificate
https://github.com/jenkinsci/jms-messaging-plugin/blob/master/plugin/src/main/java/com/redhat/jenkins/plugins/ci/authentication/activemq/SSLCertificateAuthenticationMethod.java#L158
The text was updated successfully, but these errors were encountered: