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

    Modalai Server Client Issue

    Ask your questions right here!
    3
    7
    220
    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

      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.

      Alex KushleyevA 1 Reply Last reply Reply Quote 0
      • Alex KushleyevA
        Alex Kushleyev ModalAI Team @Karl-pan
        last edited by

        @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 Reply Quote 0
        • K
          Karl-pan @Alex Kushleyev
          last edited by

          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

            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

            Alex KushleyevA tomT 2 Replies Last reply Reply Quote 0
            • Alex KushleyevA
              Alex Kushleyev ModalAI Team @Karl-pan
              last edited by

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

              Alex

              1 Reply Last reply Reply Quote 0
              • tomT
                tom admin @Karl-pan
                last edited by

                @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.

                Alex KushleyevA 1 Reply Last reply Reply Quote 0
                • Alex KushleyevA
                  Alex Kushleyev ModalAI Team @tom
                  last edited by

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

                  Alex

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB | Contributors