jupyter / nbviewer

nbconvert as a web service: Render Jupyter Notebooks as static web pages
https://nbviewer.jupyter.org
Other
2.21k stars 546 forks source link

nbviewer https/http issue? #369

Closed petrushy closed 9 years ago

petrushy commented 9 years ago

Hi,

A notebook set that used to work I'm now getting: The error was: SSL certificate problem: unable to get local issuer certificate

I'm accessing it on the http address, but maybe nbviewer is using https instead?

The notebook is at: http://www.orekit.org/forge/projects/orekit-python-wrapper/repository/revisions/master/raw/examples/TLE%20Propagation.ipynb

The nbviewer url becomes: http://nbviewer.ipython.org/url/www.orekit.org/forge/projects/orekit-python-wrapper/repository/revisions/master/raw/examples/TLE%20Propagation.ipynb

Many thanks.

minrk commented 9 years ago

Your http server redirects to https, so the file is only accessible via https:

$> curl -v http://www.orekit.org/forge/projects/orekit-python-wrapper/repository/revisions/master/raw/examples/TLE%20Propagation.ipynb > /dev/null
<snip>
> GET /forge/projects/orekit-python-wrapper/repository/revisions/master/raw/examples/TLE%20Propagation.ipynb HTTP/1.1
> User-Agent: curl/7.37.1
> Host: www.orekit.org
> Accept: */*
> 
< HTTP/1.1 302 Found
< Date: Wed, 26 Nov 2014 21:01:42 GMT
< Location: https://www.orekit.org/forge/projects/orekit-python-wrapper/repository/revisions/master/raw/examples/TLE Propagation.ipynb

I'm not sure what's causing the error, though. CLI curl doesn't seem to complain.

bollwyvl commented 9 years ago

Appears to work now with either http or https: http://nbviewer.ipython.org/url/www.orekit.org/forge/projects/orekit-python-wrapper/repository/revisions/master/raw/examples/TLE%20Propagation.ipynb

http://nbviewer.ipython.org/urls/www.orekit.org/forge/projects/orekit-python-wrapper/repository/revisions/master/raw/examples/TLE%20Propagation.ipynb