Post
Topic
Board Mining (Altcoins)
Re: cryptoGlance [v2.1] :: Open-source, self-hosted, multi-rig monitoring tool!
by
Stoyvo
on 12/07/2016, 14:15:15 UTC
cryptoglance seems to be broken on 16.04
i dunno why but i cant get it to fully work.. the top part works but the rig details just have that loading bar forever.

Try changing this:
/includes/classes/miners/cgminer.php - Line ~355
Code:
$socket = stream_socket_client('tcp://'.$this->_host.':'.$this->_port, $errno, $errstr, 2);
to
Code:
$socket = stream_socket_client('tcp://'.$this->_host.':'.$this->_port, $errno, $errstr, 5);

The value at the end (2 and 5) are the seconds cryptoglance waits for a response from the miner. It's possible that 16.04 slowed down in network calls or that this limit is just being hit now.