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

AttributeError: module 'ssl' has no attribute 'match_hostname' #158

Open
mistermax80 opened this issue Nov 24, 2024 · 0 comments
Open

AttributeError: module 'ssl' has no attribute 'match_hostname' #158

mistermax80 opened this issue Nov 24, 2024 · 0 comments

Comments

@mistermax80
Copy link

/srv/projects/singer-io$ tap-mysql --config config.json --discover
Traceback (most recent call last):
File "/srv/projects/singer-io/venv/bin/tap-mysql", line 5, in
from tap_mysql import main
File "/srv/projects/singer-io/venv/lib/python3.12/site-packages/tap_mysql/init.py", line 24, in
import tap_mysql.sync_strategies.binlog as binlog
File "/srv/projects/singer-io/venv/lib/python3.12/site-packages/tap_mysql/sync_strategies/binlog.py", line 21, in
from tap_mysql.connection import connect_with_backoff, MySQLConnection, make_connection_wrapper
File "/srv/projects/singer-io/venv/lib/python3.12/site-packages/tap_mysql/connection.py", line 17, in
match_hostname = ssl.match_hostname
^^^^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'match_hostname'

I used venv python 3.12.x

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

1 participant