• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    Modalai Server Client Issue

    Ask your questions right here!
    3
    7
    223
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      Karl-pan
      last edited by 7 Jan 2025, 06:27

      I've been working with the ModalAI server and encountered a warning while creating a client that subscribes to the server. The warning states: "too many clients are trying to connect," even when the machine has just been rebooted.

      Upon inspecting the source code, the warning occurs when no channels are available (i.e., no channel is uninitialized or disconnected). This behavior seems abnormal during a reboot.

      Has anyone experienced similar issues or have insights into why channels might be occupied right after a reboot? Any suggestions for further debugging or resolving this would be appreciated.

      A 1 Reply Last reply 8 Jan 2025, 20:17 Reply Quote 0
      • A
        Alex Kushleyev ModalAI Team @Karl-pan
        last edited by 8 Jan 2025, 20:17

        @Karl-pan ,

        Are you able to provide a minimal example to help reproduce? All of our services that have MPA servers are running fine, as far as we know, so this may be related to an implementation detail in your code.

        Please try to reduce the server / client code to bare minimum to reproduce the error.

        It would also be helpful to know which version of VOXL2 SDK you are using (please confirm VOXL2 / VOXL2 mini).

        Alex

        K 2 Replies Last reply 9 Jan 2025, 06:52 Reply Quote 0
        • K
          Karl-pan @Alex Kushleyev
          last edited by 9 Jan 2025, 06:52

          Hi @Alex-Kushleyev,

          Thank you for your response. Attached below is a screenshot of my subscription code for your reference:
          Screenshot from 2025-01-09 14-33-51.png
          Screenshot from 2025-01-09 14-48-36.png
          I suspect the issue might be related to the pipe_client_get_next_available_channel() function. Please let me know if there are any specific tests you would recommend to further diagnose this issue.

          Karl

          1 Reply Last reply Reply Quote 0
          • K
            Karl-pan @Alex Kushleyev
            last edited by 10 Jan 2025, 03:53

            Hi @Alex-Kushleyev,

            Here are links to the relevant parts of my source code:
            https://pastebin.com/aXYrE9qZ
            https://pastebin.com/CkHsVC5N
            Additionally, I have attached another image below showing the version of the VOXL2 SDK I am using for your reference
            Screenshot from 2025-01-10 11-44-21.png

            Karl

            A T 2 Replies Last reply 13 Jan 2025, 17:20 Reply Quote 0
            • A
              Alex Kushleyev ModalAI Team @Karl-pan
              last edited by 13 Jan 2025, 17:20

              @Karl-pan , thank you, i will take a look shortly.

              Alex

              1 Reply Last reply Reply Quote 0
              • T
                tom admin @Karl-pan
                last edited by 13 Jan 2025, 18:04

                @Karl-pan It looks as though you're running a pretty old version of the SDK. I'd recommend for development loading the latest version of the SDK (1.4.0). Otherwise when developing you'd have to reference the source of the packages at the tagged version in which was included in the older SDK.

                A 1 Reply Last reply 13 Jan 2025, 22:31 Reply Quote 0
                • A
                  Alex Kushleyev ModalAI Team @tom
                  last edited by 13 Jan 2025, 22:31

                  Agreed! thanks for noticing, Tom. Definitely should be tested on a recent SDK..

                  Alex

                  1 Reply Last reply Reply Quote 0
                  1 out of 7
                  • First post
                    1/7
                    Last post
                  Powered by NodeBB | Contributors