Error unsupported MIME type

#1

My app now show this error in client console, but I don’t understand it. Someone already saw this?

The script has an unsupported MIME type ('text/html').
Failed to load resource: net::ERR_INSECURE_RESPONSE

Meteor 1.8.0.1

#2

Are you using Windows?

1 Like
#3

No, I use Ubuntu 18. Browser Chrome and Opera.

#4

You’re accessing a script vial <script...> somewhere on a misconfigured server. The server is reporting 500: Internal Server Error or 404: File Not Found as its response, which is a text document instead of a javascript document. There might be a separate issue that you receive ERR_INSECURE_RESPONSE, which is saying that you requested a file with https:// and the server is configured to use a local root certificate-signed certificate which your browser doesn’t trust (very likely) or is redirecting to http to serve the error pages (highly unlikely).