A/B testing on HTTPS gives mixed content error

We installed EPiServer.Marketing.Testing 2.3.0 to use A/B testing on our website.

The A/B testing tool seem to be calling http://[hostname]/api/episerver/testing/UpdateClientConversion when a page is visited.

However, our website is running on HTTPS, so the above request is not permitted:

Mixed Content: The page at 'https://[hostname]/[path]/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://[hostname]/api/episerver/testing/UpdateClientConversion'. This request has been blocked; the content must be served over HTTPS.

Can we confugure this somewhere, or does the A/B testing plugin not support HTTPS?

- Dennis

#178710 Edited, May 18, 2017 15:55
  • Hi Dennis,

    Thanks for bringing this to our attention. It appears that the client side KPI's have the issue of using HTTP exclusively instead of detecting the current protocol and using that. This should only affect the client side KPI types (Time on Page goal for the out of the box KPI's). Server side KPI's should work as expected within an HTTPS only environment. I will add this into the backlog to be fixed ASAP.

    #178716 May 18, 2017 20:36
  • Hi Jason. Thank you for the response. If the "Time on Page" KPI is the only goal that is affected by this, the impact is limited. I would love to get an update when the fix has been applied though, or at least to know in which version you expect it to be fixed.

    - Dennis

    #178724 May 19, 2017 8:37
  • The fix will be in the next release of the AB package v2.3.1. I expect it to be verified next week (if all goes well) and should be available after the following Monday (May 29).

    #178742 May 19, 2017 16:46
  • Thank you! :)

    #178743 May 19, 2017 16:50
  • @Jason When will v. 2.3.1 be released as a Nuget package? I don't see it yet.

    #179096 May 31, 2017 8:57
  • Hi Dennis,

    We found a small issue late last week that held up our package. It is fixed up now though, so it should be out Monday.

    Sorry for the delay,


    #179113 May 31, 2017 15:45
  • Ok - thanks for the update.

    #179114 May 31, 2017 15:48
  • Hi Dennis, A/B testing 2.3.1 is out on the NuGet feed now.

    #179213 Jun 05, 2017 12:49
  • Thank you Asa! :)

    #179234 Jun 06, 2017 8:36