Skip to content

Cannot download resource due to DH_KEY_TOO_SMALL #41

@cgbahk

Description

@cgbahk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions