Internet of Things (IoT) and Industrial IoT (IIoT)

 View Only
  • 1.  Websocket connection

    Posted Dec 02, 2024 09:43 AM

    Hi there,

    I am trying to connect my AP to a websocket I am hosting on my local machine. I am able to connect to it from different machines (different laptops) but the AP is not able to connect to it, and it does not seem like the connection request is even being sent. When checking the terminal, I see the following output (the underscore is the IP address). 

    TransportContext                        : Connection Started     
    Fail Reason                             : Invalid host:___________7443. path:.

    I am using the websocket example code from Aruba: GitHub but I am having no luck. For reference, I have a radio profile configured to act as a scanner, and a transport stream configured too. I would appreciate any help people can provide.



  • 2.  RE: Websocket connection

    Posted Dec 02, 2024 02:08 PM

    Is this AOS8? Controller? Instant?

    For Instant AP, this is how I configured the websocket transport:

    endpointURL wss://ubuntu.nl.arubalab.com:9001/wss
    endpointURL wss://mobileproxy.blyott.com/aruba

    Note that DNS has to be working, so you should be able to ping to the hostname from the AP, and the root that issued the SSL server certificate (assuming WSS) has to be added/trusted by the AP.

    Invalid host suggests that the AP cannot resolve the hostname; or you have an invalid URL format. If the host cannot be resolved, I can imagine that you don't even see the attempt going out.



    ------------------------------
    Herman Robers
    ------------------------
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support. Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC. Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.

    In case your problem is solved, please invest the time to post a follow-up with the information on how you solved it. Others can benefit from that.
    ------------------------------