1

Locally I can start a content test and preview the variant thumbnails no problem. In Sitecore 9.1.1 Azure PaaSsingle instance environment all I see are 403 errors instead of the thumbnails.

enter image description here

I have checked through obvious config settings and everything seems to be enabled. enter image description here

The executable path looks a little strange - but am struggling to find if this needs to be changed for Azure instance.

There is nothing in the console Network tab as to what the 403 is - whether the thumbnails are not being generated, or they were but can't be accessed.

Nothing obvious in the log, and Phantomjs.exe is located in the app_Data\tools folder.

3

It's unsupported. By Microsoft, so by extension that would mean Sitecore as well.

Azure PaaS runs in what they call a sandbox. It's a restricted environment that only supports in part, what you would normally be able to do in your application.

In the list of unsupported frameworks for the sandbox, we find

Other scenarios that are not supported:

  • PhantomJS/Selenium: tries to connect to local address, and also uses GDI+.

As such, I don't think you're doing anything wrong. It just doesn't appear possible.

You would probably need to reach out to Sitecore Support for alternatives or to inquire about a workaround.

| improve this answer | |
  • Interesting thanks! Not sure how content testing is supposed to work in Azure without being able to see a preview then :) Hopefully my support ticket gets a response soon. – Jen Aug 13 '19 at 7:08
1

Turns out this feature is supported. In the Test environment where it wasn't working it was related to the Azure WAF blocking the content for some reason. Then it worked fine in UAT and Production (which was under a different WAF).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.