Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iamh2o opened this issue Aug 26, 2021 · 0 comments
Open

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

iamh2o opened this issue Aug 26, 2021 · 0 comments

Comments

@iamh2o
Copy link

iamh2o commented Aug 26, 2021

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant