We have a internet facing instance of Composite-C1 we are using for QA'ing our site, and when we try to force HTTPS for console access (forceHttps), the FunctionPreview is broken in the Page editor. There is a valid SSL cert on the server. Our side does support HTTPS, but it's not required for the public content.
<ClientProtocol forceHttps="true" allowFallbackToHttp="false" customHttpsPortNumber="" />
We are seeing these errors in the C1 Logs
Failed to build preview for function. Reason: PhantomServerIncorrectResponse; Output: ERROR, page.open: fail
Shutting down PhantomJs server. Reason: PhantomServerIncorrectResponse, Output: ERROR, page.open: fail
Setting forceHttps="false" in the ~/App_Data/Composite/Configuration/C1ConsoleAccess.xml file along with a Server Restart will bring back the FunctionPreview.
Any debugging tips?