dhis2-cdn.org script resource query

Hi Devs

We’ve embedded a chart using v2.28 but embedded script resource [//dhis2-cdn.org/v228/plugin/chart.js] is giving us error 522 (origin connection timeout). I’ve noticed a hosting error to this path. Any suggestions or workarounds?

Kind Regards,

Greg

···

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

Hi Greg

You could reference the library from the dhis2 instance you are running.

Something like src="…/dhis-web-visualizer/chart.js">

as the lib is in the visualizer app.

Kind regards

Pooben

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

···

On Wed, May 30, 2018 at 7:26 AM, Greg Rowles greg.rowles@gmail.com wrote:

Hi Devs

We’ve embedded a chart using v2.28 but embedded script resource [//dhis2-cdn.org/v228/plugin/chart.js] is giving us error 522 (origin connection timeout). I’ve noticed a hosting error to this path. Any suggestions or workarounds?

Kind Regards,

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

Greg


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Thanks Pooben, got it to work…

···

On Wed, May 30, 2018 at 7:35 AM, Pooben Dass pooben@hisp.org wrote:

Hi Greg

You could reference the library from the dhis2 instance you are running.

Something like src="…/dhis-web-visualizer/chart.js">

as the lib is in the visualizer app.

Kind regards

Pooben

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.

On Wed, May 30, 2018 at 7:26 AM, Greg Rowles greg.rowles@gmail.com wrote:

Hi Devs

We’ve embedded a chart using v2.28 but embedded script resource [//dhis2-cdn.org/v228/plugin/chart.js] is giving us error 522 (origin connection timeout). I’ve noticed a hosting error to this path. Any suggestions or workarounds?

Kind Regards,

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

Greg


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

For the record it seem dhis2-cdn.org is not working at all. I’ve just discovered an app that previously worked fine is also experiencing issues referencing files on that domain…

···

On Wed, May 30, 2018 at 7:45 AM, Greg Rowles greg.rowles@gmail.com wrote:

Thanks Pooben, got it to work…

On Wed, May 30, 2018 at 7:35 AM, Pooben Dass pooben@hisp.org wrote:

Hi Greg

You could reference the library from the dhis2 instance you are running.

Something like src="…/dhis-web-visualizer/chart.js">

as the lib is in the visualizer app.

Kind regards

Pooben

This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.


Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

On Wed, May 30, 2018 at 7:26 AM, Greg Rowles greg.rowles@gmail.com wrote:

Hi Devs

We’ve embedded a chart using v2.28 but embedded script resource [//dhis2-cdn.org/v228/plugin/chart.js] is giving us error 522 (origin connection timeout). I’ve noticed a hosting error to this path. Any suggestions or workarounds?

Kind Regards,

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles

Greg


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Health Information Systems Program - South Africa

**- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - - - ****- - - - - **

Mobile : 073 246 2992
Landline: 021 851 2216

Skype: gregory_rowles