Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      On line 409 of proxysql_node_monitor we are using hyphen to concat host and port of a server.

      https://github.com/percona/proxysql-admin-tool/blob/fb5d786e459318cd93ca09e7c3067098238d5485/proxysql_node_monitor#L409

       

      Acording to RFC1034, hyphen is a valid dns character:

      https://tools.ietf.org/html/rfc1034

      [Page 10]
      The labels must follow the rules for ARPANET host names. They must
      start with a letter, end with a letter or digit, and have as interior
      characters only letters, digits, and hyphen. There are also some
      restrictions on the length. Labels must be 63 characters or less.

       

      For example, if my hostname is marcelo-altmann.percona.com on port 3306 that particular line will parse marcelo as host and altmann as the port, consecutively it won't be able to connect to my server.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                ramesh.sivaraman Ramesh Sivaraman
                Reporter:
                marcelo.altmann Marcelo Altmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Time Spent - 1 hour, 48 minutes Remaining Estimate - 12 minutes
                  12m
                  Logged:
                  Time Spent - 1 hour, 48 minutes Remaining Estimate - 12 minutes
                  1h 48m