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

SchemaRouter cannot route to services running in the same instance of MaxScale

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.1.0
    • schemarouter
    • None
    • Centos7

    Description

      My situation is that I've got a number of Master-Slave pairs that I would like to balance with `readconnroute` and then aggregate all of those within a `schemarouter` so as to present a single service entry point to my environment.

      However, while `readconnroute` and `schemarouter` work individually I get the following error when using them in tandem:

      error : [main-schemarouter] Failed to connect to server 'rtr-foo' (127.0.0.1:33001) when checking authentication user credentials and permissions: 2013 Lost connection to MySQL server at 'handshake: waiting for inital communication packet', system error: 110

      I've done some basic verification that the service is running on :33001 and accepts connections via the mysql CLI.

      I was advised by markusjm on IRC [#maria@freenode] to file this as a bug.

      I've attached the relevant config and the full log of the invocation.

      Attachments

        1. maxscale.cnf
          1.0 kB
          Wade Rossmann
        2. maxscale.log
          4 kB
          Wade Rossmann

        Issue Links

          Activity

            People

              markus makela markus makela
              wrossmann Wade Rossmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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