Https://export.dhtmlx.com/scheduler is down


#1

https://export.dhtmlx.com/scheduler

we get:

This page isn’t working

If the problem continues, contact the site owner.
HTTP ERROR 405


#2

Hi @victor7

The correct link for export file is https://export.dhtmlx.com/scheduler/api.js as it specified in the documentation.


#3

Hi, @Polina

We were using the old link for a while. And since yesterday we started getting that 405 error.

We will try the new link and let you know.

Thank you.


#4

Hi @Polina ,

The function scheduler.exportToPDF calls the function send_to_export

Below is the code from https://export.dhtmlx.com/scheduler/api.js.
Please note the reference to “https://export.dhtmlx.com/scheduler

scheduler._send_to_export = function(data, type){
if(!data.version){
data.version = scheduler.version;
}

	if(!data.skin){
		data.skin = scheduler.skin;
	}

	if (data.callback)
			return scheduler._ajax_to_export(data, type, data.callback);

	var form = this._create_hidden_form();

	form.firstChild.action = data.server || "https://export.dhtmlx.com/scheduler";
	form.firstChild.childNodes[0].value = JSON.stringify(data);
	form.firstChild.childNodes[1].value = type;
	form.firstChild.submit();
};

when this function sends the request to https://export.dhtmlx.com/scheduler it is failing with:

This page isn’t working

export.dhtmlx.com is currently unable to handle this request.

HTTP ERROR 500


#5

I have the same problem.

I found a workaround.

This is NG.

scheduler.exportToPDF();

This is OK.

scheduler.exportToPDF({
  version: '5.3.8'
});

Can I use this way?
I’m concerned that whether it violates the license because my version is 4.4.9.


#6

Hello @victor7 @plasma0713

Thanks for details. We checked the issue and found out that it occurs in Scheduler versions < 5.0.
Now it is fixed, please check if export works correctly in you app.

Best regards


#7

Hi @Polina ,

It is working fine now. Thank you for your help

Stay safe.