# Paraview glance from URL

**URL:** https://discourse.paraview.org/t/paraview-glance-from-url/8521
**Category:** Web Support
**Created:** [November 30, 2021, 6:17pm UTC](https://discourse.paraview.org/t/paraview-glance-from-url/8521 "2021-11-30T18:17:45Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![dave3d](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dave3d/32/2549_2.png) [@dave3d](https://discourse.paraview.org/u/dave3d)
#### Post date: [November 30, 2021, 6:17pm UTC](https://discourse.paraview.org/t/paraview-glance-from-url/8521/1 "2021-11-30T18:17:45Z")

</div>

I’m trying to get Paraview Glance to load my volume from a URL, and it doesn’t seem to work. I think it tries and then just pops up the load window. Here’s my URL:

[https://kitware.github.io/paraview-glance/app/?name=teapot.nrrd&url=https://data.kitware.com/#item/6192bb542fa25629b9c0db76](https://kitware.github.io/paraview-glance/app/?name=teapot.nrrd&url=https://data.kitware.com/#item/6192bb542fa25629b9c0db76)

I noticed that when I try to load the example data sets on the Glance webpage, the same thing happens. They also fail to load and just pop up the load window.

---

<div class="post-metadata">

### Author: ![Forrest\_Li](https://discourse.paraview.org/user_avatar/discourse.paraview.org/forrest_li/32/1935_2.png) [@Forrest\_Li](https://discourse.paraview.org/u/Forrest_Li)
#### Post date: [November 30, 2021, 11:11pm UTC](https://discourse.paraview.org/t/paraview-glance-from-url/8521/2 "2021-11-30T23:11:58Z")

</div>

Try this link: [https://kitware.github.io/paraview-glance/app/?name=teapot.nrrd&url=https://data.kitware.com/api/v1/file/6192bb542fa25629b9c0db78/download](https://kitware.github.io/paraview-glance/app/?name=teapot.nrrd&url=https://data.kitware.com/api/v1/file/6192bb542fa25629b9c0db78/download). You are linking to the data page for the dataset, not the direct download link.

The examples load for me. What browser and version are you using?

---

<div class="post-metadata">

### Author: ![dave3d](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dave3d/32/2549_2.png) [@dave3d](https://discourse.paraview.org/u/dave3d)
#### Post date: [December 1, 2021, 1:49pm UTC](https://discourse.paraview.org/t/paraview-glance-from-url/8521/3 "2021-12-01T13:49:07Z")

</div>

Thanks for fixing my URL. It does now work for me.

The examples still don’t load for me. I tried Safari (15.1 and 15.0) and Chrome (96.0.4664.55) on a two different Macs.

---

<div class="post-metadata">

### Author: ![dave3d](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dave3d/32/2549_2.png) [@dave3d](https://discourse.paraview.org/u/dave3d)
#### Post date: [February 11, 2022, 7:30pm UTC](https://discourse.paraview.org/t/paraview-glance-from-url/8521/4 "2022-02-11T19:30:43Z")

</div>

Hello again.

We are investigating using Paraview Glance for viewing DICOM and meshes on the NIH 3D Print Exchange. As a test, I was trying to load a surface model from 3d STL file on our server. For some reason it will not load.

Here’s the sample file I was trying to load:  
[https://3dprint.nih.gov/sites/default/files/models/pdb\_files/PDB-5W3D-ribbon.stl](https://3dprint.nih.gov/sites/default/files/models/pdb_files/PDB-5W3D-ribbon.stl)

And here’s my Paraview Glance URL:

> **[ParaView Glance](https://kitware.github.io/paraview-glance/app/?name=ribbon.stl&url=https:%2F%2F3dprint.nih.gov%2Fsites%2Fdefault%2Ffiles%2Fmodels%2Fpdb_files%2FPDB-5W3D-ribbon.stl)**
>
> Data Viewer in a browser

I can pull the STL file ok with ‘curl’, but PG doesn’t seem to get it.

Any ideas? Thanks.

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [February 12, 2022, 12:41am UTC](https://discourse.paraview.org/t/paraview-glance-from-url/8521/5 "2022-02-12T00:41:51Z")

</div>

CORS limitation from your server.

```auto
Access to XMLHttpRequest at 'https://3dprint.nih.gov/sites/default/files/models/pdb_files/PDB-5W3D-ribbon.stl' from origin 'https://kitware.github.io' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://d2z471btmx6vaz.cloudfront.net' that is not equal to the supplied origin.

```

---

<div class="post-metadata">

### Author: ![dave3d](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dave3d/32/2549_2.png) [@dave3d](https://discourse.paraview.org/u/dave3d)
#### Post date: [February 12, 2022, 1:40am UTC](https://discourse.paraview.org/t/paraview-glance-from-url/8521/6 "2022-02-12T01:40:59Z")

</div>

OK, thanks. I’ll talk to the server people and see if that can be fixed.

---

<div class="post-metadata">

### Author: ![jourdain](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jourdain/32/11_2.png) [@jourdain](https://discourse.paraview.org/u/jourdain)
#### Post date: [February 12, 2022, 4:31pm UTC](https://discourse.paraview.org/t/paraview-glance-from-url/8521/7 "2022-02-12T16:31:32Z")

</div>

An another option is to host and serve glance from the same domain.

---

<div class="post-metadata">

### Author: ![Gurupada](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/df788c/32.png) [@Gurupada](https://discourse.paraview.org/u/Gurupada)
#### Post date: [January 23, 2024, 6:49am UTC](https://discourse.paraview.org/t/paraview-glance-from-url/8521/8 "2024-01-23T06:49:14Z")

</div>

Hi,

I am trying to load a .vtk into paraview glance which is hosted on a dedicated domain. But, the api I am trying to access via the ‘url’ parameter is token protected (the file api is also hosted under the same domain). How can I pass the token along with the ‘url’ parameter in glance.

Any inputs will be helpful.

Thanks
