Open teluq-pbrideau opened 10 months ago
The problems seems to have solved itself… Sorry for the false alarm.
I guess there was big timeout somewhere in the network trying to resolve fonts.googleapis.com.
before proceeding to display the page? Now, there is no more timeout, everything work as expected. Maybe the network team was doing a DROP for this request and now it is a REJECT which fail fast? Just a guess, but my problem is now solved.
Sorry for the opening and closing this issue, the Network team had open the access of the client to the internet by error, so obviously it was working… Now they have closed and the problem is back again…
I’ve tried to debug and change something like #459 had suggested:
url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400%3B0,700%3B1,400%3B1,700&subset=latin&display=swap);
to
@import url(/static/css/fonts.css);
I got an error, the web page layout is completely out of wack, but I does not take 1 minute to load the page anymre… It seems to be really where the problem is… But I’m no web developper, so I don’t really know how to fix this problem…
This is the error in the web console. My change seems to have broken a checksum somewhere…
None of the “sha512” hashes in the integrity attribute match the content of the subresource. The computed hash is “C1tpQ9+Wmn2KscdEXRUVo7hnmiHRgR9xZqMWwV4VZ1mnyTAC7AV2stGG7VgNs5dz+r8pwKblfAeOHrPpnPmjOQ==”.
Edit: I have upgraded to Puppetboard 5.2, still in problem
https://github.com/google/fonts#self-host-fonts-available-from-google-fonts -> https://fontsource.org/docs/getting-started/install
Not sure how this would be integrated into puppetboard in a maintainable way since it doesn't use npm at all yet, as far as I know.
I guess I will use an ad-blocker to blacklist the fonts.googleapis.com
url for now… Thanks
Describe the bug
Bug #459 from 2018 appear to have come back:
When in offline mode (OFFLINE_MODE set to True), Puppetboard should not load external resources.
First line in https://github.com/voxpupuli/puppetboard/blob/master/puppetboard/static/libs/fomantic-ui/semantic.min.css
@import url(https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400%3B0,700%3B1,400%3B1,700&subset=latin&display=swap);
Puppetboard version
5.1.0
Environment and installation method