Article ID: 129236, created on Aug 10, 2016, last review on Aug 11, 2016

  • Applies to:
  • Operations Automation 6.0

Symptoms

After installation of OA Update 8, OACI VE console is not working for all virtual environments on a specific Virtuozzo host.

The console shows the message:

Session Closed. Please click on Reset Console

/var/log/httpd/oaci_error_log log file on the hardware node, where VE is located, contains the following lines:

[Wed Aug 10 06:11:54 2016] [debug] proxy_util.c(2158): proxy: connecting ws://:6500/websockify to :6500
[Wed Aug 10 06:11:55 2016] [error] [client 10.15.140.4] proxy: DNS lookup failure for:  returned by /websocket/6500
[Wed Aug 10 06:11:55 2016] [debug] proxy_util.c(2120): proxy: WS: has released connection for (*)

Rewrite rules, responsible for proxying web socket connections, do not include the IP of the sever:

[root@vz01 ~]# cat /var/www/oaci/html/.htaccess
RewriteEngine on
RewriteRule ^websocket/([^/]+) ws://:$1/websockify [P]
RewriteRule ^oaciws/([^/]+)/([^/]+) ws://:$2/websockify [P]

There is no IP address in the URLs above.

Cause

With Update 8, VE console was switched from Java applet to HTML5 based console utilizing HTTP web sockets with Branding host proxying connections to Virtuozzo node. After the update installation, a configuration script is called to created the required proxy rules. The script depends on paci_hn_psbm package parameters, the package is installed on the Virtuozzo server. For some reason, net.connectivity.ip paramater of the package appears empty for the host.

Resolution

In order to workaround the issue, login to the affected Virtuozzo server and run the script with correct backnet IP address:

# python /usr/lib64/httpd/modules/mod_rewrite_ws/oaci_websocket_server.py 172.16.0.230

Contact Odin Technical Support to find the reason behind empty package properties and fix the problem.

Search Words

Session Closed. Please click on Reset Console

HMTL5 console

console doesn't work

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF