Hue cannot see view in with hive.server.transport.mode=binary

Hello,

I am facing a problem with viewing tables in Hue. Currently, we have implemented custom authentication for Hive. The issue is that we cannot see our tables loaded in the sources panel and we are receiving a thrift exception when we set hive.server2.transport.mode=binary in the hive-site.xml:

TSocket read 0 bytes (code THRIFTTRANSPORT):
TTransportException(‘TSocket read 0 bytes’,)

However, when we set hive.server2.transport.mode=http in hive-site.xml, we do not see these issues. For our purpose we need hive.server2.transport.mode=binary to be able to connect by other applications. Does anyone know why this is or if there is any additional parameters we need to change in hue.ini to make it work with hive.server2.transport.mode=binary?