vSphere

 View Only
Expand all | Collapse all

503 Service Unavailable (Error connecting tunnel on named pipe: (null)) (ticket wmks)

  • 1.  503 Service Unavailable (Error connecting tunnel on named pipe: (null)) (ticket wmks)

    Posted Aug 23, 2017 03:07 PM

    Hello, I'm trying to use the html5 sdk console from vmware to externally manage the machines, I have used the sample code and fulfilled the necessary requirements, but I am not getting success in running, it gives the following error 503.

    Does anyone know how I can solve it?

    503 Service Unavailable (Error connecting tunnel on named pipe: (null))

    ​Code:

    <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Strict//EN"

    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8" />

    <title>Console</title>

    </head>

    <body>

    <link rel="stylesheet" type="text/css" href="css/wmks-all.css" />

    <script type="text/javascript" src="https://code.jquery.com/jquery-1.8.3.min.js"></script>

    <script type="text/javascript" src="https://code.jquery.com/ui/1.8.16/jquery-ui.min.js"></script>

    <script type="text/javascript" src="wmks.min.js"></script>

    <div id="wmksContainer" style="position:absolute;width:100%;height:100%"></div>

    <script>

    var wmks = WMKS.createWMKS("wmksContainer",{})

    .register(WMKS.CONST.Events.CONNECTION_STATE_CHANGE, function(event,data){

    if(data.state == WMKS.CONST.ConnectionState.CONNECTED){

      console.log("connection state change : connected");}

    });

    wmks.connect("wss://ip:443/ticket/ticketnumber");

    </script>

    </body>

    </html>

    Remember that the version of my vmware is 6.0

    If someone knows how to solve thank you right away.



  • 2.  RE: 503 Service Unavailable (Error connecting tunnel on named pipe: (null)) (ticket wmks)

    Posted Dec 28, 2018 01:00 PM

    Hi,

    Please follow this url "HTML Console SDK 2.1 fails to initialize " to resolve this issue. I had same issue, i followed given instruction and fixed this issue.