I have seen a similar issue with the install-plugin command recently, In Jenkins 2.186. See https://issues.jenkins-ci.org/browse/JENKINS-29065.
That is unrelated.