<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">On 2/24/20 3:01 PM, Ross Boylan wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAK3NTRBoYpFPhFckwt2KZZS_zs=KjrSWYtLG5SXcvjJq2QkewQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div>The workaround is to add an entry to the settings table
            in the form the program wants.</div>
          <div><br>
          </div>
          <div>I'm not sure if the lack of the appropriate entry
            originally indicates</div>
          <div>1. I misconfigured my setup</div>
          <div>2. the code has a bug</div>
          <div>3. the code is correct for the v31 schema but not for
            v30.</div>
          <div>4. something else<br>
          </div>
          <div><br>
          </div>
          <div>From settings table:</div>
          <div>| value             | data                | hostname |<br>
            +-------------------+---------------------+----------+<br>
            | AllowConnFromAll  | 0                   | barley   |<br>
            | BackendServerAddr | <a href="http://myth.betterworld.us"
              moz-do-not-send="true">myth.betterworld.us</a> | barley  
            |<br>
            | BackendServerAddr | 192.168.1.10        | barley   |<br>
            | ListenOnAllIps    | 1                   | barley   |<br>
            | MasterServerIP    | 192.168.1.10        | NULL     |<br>
            | MasterServerName  | barley              | NULL     |<br>
            +-------------------+---------------------+----------+</div>
          <div><br>
          </div>
          <div>The entry for BackendServerAddr | 192.168.1.10 is one I
            added recently; with that I am  able to get past the error I
            reported.</div>
          <div>I initially used <a href="http://myth.betterworld.us"
              moz-do-not-send="true">myth.betterworld.us</a> as the
            hostname, but that didn't match my existing entry for
            BackendServerPort.</div>
          <div><a href="http://myth.betterworld.us"
              moz-do-not-send="true">myth.betterworld.us</a>, barley,
            and 192.168.1.10 are all the same machine, the one on which
            I'm running.</div>
          <div><br>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    BackendServerAddr and MasterServerName replaced MasterServerIP in
    V30, but if you have not done any update since V29 it may not have
    been set up. I believe the code will still use MasterServerIp if
    BackendServerAddr and MasterServerName are not set up..<br>
    <br>
    You can set it up by running mythtv-setup -> General -> Host
    Address Backend Setup on the machine in question. The entry for
    "Primary IP Address/DNS Name" is what is used for BackendServerAddr.
    <br>
    <br>
    I don't know what happens if you have two entries for the same
    hostname. That should not be allowed.<br>
  </body>
</html>