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

Error publishing to connect server, too many redirects #368

Open
pelacables opened this issue Oct 16, 2023 · 2 comments
Open

Error publishing to connect server, too many redirects #368

pelacables opened this issue Oct 16, 2023 · 2 comments

Comments

@pelacables
Copy link

Hi all,

I'm facing an issue while trying to publish a python app from jupyterhub to a connect server hosted in the same network.
We have a company proxy configured as environment variable:

NO_PROXY=localhost,*.company_domaincom,10.,10.*,172.20.,172.20.*,0,1,2,3,4,5,6,7,8,9
HTTPS_PROXY=http://proxy:80
no_proxy=localhost,*.company_domaincom,10.,10.*,172.20.,172.20.*,0,1,2,3,4,5,6,7,8,9
https_proxy=http://proxy:80

and when trying to publish it says:

image

If I unset the proxy, it works.
Seems like it does not honorate the NO_PROXY env variable?

pip list:

alembic                   1.12.0
anyio                     4.0.0
argon2-cffi               23.1.0
argon2-cffi-bindings      21.2.0
arrow                     1.2.3
asttokens                 2.4.0
async-generator           1.10
async-lru                 2.0.4
attrs                     23.1.0
Babel                     2.12.1
backcall                  0.2.0
batchspawner              1.2.0
beautifulsoup4            4.12.2
bleach                    6.0.0
certifi                   2023.7.22
certipy                   0.1.3
cffi                      1.16.0
charset-normalizer        3.2.0
click                     8.1.7
comm                      0.1.4                                                                                                    
cryptography              41.0.4
debugpy                   1.8.0
decorator                 5.1.1
defusedxml                0.7.1
entrypoints               0.4
executing                 1.2.0
fastjsonschema            2.18.0
fqdn                      1.5.1
greenlet                  2.0.2
idna                      3.4
ipykernel                 6.25.2
ipython                   8.15.0
ipython-genutils          0.2.0
ipywidgets                8.1.1
isoduration               20.11.0
jedi                      0.19.0
Jinja2                    3.1.2
json5                     0.9.14
jsonpointer               2.4
jsonschema                4.19.1
jsonschema-specifications 2023.7.1
jupyter                   1.0.0
jupyter_client            7.4.9
jupyter-console           6.6.3
jupyter_core              5.3.2
jupyter-events            0.7.0
jupyter-lsp               2.2.0
jupyter_server            2.7.3
jupyter_server_terminals  0.4.4
jupyter-telemetry         0.1.0
jupyterhub                4.0.2
jupyterlab                4.0.6
jupyterlab-pygments       0.2.2
jupyterlab_server         2.25.0
jupyterlab-widgets        3.0.9
Mako                      1.2.4
MarkupSafe                2.1.3
matplotlib-inline         0.1.6
mistune                   3.0.1
nbclassic                 1.0.0
nbclient                  0.8.0
nbconvert                 7.8.0
nbformat                  5.9.2
nest-asyncio              1.5.8
notebook                  6.5.6
notebook_shim             0.2.3
oauthenticator            16.1.0
oauthlib                  3.2.2
overrides                 7.4.0
packaging                 23.1
pamela                    1.1.0
pandocfilters             1.5.0
parso                     0.8.3
pexpect                   4.8.0
parso                     0.8.3
pexpect                   4.8.0
pickleshare               0.7.5
pip                       22.3.1
platformdirs              3.10.0
prometheus-client         0.17.1
prompt-toolkit            3.0.39
psutil                    5.9.5
ptyprocess                0.7.0
pure-eval                 0.2.2
pycparser                 2.21
pycurl                    7.45.2
Pygments                  2.16.1
PyJWT                     2.8.0
pyOpenSSL                 23.2.0
python-dateutil           2.8.2
python-json-logger        2.0.7
PyYAML                    6.0.1
pyzmq                     24.0.1
qtconsole                 5.4.4
QtPy                      2.4.0
referencing               0.30.2
requests                  2.31.0
rfc3339-validator         0.1.4
rfc3986-validator         0.1.1
rpds-py                   0.10.3
rsconnect-jupyter         1.8.0
rsconnect-python          1.20.0
ruamel.yaml               0.17.33
ruamel.yaml.clib          0.2.7
semver                    2.13.0
Send2Trash                1.8.2
setuptools                65.5.0
six                       1.16.0
sniffio                   1.3.0
soupsieve                 2.5
SQLAlchemy                2.0.21
stack-data                0.6.2
terminado                 0.17.1
tinycss2                  1.2.1
tornado                   6.3.3
traitlets                 5.10.1
typing_extensions         4.8.0
uri-template              1.3.0
urllib3                   2.0.5
wcwidth                   0.2.7
webcolors                 1.13
webencodings              0.5.1
websocket-client          1.6.3
widgetsnbextension        4.0.9
wrapspawner               1.0.1
@mmarchetti
Copy link
Contributor

Thank you for reporting this. rsconnect-jupyter uses rsconnect-python's API layer to access the server. NO_PROXY support was recently added there with this PR so it will be present in the next release.

@pelacables
Copy link
Author

thanks

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

2 participants