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

Cannot download resource due to DH_KEY_TOO_SMALL #41

Open
cgbahk opened this issue Feb 13, 2024 · 0 comments
Open

Cannot download resource due to DH_KEY_TOO_SMALL #41

cgbahk opened this issue Feb 13, 2024 · 0 comments

Comments

@cgbahk
Copy link

cgbahk commented Feb 13, 2024

I tried to use opus_get

Tried the most simple command from README:

$ opus_get --directory RF --source en --target sv

Downloading 3 file(s) with the total size of 121 KB. Continue? (y/n) y
Unable to retrieve the data.

When debugged, error comes like this.

except urllib.error.URLError as e:
print('Unable to retrieve the data.')
return

>>> e
URLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:1007)'))

I guess it is due to old policy of data server..?

Reported environment (if it helps):

  • Ubuntu 22.04
  • python 3.10.12
  • opustools pip version: 1.6.1
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