I am trying to add new library to mbed with mbed IDE. But sudden i am getting this error. I was able to add library earlier. But recently its stopped working. Now not able to add any library. Can anyone please help?
Request revision failed with message: Result code from Hg command line: 255. Error: abort: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1051)
Mbed studio version: 1.3.1
Mbed os version: 6.3.0
Hi chintanjoshi,
which OS are you using?
Can you try adding the same library using https?
Thanks,
Federico - Mbed Studio team
Hello @federicobozzini , Thanks for the reply.
OS: I am using ubuntu 18.04 64 bit.
I have tried with https also, but giving me same error.
Thanks for providing this information.
Can you please post the content of your .hrgc
file? It should be in your home directory, but it can also not exist at all.
Also, have you recently changed your firewall configuration?
It would be interesting if you are able to clone this repository using just mercurial. You can try this by running ~/.config/Mbed\ Studio/mbed-studio-tools/python/bin/hg clone http://os.mbed.com/users/Sissors/code/FastPWM
Thank you,
Federico - Mbed Studio team
I am not able to find .hgrc in home directory.
When i tried to clone FastPWM from your command i am getting below error,
Command 'hg' not found, but can be installed with
apt install mercurial
Please ask your administrator.
But hg executable available in bin directory. Please check attached screenshot
Hi chintanjoshi,
to run the command directly from that folder you need to use ./hg
. So the command would be ./hg clone http://os.mbed.com/users/Sissors/code/FastPWM
.
Thanks for investigating this,
Federico - Mbed Studio team
Hello issue is now resolved. Recently we have changed firewall configuration so its self signed certificate issue. Currently we have excluded it. So able to add library in ide. Thank you.
It’s great to hear that.
Have a nice day.
Federico - Mbed Studio team