Skip to content

Plotly not listed as a dep, and http served sylesheet is blocked #16

@iamh2o

Description

@iamh2o

Hello-

I have been unable to get fastv to render any visualizations, and realized from the example reports that plotly was being used, but not listed as a dependency. Does it need to be on the command line for the reports to render (I am using v0.10, built from source on ubuntu 18. Reports are generated, just no graphics.

I then looked in electron, and see this error message:
fastv.html:1 Mixed Content: The page at 'https://web.clvr.locusdev.net/external_data/research_e0xperiments/EX4712/RU28524/raw_data/fastvv/fastv.html' was loaded over HTTPS, but requested an insecure script 'http://opengene.org/plotly-1.2.0.min.js'. This request has been blocked; the content must be served over HTTPS.

It appears that at least in my network envirionment, the plotly-1.2.0.min.js is being blocked b/c it is not serve via https. I expect this problem is experienced more widely.

I'm going to hack the html to point at a local copy of the js for the time being with a perl regex. * This didn't work b/c of certificate issues. So, my solution was to

wget https://opengene.org/plotly-1.2.0.min.js
to a central location, and have the <script/> tag point to this copy, which did work!
<script src='./plotly-1.2.0.min.js'></script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions