Dashboards Direct TLS Connection

https://learninghub.kx.com/forums/topic/dashboards-direct-tls-connection

Hi All,

Im using Dashboards Direct V1.6.1 and Im trying to set up a simple TLS connection and having a few issues

However whenever I try to execute anything extremely simple (til 10) I get 'TLS Only errors

Im able to open a TLS connection manually from the port.

If anyone has seen this issue before or has any tips it would be really appreciated. Also Im using kdb V4 2021.12.07. If you need any more information please let me know

Hi David,

I’ve tried a few different windows tools but I can’t seem to capture the kdb command like you have above. Are there any windows tools you know of that you have managed to capture the neccessary information or have you seen the same issue as I raised?

Unfortunately I’m not aware of any Windows tools similar to strace that might help, and I’ve not see this issue before.

Just to confirm, when you manually opened the TLS connection, that was on the dash.q process?

That is correct I can connect manually from the dash.q process

Hey Dunny,

Could you try stracing the dashboards process to see if it tries opening with tcps? E.g.

strace -tty -p {dash_pid}.

You should see something like the following:

 

02:24:46.784671 read(0, "h:hopen `:tcps://localhost:10001"..., 4080) = 33 ... 
02:24:47.306400 setsockopt(10, SOL_TCP, TCP_NODELAY, [1], 4) = 0 
02:24:47.306473 setsockopt(10, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 
02:24:47.306541 setsockopt(10, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0

Cheers,

David

Unfortunately Im on a windows server, so Im currently looking into windows alternatives to see if I can capture what is sent but is anyone seeing the same issue?