jupyterhub / jupyterhub/nativeauthenticator

SSL: WRONG_VERSION_NUMBER

Open
#265 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
81
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Hi,

I'm trying to enable allow_self_approval, but I'm facing this error :
```
20:36:49.279 [ConfigProxy] debug: PROXY WEB /hub/signup to http://jupyterhub:8081
[E 2024-02-22 20:36:49.526 JupyterHub nativeauthenticator:357] [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1007)

```

In the following, my configuration :

```
c.NativeAuthenticator.allow_self_approval_for = '[^@]+@hotmail\.com$'
c.NativeAuthenticator.secret_key = "your-arbitrary-key-your-arbitrary-key-your-arbitrary-key-your"
c.NativeAuthenticator.self_approval_email = (
"user.one@comp.fr",
"approval_link",
"email body including https://hotmail.com{approval_url}",
)
c.NativeAuthenticator.self_approval_server = {
'url': 'smtp.comp.fr',
'usr': 'user.one',
'pwd': '123456789'
}
```

Contributor guide

Open the contributing guide

Research direction

Start at the nativeauthenticator:357 log entry and inspect how the self-approval email configuration reaches the configured smtp.comp.fr server. Reproduce the signup flow with allow_self_approval enabled, then determine what configuration or connection change prevents [SSL: WRONG_VERSION_NUMBER] and allows the approval email to be sent.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.