<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
  <meta name="Generator" content="Zarafa WebApp v7.1.10-44973">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>ovirt-websocket-proxy uses the wrong IP</title>
</head>
<body>
<font size="2" face="tahoma">Hello,<br><br>One of my nodes </font><font size="2" face="tahoma">has two IP addresses, 10.42.0.101 and 10.42.0.103. Ovirt is configured to use 10.42.0.101, yet the ovirt-websocket-proxy service tries to connect to 10.42.0.103, where no VNC server is listening.<br><br>Is there any way I can configure it to use the correct address?<br><br>[root@engine ~]# /usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.py --debug start<br>ovirt-websocket-proxy[1838] DEBUG _daemon:403 daemon entry pid=1838<br>ovirt-websocket-proxy[1838] DEBUG _daemon:404 background=False<br>ovirt-websocket-proxy[1838] DEBUG loadFile:70 loading config '/usr/share/ovirt-engine/services/ovirt-websocket-proxy/ovirt-websocket-proxy.conf'<br>ovirt-websocket-proxy[1838] DEBUG loadFile:70 loading config '/etc/ovirt-engine/ovirt-websocket-proxy.conf.d/10-setup.conf'<br>ovirt-websocket-proxy[1838] DEBUG _daemon:440 I am a daemon 1838<br>ovirt-websocket-proxy[1838] DEBUG _setLimits:377 Setting rlimits<br>WebSocket server settings:<br>&nbsp; - Listen on *:6100<br>&nbsp; - Flash security policy server<br>&nbsp; - SSL/TLS support<br>&nbsp; - Deny non-SSL/TLS connections<br>&nbsp; - proxying from *:6100 to targets in /dummy<br><br>&nbsp; 1: 10.42.0.1: new handler Process<br>&nbsp; 1: 10.42.0.1: SSL/TLS (wss://) WebSocket connection<br>&nbsp; 1: 10.42.0.1: Version hybi-13, base64: 'True'<br>&nbsp; 1: 10.42.0.1: Path: '/eyJ2YWxpZFRvIjoiMjAxNDExMTUyMTI1MDgiLCJkYXRhIjoiJTdCJTIyaG9zdCUyMjolMjIxMC40Mi4wLjEwMyUyMiwlMjJwb3J0JTIyOiUyMjU5MDElMjIsJTIyc3NsX3RhcmdldCUyMjpmYWxzZSU3RCIsInZhbGlkRnJvbSI6IjIwMTQxMTE1MjEyMzA4Iiwic2lnbmVkRmllbGRzIjoidmFsaWRUbyxkYXRhLHZhbGlkRnJvbSxzYWx0Iiwic2lnbmF0dXJlIjoiajRQUmxwYjBvT0dOZUNPaHZKK01wUTVrVGRMYVA0Sm8zRDIzTGlXRlZYRm4xNU9KN0NZVmw5OTBpNTBUNzlVZkpqUzRlRmZ1SHJhT1c4TlFNbXIwanZXSUpTWCtnL3RYSnc4MWRFS2wrcFVPVHo3MWlmY2dTbXdITmptOUkwTTl6Q0NNR2dvbE1BRzZwMndFbDFySDdSZkhMWnIvOGo4bnpnVGZ0NlhaOTdBcHgyejhkMlo0UjRmdklXemtXMjErMDdsNWw4dXpNVytEM1FmaWdDS1Q3V3VKdlFHNi9SSC9zZWRBWHJXcnFUNXYzTHNuNVl0MWtYb2lGV3ZYOHNUdE5PdGdvQWk3eGN5WUhGaEM1ei9SMjZXNEkrSlJNcDZlVDNxbWVlZnM0eWRSN0NpZWwzZWZvZDB5TU9meGJwMG9EMGlscXVWUWVjK1JxeGxqd21ZVG5BPT0iLCJzYWx0IjoiWGhVQ1dYL2hQU1U9In0='<br>&nbsp; 1: connecting to: 10.42.0.103:5901<br>&nbsp; 1: handler exception: [Errno 111] Connection refused<br>&nbsp; 1: Traceback (most recent call last):<br>&nbsp; File "/usr/lib/python2.6/site-packages/websockify/websocket.py", line 711, in top_new_client<br>&nbsp;&nbsp;&nbsp; self.new_client()<br>&nbsp; File "/usr/lib/python2.6/site-packages/websockify/websocketproxy.py", line 183, in new_client<br>&nbsp;&nbsp;&nbsp; connect=True, use_ssl=self.ssl_target, unix_socket=self.unix_target)<br>&nbsp; File "/usr/lib/python2.6/site-packages/websockify/websocket.py", line 188, in socket<br>&nbsp;&nbsp;&nbsp; sock.connect(addrs[0][4])<br>&nbsp; File "&lt;string&gt;", line 1, in connect<br>error: [Errno 111] Connection refused<br><br><br>Regards,<br><br>mots<br></font>
</body>
</html>