Skip to content

internel-ssl broken after upgrade to 5.0.0-beta.1 #583

@Jefffrey

Description

@Jefffrey

Bug description

When running configurable-http-proxy 5.0.0-beta.1 with Jupyterhub where internal ssl config is enabled, unable to query the proxy correctly, getting error:

  • In proxy, error: ERR_SSL_TLSV13_ALERT_CERTIFICATE_REQUIRED
  • In Jupyterhub, error: PEER_DID_NOT_RETURN_A_CERTIFICATE

How to reproduce

Run jupyerhub, then curl the /hub/health endpoint

Expected behaviour

Expect 200

Actual behaviour

Get 503 with above errors in logs

Your personal set up

Running Jupyterhub in docker container

  • OS:
  • Version(s): Python 3.11, Jupyterhub 4.1.6
Full environment
# paste output of `pip freeze` or `conda list` here
Configuration
# jupyterhub_config.py
import socket

JupyterHub.proxy_class = 'jupyterhub.proxy.ConfigurableHTTPProxy'
JupyterHub.internal_ssl = True
JupyterHub.internal_certs_location = 'internal-ssl'
JupyterHub.trusted_alt_names = ['IP:' + socket.gethostbyname(socket.gethostname())]
Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions