Hi,
I have got below message when i run ‘moku download’.
PS D:\PythonProject\Moku> moku download
Moku Client Version 3.1.1
ERROR: Unexpected error.
HTTPSConnectionPool(host=‘updates.liquidinstruments.com’, port=443): Max retries exceeded with url: /static/mokudata-587.md5 (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: EE certificate key too weak (_ssl.c:1000)’)))
Perhaps the company network restricts https access. Can I download moku data files directly?
Hello,
Would you mind giving this a try?
- Go this this link, your web browser will download the bitstreams:
https://updates.liquidinstruments.com/static/mokudata-587.tar.gz
- Open your Command Prompt Window and enter the following command:
where moku
The returned results should be a path looks like:
C:\Users\heyan\AppData\Local\Programs\Python\Python312\Scripts\moku.exe
-
Then, remove Scripts\moku.exe in the path and append Lib\site-packages\moku\data
-
Move the downloaded bitstreams file to the complete path:
C:\Users\heyan\AppData\Local\Programs\Python\Python312\Lib\site-packages\moku\data
Now, the bitstreams is downloaded and moved to the correct folder.
Thank you very much!
Thank you for your promt reply.
Let me try to install moku data fiels according to your instructions.
By the way, I met the same problem in matlab to download moku data file as below.
moku_download(587)
sun.net.www.protocol.https.DelegateHttpsURLConnection:https://updates.liquidinstruments.com/static/mokudata-587.md5
Response stream is undefined
below is a Java Error dump (truncated):
다음 사용 중 오류가 발생함: urlread2
Java exception occurred:
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to
requested target
오류 발생: Moku.get_remote_checksum (53번 라인)
[output, extras] = urlread2(chksum_url, ‘GET’, ‘’);
오류 발생: moku_download (7번 라인)
if strcmp(Moku.get_remote_checksum(fw), Moku.get_local_checksum(fw))
Best Regards.
Hi,
We have some customers have seen this issue before because the http access to this link is blocked.
The bitstreams can be configured in the following way:
- Download the bitstreams for firmware 587 using this link:
https://updates.liquidinstruments.com/static/mokudata-587.tar.gz
- Unzip the bitstreams file (.tar.gz file) twice until you see three folders:
moku20, mokugo, and mokupro
- Then copy these three folders to the following path:
C:\Users<username>\AppData\Roaming\Mathworks\MATLAB Add-Ons\Toolboxes\Moku-MATLAB\data
After that, moku-MATLAB should be working. Thank you very much for your time and patience!
Best regards,
Hank