Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 1860

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>