BaderLab / GenomeClinic-PGX

Web application for clinical pharmacogenomic interpretation
GNU Lesser General Public License v3.0
9 stars 2 forks source link

Broken report generation #181

Closed maxkfranz closed 8 years ago

maxkfranz commented 8 years ago

When generating the report:

phantom stdout: NETWORK_ERR: XMLHttpRequest Exception 101: A network error occurred in synchronous requests.

phantom stdout:   phantomjs://code/shim.js:1815 in send

phantom stdout:   phantomjs://code/shim.js:1815 in _start

phantom stdout:   phantomjs://code/shim.js:1842

phantom stdout: NETWORK_ERR: XMLHttpRequest Exception 101: A network error occurred in synchronous requests.

phantom stdout:   phantomjs://code/shim.js:1815 in send

phantom stdout:   phantomjs://code/shim.js:1815 in _start

phantom stdout:   phantomjs://code/shim.js:1842

The phantom package should be updated to v2: https://github.com/amir20/phantomjs-node

In v2, options can be set to disable CORS checks: http://stackoverflow.com/questions/15913170/phantom-js-synchronous-ajax-request-network-err-xmlhttprequest-exception-101

e.g.:

phantom.create(['--web-security=no', '--ignore-ssl-errors=yes']).then(...)