Open ohlr opened 1 year ago
Thanks a lot for reporting this bug @ohlr 🙏🏼 We will try to reproduce the bug on our end and keep you posted 🙂
Hi @ohlr thanks for reporting this. Can you please provide an example message that you are trying to receive from the topic?
@dominikriemer sure:
{"device": {"uuid": "eb9db175-8c17-4ab8-99dd-c4e7bd00b7bf", "name": null, "version": "3.8.1"}, "application": {"type": "OBJECTFLOW", "uuid": "41b3f3c4-f29a-4d8f-bfeb-807411a30df6", "time": "2023-04-06T10:45:40.010950+00:00", "name": "roundabout", "tags": [], "camera": {"uuid": "edb49633-29fb-4299-97d8-333f9014c050", "name": "Roundabout with snow", "tags": []}}, "data": [{"type": "LINE", "uuid": "bfa09475-5456-49f7-8f38-a15b4aa802d3", "name": "New Line", "tags": [], "coordinates_uv": [0.49421, 0.53529, 0.49669, 0.40588], "coordinates_geo": null, "length_uv": 0.12944, "length_geo": null, "time_bucket": "2023-04-06T10:45:40+00:00", "interval": 5000, "count": {"PEDESTRIAN": {"in": 0, "out": 0}, "BICYCLE": {"in": 0, "out": 0}, "MOTORBIKE": {"in": 0, "out": 0}, "CAR": {"in": 2, "out": 0}, "VAN": {"in": 0, "out": 0}, "BUS": {"in": 0, "out": 0}, "TRUCK": {"in": 0, "out": 0}, "HEAVYTRUCK": {"in": 0, "out": 0}}}]}
@dominikriemer is there something else i can do?
Hi @ohlr,
this error occurs because of the field: "name": null.
Null values are currently an open topic.
Thank you for the update! I will test it without null values
@ohlr We are working on a fix which also improves the handling of such nested structures. I'll send you a message once we have this in dev too!
Apache StreamPipes version
None
Affected StreamPipes components
Processing Elements
What happened?
Connecting to mosquitto mqtt is not possible.
I am trying to connect to connect to mosquitto:
Produces this error:
How to reproduce?
Install Streampipes with docker compose: Deployed
Connect it to Mosquitto:
docker run -it -p 1883:1883 -p 9001:9001 -v ./mosquitto.conf:/mosquitto/config/mosquitto.conf --detach eclipse-mosquitto
mosquitto.confExpected behavior
In node red it works:![image](https://user-images.githubusercontent.com/26937880/230221785-08f8af4d-54cc-4ef8-a956-adb5edfeee66.png)
mosquitto_sub -t isarsoft/eb9db175-8c17-4ab8-99dd-c4e7bd00b7bf/OBJECTFLOW/41b3f3c4-f29a-4d8f-bfeb-807411a30df6/LINE -h 10.0.0.44
Additional technical information
No response
Are you willing to submit a PR?
None