Skip to main content

Blank help page

In this article, we explore why the Mosaic help page may appear blank, not load, or show a white screen.

Y
Written by Yusef Abulaynain
Updated over 5 months ago

Symptoms

From the Help menu in Mosaic the Mosaic help menu item opens a new window but the page is blank or white.

Using the browsers developers tools, F12, you'll see Content Security Policy directive errors around ajax.googleapis.com.

For hosted customers please raise a new case online and reference the title of this article.
​

Fix

Update the Apache Content Security Policy to allow ajax.googleapis.com.


The Apache Content Security Policy will be configured in either the ssl.conf or httpd.conf file on the Mosaic app server. For Redhat, the file locations will usually be /etc/httpd/conf.d/ssl.conf or /etc/httpd/conf/httpd.conf

Please see the complete Content Security Policy below.

Header set Content-Security-Policy: "default-src 'self' data: ; \
script-src 'self' 'unsafe-inline' 'unsafe-eval' https://ajax.googleapis.com ; \
object-src 'self' ; style-src 'self' https://fonts.googleapis.com https://ajax.googleapis.com data: 'unsafe-inline' ; \
img-src 'self' https://ajax.googleapis.com data: ; \
media-src 'self' data: ; \
frame-src 'self' data: ; \
font-src 'self' https://fonts.gstatic.com data: ; \
connect-src 'self' data: "

Restart Apache for the change to take effect. Please see instructions below.

apachectl graceful

A graceful restart will not disconnect current sessions, but the changes will only be picked by users when they start a new session. This is useful when you wish to apply the changes during the day without downtime. Alternatively, you can force a full restart by stopping and starting Apache, see below.

apachectl stop
apachectl start
Did this answer your question?