<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<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 ran the command. The Content-Type is application/x-extension-html</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
I run opensuse leap 15.5</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);">
curl -i "http://localhost:6544" <br>
HTTP/1.1 200 OK <br>
<b>Date</b>: Παρ, 16 Αυγ 2024 19:58:08 GMT <br>
<b>Server</b>: MythTV/35-Pre-256-gc166b740b9-dirty Linux/5.14.21-150500.55.68-default UPnP/1.0
<br>
<b>Accept-Ranges</b>: bytes <br>
<b>Connection</b>: Keep-Alive <br>
<b>Keep-Alive</b>: timeout=10 <br>
<b>Content-Type</b>: application/x-extension-html <br>
<b>Content-Length</b>: 1117 <br>
<b>Cache-Control</b>: no-store, max-age=0 <br>
<b>Content-Language</b>: el <br>
<b>Content-Disposition</b>: inline; filename="index.html" <br>
<b>transferMode.dlna.org</b>: Interactive <br>
<b>X-UA-Compatible</b>: IE=Edge <br>
<b>X-Content-Type-Options</b>: nosniff <br>
<b>Content-Security-Policy</b>: script-src 'self' 'unsafe-inline' 'unsafe-eval' https://services.mythtv.org; style-src 'self' 'unsafe-inline'; frame-src 'self'; o<br>
bject-src 'none'; media-src 'self'; font-src 'self'; img-src http: https: data:; form-action 'self'; frame-ancestors 'self'; <br>
<b>X-Content-Security-Policy</b>: script-src 'self' 'unsafe-inline' 'unsafe-eval' https://services.mythtv.org; style-src 'self' 'unsafe-inline'; frame-src 'self';<br>
object-src 'none'; media-src 'self'; font-src 'self'; img-src http: https: data:; form-action 'self'; frame-ancestors 'self'; <br>
<b>X-XSS-Protection</b>: 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{height:100%}body{margin:0;height:100%;overflow-x:hidden;overflow-y:auto;background-color:var(--surface-a);font-family:var(--font-family);f<br>
ont-weight:400;color:var(--text-color);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}</style><link rel="stylesheet" href="styles.css<br>
" 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>
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</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>
<div id="appendonsend" style="color: inherit;"></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg" dir="ltr" style="color: inherit;"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>Από:</b> mythtv-users <mythtv-users-bounces@mythtv.org> εκ μέρους του Peter Bennett <pb.mythtv@gmail.com><br>
<b>Στάλθηκε:</b> Παρασκευή, 16 Αυγούστου 2024 10:50 μμ<br>
<b>Προς:</b> mythtv-users@mythtv.org <mythtv-users@mythtv.org><br>
<b>Θέμα:</b> Re: [mythtv-users] Απ: visiting master backend 6544 port downloads html file, doesn't open page</span>
<div> </div>
</div>
<p><br>
</p>
<div>On 8/16/24 15:31, Yianni Vidalis wrote:</div>
<blockquote>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Hi, Peter, thanks for the reply.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div 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 style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
for the <a href="http://mbe:6544" id="OWA2aa70987-a377-fd01-cfce-6d58704d9318" class="x_OWAAutoLink x_moz-txt-link-freetext" data-auth="NotApplicable">
http://mbe:6544</a> the file is index.html with contents:</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div 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{height:100%}body{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}</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 style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
</body></html></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div 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 style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div 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{height:100%}body{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}</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 style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
</body></html></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div 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 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 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 style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div 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 style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div 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 style="font-family: Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div 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="x_Signature" style="color: inherit;">
<div dir="ltr" id="x_divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif;">
<p><br>
</p>
<p>Yianni.</p>
</div>
</div>
</blockquote>
<p><br>
</p>
<p>Try running this</p>
<p>curl -i <a href="http://localhost:6544" id="OWA96950d01-97ae-7627-63ab-e10b868c5208" class="x_moz-txt-link-rfc2396E OWAAutoLink" style="margin-top: 0px; margin-bottom: 0px;" data-auth="NotApplicable">
"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.</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 href="https://services.mythtv.org/" id="OWAd13899d8-ef47-a22f-9700-03c39bebc5c7" class="x_moz-txt-link-freetext OWAAutoLink" style="margin-top: 0px; margin-bottom: 0px;" shash="q59RmCj54qMkkm4SyUd1e/EqvruIpIY8Zu7Xl6gjt9pyHzPkQdyQ1Zqrzc+EE9A+LMvp5yz6utBVglCiW+4YI/110+fnFGOGs4kuYkQbqloi41sOKkHyY5ospmEkfUqVeUcmPnK6bW39Exw4a8CpuJkDtv624+VkInvYvUOCbRA=" originalsrc="https://services.mythtv.org/" data-auth="Verified">
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 href="https://services.mythtv.org/" id="OWA30fa6c76-4e6b-7738-64a0-a4d357f7fde7" class="x_moz-txt-link-freetext OWAAutoLink" style="margin-top: 0px; margin-bottom: 0px;" shash="M3Vnp//0VK7ke1qeP+LbYPtbxiKRo0T3Gp8Ncx9vXr5vlvLZu5a5vBUNEolIj235oYCobm7S7XM2yZ9DBG4+C75CblohiJdxmkNUmsUaHplNEg+zqOlv1CgPGiB6g6dKHHZWiudnFt0MYoUpx0IGA6Y16iWts+qOvlEDCpwT+Ww=" originalsrc="https://services.mythtv.org/" data-auth="Verified">
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{height:100%}body{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}</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>
<hr style="display: inline-block; width: 98%;">
</blockquote>
</body>
</html>