Hey man, I had the same issue with the same error logs in the pulpcore workers and I did the following :
You can check out the thread to get more information about it.
I also ran foreman-installer --foreman-proxy-content-enable-katello-agent=false
to remove any traces of the Katello agent as I didn’t use it. You should do that as well if you don’t use the katello agent