Detail pages won't load, but homepage loads, restart solves it

Every 2-3 weeks our discourse (which we love btw!) has the following symptoms:

  • the homepage loads
  • if you navigate to a post (I call it a “Detail page”) it just shows you the spinny icon and no content loads
  • when in that state and I point the browser tools at it, the network section shows all requests completing with 200 OK

A restart of the services fixes it. Our IT folks host our instance, so I don’t know what version it is, apologies.

Any idea what’s going on? I tried searching for an issue, but I didn’t see something just like this.

Restart what services how?

It’s in the headers that you can see in your browser. Did they do a standard install?

Is there anything in the “Console” tab of your browser?

I’ve invited our admins to speak to the way it’s installed and what “restart” means exactly.

Re the “console” output, it’s been fixed now, but the next time I observe it I’ll look.

Well it happened again! Here’s the console output I see when I load the spinny, non-loading page:

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). moz-extension:71:798183
The script from “https://discourse.pulpproject.org/assets/application-9cf0708329277a59e339ffd660e1407d87268f2fb1d128161d8526100c8a016b.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/locales/en-5b6e3ef1f697f5243844c52bd6962ca6b17263cc635d3eb919fdd6615a94eb40.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/browser-detect-115ab5953de1b5bb122bfb26b757f5391dd8d1d2aef2b81baf7b59aee99d9f34.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/vendor-dde8b5f2dd41adf78c88e7719455c3a5d4db146cb96d783a2dc1ed978892f200.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/pretty-text-bundle-040ac8329a20a2521202a2d2c59aa36509c83fc079f86105bfd735894194388d.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/plugins/discourse-calendar-147b35df80b2de17a6577b94377b89f271c407af7bf10a4dbb619efdd3c58678.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/plugins/discourse-details-61554ea83ad59329c2d5c9f0390a0498f3e3665deb58d32dc608aeca24fa0bb9.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/plugins/discourse-local-dates-5edf452312b471fbb9ea9a9ad686e24becaf6d38d13456ac170b45902409d1cf.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/plugins/discourse-narrative-bot-0b1e40d099d739cee23bbad45c2fb5eac1dcaaba028fdc9fa21b9e32930ec40b.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/plugins/discourse-presence-e575490133b5e948d5db094ba04f265c777e7d5003f1b418d1b7a38c8f64a317.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/plugins/lazy-yt-4e94ac3522a311236b5b7b0cf0ad4f98ee8632f45a4c686ac5b6676fcabe6f78.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/plugins/poll-752dadfc5017172081b079c7c6b1392a46420ea148d399f83683c07d36f64509.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/start-discourse-efa4e5abfbd1b50b5152ffbe64d5dcea9f7c33f766dcc6387e2711f0f2112148.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
The script from “https://discourse.pulpproject.org/assets/browser-update-eec13eb6f8386f18f10b5dd6ebb7a3598d28421bb796e539b91a7e4a4c5d4c08.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. 259
InstallTrigger is deprecated and will be removed in the future. _ember_jquery-36a23101c869ab0dc53fc908de69adb785731593573d32bdeef416acc1076ef4.js:11025:53
Could not view topic TypeError: e.jqXHR is undefined
    errorLoading _application-9cf0708329277a59e339ffd660e1407d87268f2fb1d128161d8526100c8a016b.js:19281
    refresh _application-9cf0708329277a59e339ffd660e1407d87268f2fb1d128161d8526100c8a016b.js:18428
    jQuery 26
_application-9cf0708329277a59e339ffd660e1407d87268f2fb1d128161d8526100c8a016b.js:31367:18
The script from “https://discourse.pulpproject.org/javascripts/magnific-popup/1.1.0/jquery.magnific-popup.min.js” was loaded even though its MIME type (“text/plain”) is not a valid JavaScript MIME type.
259
Failed to register Service Worker: TypeError: ServiceWorker script at https://discourse.pulpproject.org/service-worker-1f9399366b6e40904e6ffb0fcf626c6ff9c0f968296a7b9737f1035b61ff5a92.js for scope https://discourse.pulpproject.org/ threw an exception during script evaluation. _application-9cf0708329277a59e339ffd660e1407d87268f2fb1d128161d8526100c8a016b.js:76317:20

Any tips for instigating this?