DATA PAGING Javascript not using https for second page

I’m kind of at a loss here, I am trying to simply query all objects in my storage using paging.
To test this I set the Pagesize to 5 and starting with an offset of 0.
The first group of 5 gets requested as expected. After that Chrome jst refuses to because for some reason that I can not explain it now tries to do the query over http and no longer over https. Which on a https site obviously does not work. So my question is: what am I missing? and how can I get this to work?
For this I am trying this async code from the Feature 17 Blog Post just slightly adjusted with a changed Pagesize and different objects:

var APP_ID = "XXXX";
var VERSION = "v1";

function NaNtitle(args) {
 args = args || {};
 this.title = args.title || "";
 this.category = args.category || "";
 this.type = args.type || "";

function handleResponse (restaurants) {
 console.log("Total restaurants - " + restaurants.totalObjects);

 var size =;
 console.log("Loaded " + size + " restaurants in the current page");
 var nextPage = restaurants._nextPage;

 while (nextPage) {
 this.offset += size;
restaurants = restaurants.getPage(this.offset, this.PAGESIZE);
size =;
console.log("Loaded " + size + " restaurants in the current page");
nextPage = restaurants._nextPage;
 console.log("Total time (ms) - " + ((new Date()).getMilliseconds() - this.startTime ));

function handleFault (backendlessFault) {
 console.log("Server reported an error - ");

function advancedPagingAsync () {
 try {
 this.startTime = (new Date()).getMilliseconds();
 this.offset = 0;
 var PAGESIZE = 5;
 var callback = new Backendless.Async(handleResponse, handleFault);
var dataQuery = new Backendless.DataQuery();
dataQuery.options = {
 pageSize: PAGESIZE
Backendless.Persistence.of(NaNtitle).find(dataQuery, callback);
throw e.message;

Backendless.serverURL = "";
Backendless.initApp(APP_ID, SECRET_KEY, VERSION);

The Output in Chrome:

test.js:20 Total restaurants - 43
test.js:23 Loaded 5 restaurants in the current page
backendless.js:295 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check
backendless.js:323 Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ''. This request has been blocked; the content must be served over HTTPS.sendRequest @ backendless.js:323cacheMethods.ignoreCache @ backendless.js:195Backendless._ajax_for_browser @ backendless.js:344DataStore._load @ backendless.js:804collection.getPage @ backendless.js:505handleResponse @ test.js:28Async.success @ backendless.js:519success @ backendless.js:757Async.success @ backendless.js:519xhr.onreadystatechange @ backendless.js:314
backendless.js:346 error: Failed to execute 'send' on 'XMLHttpRequest': Failed to load ''.
backendless.js:347 Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load ''.

Hi Carlos,
thanks for reporting your issue.

We’ve been fixed this problem. I’ll notify you when it appears in our new release.