Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Modalai Server Client Issue

Modalai Server Client Issue

Scheduled Pinned Locked Moved Ask your questions right here!
7 Posts 3 Posters 939 Views 3 Watching
  • 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 Offline
    K Offline
    Karl-pan
    wrote on last edited by
    #1

    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
    0
    • K Karl-pan

      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 Offline
      Alex KushleyevA Offline
      Alex Kushleyev
      ModalAI Team
      wrote on last edited by
      #2

      @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
      0
      • Alex KushleyevA Alex Kushleyev

        @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 Offline
        K Offline
        Karl-pan
        wrote on last edited by
        #3

        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
        0
        • Alex KushleyevA Alex Kushleyev

          @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 Offline
          K Offline
          Karl-pan
          wrote on last edited by
          #4

          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
          0
          • K Karl-pan

            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 Offline
            Alex KushleyevA Offline
            Alex Kushleyev
            ModalAI Team
            wrote on last edited by
            #5

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

            Alex

            1 Reply Last reply
            0
            • K Karl-pan

              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

              tomT Offline
              tomT Offline
              tom
              admin
              wrote on last edited by
              #6

              @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
              0
              • tomT tom

                @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 Offline
                Alex KushleyevA Offline
                Alex Kushleyev
                ModalAI Team
                wrote on last edited by
                #7

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

                Alex

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                ModalAI
                Categories Recent Tags ModalAI.com Docs
                © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups