We're updating the issue view to help you get more done. 

Console on Web GUI doesn't work

Description

I was setting up a new server with SmartOS 20161208T003707Z. As I couldn't install FiFo 0.8.3 (AVX not supported), installed the 0.9.0. Worked fine with lx-zones.
After install a KVM zone, I clicked on console option of the VM.
The console page opened, but returned an error:
_"Server Disconnected (code: 1006)"

I looked for the "vmadm info UUID vnc", and the configuration was there.
Connected directly from a VNC client on my computer and it worked.
But rebooting the FIFO VM or the whole machine, the web console doesn't work.
I found the following errors on the browser (Google Chrome) console:

"WebSocket connection to 'ws://10.0.1.140/api/2/vms/715793bb-0826-e8ab-b4ca-a3bcc5a6df26/vnc?fifo_ott=0R3iL76aD06HdZiqfNmXyJsXl1bVUbKL' failed: HTTP Authentication failed; no valid credentials available"_

"New state 'failed', was 'connect'. Msg: Server disconnected (code: 1006)"

"WebSocket connection to 'ws://localhost:17523/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED"

The messages are exactly as the Chrome console showed me.

Environment

Smartos 20161208T003707Z running on a SuperMicro Motherboard, with 48GB DDR3 RAM.
2x Xeon X5660 processors.
4x 2tb SATA disks mirrored, with lz4 compression on the zones pool active.
Machine is not in production. System is clean and fresh.
Fifo installed by the online tutorial in https://docs.project-fifo.net/v0.9.0/docs/installing-fifo, with the leofs zones also as the tutorial explanes.
Datasets downloaded from datasets.at (original conf).

Status

Assignee

Heinz N. Gies

Reporter

Jonathan Falcão

Components

Fix versions

Affects versions

0.9.0

Priority

High