diff --git a/userspace/libsinsp/cri.hpp b/userspace/libsinsp/cri.hpp index c591ad997c..3ed8293caa 100644 --- a/userspace/libsinsp/cri.hpp +++ b/userspace/libsinsp/cri.hpp @@ -33,8 +33,10 @@ namespace cri { template inline cri_interface::cri_interface(const std::string &cri_path) { + grpc::ChannelArguments args; + args.SetInt(GRPC_ARG_ENABLE_HTTP_PROXY, 0); std::shared_ptr channel = - libsinsp::grpc_channel_registry::get_channel("unix://" + cri_path); + libsinsp::grpc_channel_registry::get_channel("unix://" + cri_path, &args); m_cri = api::RuntimeService::NewStub(channel);