CertificateError: hostname 'github.com' doesn't match 'jupyterhubtest.genomespace.org'
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/9be93e9b-d486-4546-ac60-c29ceebf7c3d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
environ({
'HOSTNAME': '0955ba141195',
'GS_CODE_ROOT_DIR': '/combined',
'LANGUAGE': 'en_US.UTF-8',
'PATH': '/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'LANG': 'en_US.UTF-8',
'CLICOLOR': '1',
'JPY_HUB_API_URL': 'http://10.0.2.188:8081/hub/api',
'JPY_BASE_URL': '/user/ted',
'HOME': '/home/jovyan',
'JPY_COOKIE_NAME': 'jupyter-hub-token-ted',
'PWD': '/home/jovyan/work',
'JPY_HUB_PREFIX': '/hub/',
'NB_USER': 'jovyan',
'CONDA_DIR': '/opt/conda',
'JPY_USER': 'ted',
'GIT_PAGER': 'cat',
'PYTHONPATH': '/combined/jupyter-notebook/profile/extensions',
'DEBIAN_FRONTEND': 'noninteractive',
'JPY_PARENT_PID': '5',
'TERM': 'xterm-color',
'GS_NOTEBOOK_EXTENSION_DIR': '/combined/jupyter-notebook/profile/extensions',
'PAGER': 'cat',
'NB_UID': '1000',
'LC_ALL': 'en_US.UTF-8',
'SHELL': '/bin/bash'})
and the nslookup is the same in both the docker container and the host AMI
$ nslookup github.com
Server: 10.0.0.2
Address: 10.0.0.2#53
Non-authoritative answer:
Name: github.com
Address: 192.30.253.112
What do you see in
!curl -v https://github.com > /dev/null
?
It’s certainly odd that requests is connecting to something funny.
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/a25894e4-82af-4a9e-a993-0426ad6a2437%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
$ sudo iptables -t nat -A PREROUTING -p tcp --dport 443 -j REDIRECT --to 8443