kaldi-asr / kaldi

kaldi-asr/kaldi is the official location of the Kaldi project.
http://kaldi-asr.org
Other
14.24k stars 5.32k forks source link

Certificate error while downloading cmudict in GigaSpeech recipe #4651

Closed farisalasmary closed 3 years ago

farisalasmary commented 3 years ago

When I ran the GigaSpeech recipe, I encountered this error:

======Prepare Dictionary START | current time : 2021-10-25-07:18:52====
local/prepare_dict.sh: Downloading and preparing CMUdict
Error validating server certificate for 'https://svn.code.sf.net:443':
 - The certificate is not issued by a trusted authority. Use the
   fingerprint to validate the certificate manually!
Certificate information:
 - Hostname: code.sourceforge.net
 - Valid: from Aug 27 03:05:30 2021 GMT until Nov 25 03:05:29 2021 GMT
 - Issuer: FG6H1ETB20902272, Certificate Authority, Fortinet, Sunnyvale, California, US(support@fortinet.com)
 - Fingerprint: EF:AC:9A:23:46:E0:33:4E:E6:D1:15:02:BA:7D:5E:37:BD:C3:B3:CB
(R)eject, accept (t)emporarily or accept (p)ermanently? p
svn: E170013: Unable to connect to a repository at URL 'https://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict'
svn: E175013: Access to '/p/cmusphinx/code/trunk/cmudict' forbidden

As a solution, I changed https to http in line 41svn co -r 12440 http://svn.code.sf.net/p/cmusphinx/code/trunk/cmudict in local/prepare_dict.sh and it worked!

@danpovey @chenguoguo

kkm000 commented 3 years ago

I see a different cert, issued by Let's Encrypt, CN code.sourceforge.net, svn.code.sf.net is among alt subject, validity from Fri, 27 Aug 2021 03:05:30 GMT to Thu, 25 Nov 2021 03:05:29 GMT.

This is a network issue, more likely on your side. If you use work computer, see if you can connect from your personal phone over wireless internet, and examine the cert. It's possible that you have a borked security appliance at the edge of your business/institution network. If so, open an issue with the IT. fortinet.com is suggestive of this.

I am closing this issue for now. If you believe that your issue has not been addressed, please feel free to ping me, and I'll reopen it. @-mention me for a faster response!