I had a similar problem starting with the same resources. It turns out that the code does not recognize if it was disconnected or the port was blocked. I found this article that helped me:
https://issues.apache.org/jira/browse/THRIFT-347
In the TSocket.php code (garamon_base_dir / lib / transport) you should edit approximately lines 223 through 236.
Where does he say:
if( $buf === FALSE || $buf === '' ) { ... and if( $md['timed_out'] ) { ... and then again if( $md[timed_out'] ) { ...
change to (respectively):
if( $buf === FALSE ) { ... and if( true === $md['timed_out'] && false === $md['blocked'] ) and finally if( true === $md['timed_out'] && false === $md['blocked'] )
Then he started working after this fix. Good luck
source share