conan-io / meta-conan

Yocto layer for the Conan project
23 stars 28 forks source link

Unable to connect to conancenter=https://center.conan.io #40

Open heavyweight87 opened 1 year ago

heavyweight87 commented 1 year ago

Hi,

I get the following errors when trying to use conan within a recipe

ERROR: HTTPSConnectionPool(host='center.conan.io', port=443): Max retries exceeded with url: /v1/ping (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff80c5164a0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

Unable to connect to conancenter=https://center.conan.io

It happens also with my own remote also

Outside of yocto I can use the remote with conan fine. It seems that its only when running conan commands from bitbake

Is there anything special conan does when using with Yocto? Any idea what may be causing this?

memsharded commented 1 year ago

Hi @heavyweight87,

Thanks for your question. We are not aware of such a limitation, it seems something on the yocto side indeed. Is there some way you can do a curl https://center.conan.io on yocto execution, to validate if it has some connectivity issue to the outside?