Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-5430

Authentication errors are sometimes not read if backend TLS is enabled

    XMLWordPrintable

Details

    • Bug
    • Status: In Review (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 22.08.15, 23.02.12, 23.08.8, 24.02.4, 24.08.0
    • 23.08.9, 24.02.5, 25.01.1
    • Core
    • None

    Description

      If the server sends an authentication error and then proceeds to close the connection immediately, OpenSSL seems to return zero for both SSL_read() and SSL_get_error(). Previously in 21.06 this was treated as a success case if data was read from the socket but in 23.08 it's always treated as an error. The effect of this is that the reported error is Read from backend failed instead of an authentication error.

      Attachments

        Activity

          People

            markus makela markus makela
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.