[mythtv-users] Απ: Απ: visiting master backend 6544 port downloads html file, doesn't open page

Peter Bennett pb.mythtv at gmail.com
Fri Aug 16 21:43:03 UTC 2024


Sorry for the error - I have resent below - It it the server machine 
where you have to check.

On 8/16/24 16:04, Yianni Vidalis wrote:
> I ran the command. The Content-Type is application/x-extension-html
> I run opensuse leap 15.5
>
> curl -i "http://localhost:6544"
> HTTP/1.1 200 OK
> *Date*: Παρ, 16 Αυγ 2024 19:58:08 GMT
> *Server*: MythTV/35-Pre-256-gc166b740b9-dirty 
> Linux/5.14.21-150500.55.68-default UPnP/1.0
> *Accept-Ranges*: bytes
> *Connection*: Keep-Alive
> *Keep-Alive*: timeout=10
> *Content-Type*: application/x-extension-html
> *Content-Length*: 1117
> *Cache-Control*: no-store, max-age=0
> *Content-Language*: el
> *Content-Disposition*: inline; filename="index.html"
> *transferMode.dlna.org*: Interactive
> *X-UA-Compatible*: IE=Edge
> *X-Content-Type-Options*: nosniff
> *Content-Security-Policy*: script-src 'self' 'unsafe-inline' 
> 'unsafe-eval' https://services.mythtv.org; style-src 'self' 
> 'unsafe-inline'; frame-src 'self'; o
> bject-src 'none'; media-src 'self'; font-src 'self'; img-src http: 
> https: data:; form-action 'self'; frame-ancestors 'self';
> *X-Content-Security-Policy*: script-src 'self' 'unsafe-inline' 
> 'unsafe-eval' https://services.mythtv.org; 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';
> *X-XSS-Protection*: 1; mode=block
>
> <!DOCTYPE html><html lang="en"><head>
>  <meta charset="utf-8">
>  <title>MythTV Backend</title>
>  <base href="/">
>  <meta name="viewport" content="width=device-width, initial-scale=1">
>  <link rel="stylesheet" type="text/css" 
> href="/3rdParty/primeicons-5.0.0/primeicons.css">
>  <link id="app-theme" rel="stylesheet" type="text/css" 
> href="assets/themes/md-light-indigo.css">
>  <link rel="stylesheet" type="text/css" href="/assets/guidecolors.css">
>  <link rel="icon" type="image/x-icon" href="favicon.ico">
> <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
> ont-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>
> <body>
>  <app-root></app-root>
> <script src="runtime.js" type="module"></script><script 
> src="polyfills.js" type="module"></script><script src="main.js" 
> type="module"></script>
>
>
>
>
> Yianni.
>
>
Sorry for the error before  - It it the server machine where you have to 
check.

As far as I can tell, it may be finding the wrong content-type from 
lists in  /usr/share/mime/packages/

Try this on the machine with the server:

cd /usr/share/mime/packages/

grep application/x-extension-html *

If it finds a match, check which file has a match and what installed the 
file. Removing the file may resolve the problem.

Peter



> ------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240816/72076bf5/attachment.htm>


More information about the mythtv-users mailing list