<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 8/16/24 15:31, Yianni Vidalis wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:GV2PR02MB8698DBEA51D3EB5D9E71BE8DBB812@GV2PR02MB8698.eurprd02.prod.outlook.com">
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">Hi,
        Peter, thanks for the reply.</div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        Yes, it's the mythbackend page, instead of it served it's
        offered to be downloaded.</div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        for the <a href="http://mbe:6544" id="LPlnk238465"
          class="OWAAutoLink moz-txt-link-freetext"
          moz-do-not-send="true">http://mbe:6544</a> the file is
        index.html with contents:</div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <!DOCTYPE html><html lang="en"><head></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <meta charset="utf-8"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <title>MythTV Backend</title></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <base href="/"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <meta name="viewport" content="width=device-width,
        initial-scale=1"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <link rel="stylesheet" type="text/css"
        href="/3rdParty/primeicons-5.0.0/primeicons.css"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <link id="app-theme" rel="stylesheet" type="text/css"
        href="assets/themes/md-light-indigo.css"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <link rel="stylesheet" type="text/css"
        href="/assets/guidecolors.css"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <link rel="icon" type="image/x-icon" href="favicon.ico"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<style>html,body{<a class="moz-txt-link-freetext" href="height:100%">height:100%</a>}body{<a class="moz-txt-link-freetext" href="margin:0;height:100%;overflow-x:hidden;overflow-y:auto;background-color:var(--surface-a);font-family:var(--font-family);font-weight:400;color:var(--text-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale">margin:0;height:100%;overflow-x:hidden;overflow-y:auto;background-color:var(--surface-a);font-family:var(--font-family);font-weight:400;color:var(--text-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale</a>}</style><link
        rel="stylesheet" href="styles.css" media="print"
        onload="this.media='all'"><noscript><link
        rel="stylesheet"
        href="styles.css"></noscript></head></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <body></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <app-root></app-root></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <script src="runtime.js"
        type="module"></script><script src="polyfills.js"
        type="module"></script><script src="main.js"
        type="module"></script></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        </body></html></div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        and the :6544/setupwizard page downloads a
        apps_backend_index.html file, which contains:</div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <!DOCTYPE html><html lang="en"><head></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <meta charset="utf-8"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <title>MythTV Backend</title></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <base href="/"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <meta name="viewport" content="width=device-width,
        initial-scale=1"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <link rel="stylesheet" type="text/css"
        href="/3rdParty/primeicons-5.0.0/primeicons.css"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <link id="app-theme" rel="stylesheet" type="text/css"
        href="assets/themes/md-light-indigo.css"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <link rel="stylesheet" type="text/css"
        href="/assets/guidecolors.css"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <link rel="icon" type="image/x-icon" href="favicon.ico"></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<style>html,body{<a class="moz-txt-link-freetext" href="height:100%">height:100%</a>}body{<a class="moz-txt-link-freetext" href="margin:0;height:100%;overflow-x:hidden;overflow-y:auto;background-color:var(--surface-a);font-family:var(--font-family);font-weight:400;color:var(--text-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale">margin:0;height:100%;overflow-x:hidden;overflow-y:auto;background-color:var(--surface-a);font-family:var(--font-family);font-weight:400;color:var(--text-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale</a>}</style><link
        rel="stylesheet" href="styles.css" media="print"
        onload="this.media='all'"><noscript><link
        rel="stylesheet"
        href="styles.css"></noscript></head></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <body></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
          <app-root></app-root></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <script src="runtime.js"
        type="module"></script><script src="polyfills.js"
        type="module"></script><script src="main.js"
        type="module"></script></div>
      <div
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        </body></html></div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        Basically, I just realised they're identical in content.</div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        I tried completely uninstalling mythtv, mythplugins, clearing
        the /usr/include/mythtv and /usr/share/mythtv folders (I use
        /usr as prefix) before reinstalling.</div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        The html files are served by mythbackend, when it was stopped I
        didn't get anything at the 6544 and 6744 ports.</div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        I searched the settings table with phpmyadmin, the port numbers
        are the expected ones.</div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        Same result (download) when I changed the port to 6584 as test.</div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        <br>
      </div>
      <div class="elementToProof"
style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
        I tried from the mbe itself and a windows pc, with firefox, and
        chrome (the latter in normal and incognito mode)</div>
      <div id="Signature" style="color: inherit;">
        <div
style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif;"
          dir="ltr" id="divtagdefaultwrapper">
          <p><br>
          </p>
          <p>Yianni.</p>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
    <p>Try running this</p>
    <p>curl -i <a class="moz-txt-link-rfc2396E" href="http://localhost:6544">"http://localhost:6544"</a></p>
    <p>You should see the below output. The "Content-Type: text/html;"
      should be telling the browser that html should be processed.<br>
    </p>
    <p>HTTP/1.1 200 OK<br>
      Date: Fri, 16 Aug 2024 19:43:23 GMT<br>
      Server: MythTV/35-Pre-242-g5e72a11f51 Linux/6.8.0-40-generic
      UPnP/1.0<br>
      Accept-Ranges: bytes<br>
      Connection: Keep-Alive<br>
      Keep-Alive: timeout=10<br>
      Content-Type: text/html; charset="UTF-8"<br>
      Content-Length: 1117<br>
      Cache-Control: no-store, max-age=0<br>
      Content-Language: en-us<br>
      Content-Disposition: inline; filename="index.html"<br>
      transferMode.dlna.org: Interactive<br>
      X-UA-Compatible: IE=Edge<br>
      X-Content-Type-Options: nosniff<br>
      Content-Security-Policy: script-src 'self' 'unsafe-inline'
      'unsafe-eval' <a class="moz-txt-link-freetext" href="https://services.mythtv.org">https://services.mythtv.org</a>; style-src 'self'
      'unsafe-inline'; frame-src 'self'; object-src 'none'; media-src
      'self'; font-src 'self'; img-src http: https: data:; form-action
      'self'; frame-ancestors 'self'; <br>
      X-Content-Security-Policy: script-src 'self' 'unsafe-inline'
      'unsafe-eval' <a class="moz-txt-link-freetext" href="https://services.mythtv.org">https://services.mythtv.org</a>; style-src 'self'
      'unsafe-inline'; frame-src 'self'; object-src 'none'; media-src
      'self'; font-src 'self'; img-src http: https: data:; form-action
      'self'; frame-ancestors 'self'; <br>
      X-XSS-Protection: 1; mode=block<br>
      <br>
      <!DOCTYPE html><html lang="en"><head><br>
        <meta charset="utf-8"><br>
        <title>MythTV Backend</title><br>
        <base href="/"><br>
        <meta name="viewport" content="width=device-width,
      initial-scale=1"><br>
        <link rel="stylesheet" type="text/css"
      href="/3rdParty/primeicons-5.0.0/primeicons.css"><br>
        <link id="app-theme" rel="stylesheet" type="text/css"
      href="assets/themes/md-light-indigo.css"><br>
        <link rel="stylesheet" type="text/css"
      href="/assets/guidecolors.css"><br>
        <link rel="icon" type="image/x-icon" href="favicon.ico"><br>
<style>html,body{<a class="moz-txt-link-freetext" href="height:100%">height:100%</a>}body{<a class="moz-txt-link-freetext" href="margin:0;height:100%;overflow-x:hidden;overflow-y:auto;background-color:var(--surface-a);font-family:var(--font-family);font-weight:400;color:var(--text-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale">margin:0;height:100%;overflow-x:hidden;overflow-y:auto;background-color:var(--surface-a);font-family:var(--font-family);font-weight:400;color:var(--text-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale</a>}</style><link
      rel="stylesheet" href="styles.css" media="print"
      onload="this.media='all'"><noscript><link
      rel="stylesheet"
      href="styles.css"></noscript></head><br>
      <body><br>
        <app-root></app-root><br>
      <script src="runtime.js"
      type="module"></script><script src="polyfills.js"
      type="module"></script><script src="main.js"
      type="module"></script><br>
      <br>
      </body></html><br>
      <br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
cite="mid:GV2PR02MB8698DBEA51D3EB5D9E71BE8DBB812@GV2PR02MB8698.eurprd02.prod.outlook.com">
      <hr style="display:inline-block;width:98%" tabindex="-1"></blockquote>
  </body>
</html>