Question: Galaxy GIE - Can't load data with phinch
0
gravatar for cyprien.zouaoui.ext
6 months ago by
cyprien.zouaoui.ext10 wrote:

Hello,

I have a galaxy instance (v 17.09) served by apache. I followed the documentation to set up GIE's and everything works fine except for Phinch. The docker image and the Phinch home page are loaded but the data can't be proceed.

I have the following message in the web console :

jquery-1.10.1.min.js:6 Mixed Content: The page at 'https://galaxy-test.fr/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://galaxy-test.fr/gie_proxy/phinch/phinch/data/dataset_1.dat'.

This request has been blocked; the content must be served over HTTPS.

This problem is not present with R-Studio or Jupyter. I don't know where this url "http://galaxy-test.fr/gie_proxy/phinch/phinch/data/dataset_1.dat" is generated and if this is possible to replace 'http' with 'https'. Or maybe there is another way to fix this.

Thanks for your help.

galaxy • 182 views
ADD COMMENTlink modified 6 months ago • written 6 months ago by cyprien.zouaoui.ext10
1
gravatar for cyprien.zouaoui.ext
6 months ago by
cyprien.zouaoui.ext10 wrote:

Ok I found the problem. The url is generated inside readFile.js from the phinch docker image :

hostURL = 'http://' + window.location.host + window.location.pathname.substr(0, window.location.pathname.lastIndexOf('/')); testfile = hostURL + '/data/'+'REPLACE_ME';

Replacing hardcoded 'http' with 'https' works for me. I will warn the person who developed the tool.

ADD COMMENTlink modified 6 months ago • written 6 months ago by cyprien.zouaoui.ext10
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 184 users visited in the last hour