Troubleshooting client¶
Locating screen¶
When setting up screen a physicalId
may be passed to the application with querystring.
For example: http://webserver.local/app/?physicalId=screen1#/display/1.
This can be anything the operator feels helps them to locate the screen.
The application will use the value in all diagnostic messages like this (simplified)
{
"clientId": "f72a138ffada1E41ccc8ad",
...
"type": "STATUS",
"payload": {
"physicalId": "screen1",
...
}
}
Known situations and client fallbacks¶
Listed below are situations that may occur and how these situations are indicated in busmonitor application.
Unable to establish connection to local mqtt-bridge¶
Note the slightly blueish gray background color.
This means the client is unable to connect to the ws://mqtt-broker:9883/mqtt
endpoint.
Checklist:¶
- Make sure the host
mqtt-broker
is pointing to the ip address of the mqtt bridge in your host file (for Unix based systems:/etc/hosts
) - Make sure the mqtt-broker is running and allows anonymous connections. Authentication to the remote mqtt-broker is done in your mqtt-bridge config.
No journey received¶
This means the client has established a connection to the mqtt-broker, but at the point of time has not received a journey. It may or have not received data on other topics.
Checklist:¶
- Verify that the topics mappings in mqtt-bridge config are correct,
e.g.
topic json in 1 infohub/dpi/journey/ operator_name/ruter/vehicle_id/itxpt/ota/dpi/journey/
- Use a mqtt-client to subscribe to wildcard (
#
) in order to inspect incoming data and on which topics they are being sent.
Dead run¶
The journey qualifies as a dead-run when the public code of the line equals 0
, route id is RUT:Route:0
, or journey id includes a substring of RUT:DeadRun:0
.