KX Community

Find answers, ask questions, and connect with our KX Community around the world.
KX Community Guidelines

Home Forums KX Solutions Dashboards Direct TLS Connection

  • Dashboards Direct TLS Connection

    Posted by dunny on August 11, 2022 at 12:00 am

    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

    dunny replied 8 months, 1 week ago 2 Members · 5 Replies
  • 5 Replies
  • davidcrossey

    Member
    August 12, 2022 at 12:00 am

    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</dev/pts/17>, "h:hopen `:tcps://localhost:10001"..., 4080) = 33 ... 
    02:24:47.306400 setsockopt(10<socket:[4120184947]>, SOL_TCP, TCP_NODELAY, [1], 4) = 0 
    02:24:47.306473 setsockopt(10<socket:[4120184947]>, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0 
    02:24:47.306541 setsockopt(10<socket:[4120184947]>, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0

    Cheers,

    David

  • dunny

    Member
    August 12, 2022 at 12:00 am

    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?

  • dunny

    Member
    August 22, 2022 at 12:00 am

    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?

  • davidcrossey

    Member
    August 23, 2022 at 12:00 am

    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?

  • dunny

    Member
    August 23, 2022 at 12:00 am

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

Log in to reply.