Thank you, Ankur. It was unfortunate that when I made my development server i docked the websocket at the root. I placed it lower in the resource path and now it works.
------------------------------
Christopher Piggott
------------------------------
Original Message:
Sent: May 11, 2021 04:45 PM
From: Ankur Kamthe
Subject: IoT development server - telemetry and relay
you can use ws URLS in AOS 8.x. The format should be ws://hostname:port/path.
in your output, it saysInvalid host:192.168.0.227:8080. path:.
indicating that the path portion of the URL is missing.
------------------------------
Ankur Kamthe
Original Message:
Sent: May 11, 2021 01:10 PM
From: Christopher Piggott
Subject: IoT development server - telemetry and relay
For development purposes only, is it OK if I use http rather than http? And what is the format of serverURL: is it "http://" or "ws://" ?
Is it OK to specify the port as part of the URL?
I can't quite seem to come up with something that works. I was hoping to avoid having to have an actual certificate for development.
---------------------------Profile[frogpond]---------------------------serverURL : ws://192.168.0.227:8080/serverType : Telemetry WebsocketdeviceClassFilter : AllreportingInterval : 10 secondageFilter : 120 secondaccessToken : abcdefghclientID : DAZZLEusername : chrisppassword : *****rssiReporting : AverageenvironmentType : officeble_on_controller : TRUEinclude_ap_group : defaultServer Connection State--------------------------TransportContext : Connection StartedFail Reason : Invalid host:192.168.0.227:8080. path:.Last Data Update : 2021-05-11 13:04:54Last Send Time : 1969-12-31 19:00:00TransType : Websocket
------------------------------
Christopher Piggott
------------------------------