Jenkins pipeline fails with InterruptedException while waiting for websocket connection

Solution Verified - Updated -

Issue

  • How to resolve the below error faced while running Jenkins pipeline?
java.lang.InterruptedException
    <..snip..>
Caused: java.io.IOException: Interrupted while waiting for websocket connection, you should increase the Max connections to Kubernetes API
    <..snip..>
Finished: FAILURE

Environment

  • Red Hat Openshift Container Platform
    • 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content