Is this caused by the connection handling in Cognite SDK? I’m using the following Python modules:
cognite-sdk-4.11.0
cognite-sdk-core-2.56.1
Best answer by Håkon V. Treider
A bit of a weird stack trace, very short? Only file mentioned is from yaml lib, which surely can’t be the cause? From googling around, it seems completely safe to just silence this particular warning, see e.g. https://github.com/boto/boto3/issues/454#issuecomment-324782994
I’m not sure if it solves your problem, but you should remove the “cognite-sdk-core” package. With SDK >v4 it was removed so it might cause issues to have both packages installed.
I removed cognite-sdk-core, but the warning remains.
I’m running the code on my local machine at work. I assume I’m behind a company firewall, but I’m getting the same warning when I’m on my home network as well.
A bit of a weird stack trace, very short? Only file mentioned is from yaml lib, which surely can’t be the cause? From googling around, it seems completely safe to just silence this particular warning, see e.g. https://github.com/boto/boto3/issues/454#issuecomment-324782994
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.