Troubleshooting#
This page provides troubleshooting steps, FAQs, and resources to help you resolve common issues. If you encounter any problems with the application not addressed here, check the GitHub Issues board. Feel free to file new tickets there (after learning about the guidelines for Contributing).
Troubleshooting Steps#
Changing the Host IP Address
If you need to use a specific Host IP address instead of the one automatically detected during installation, you can explicitly provide it using the following command:
./install.sh <application-name> <HOST_IP>
Example:
./install.sh smart-parking 192.168.1.100
Containers Not Starting
Check the Docker logs for errors:
docker ps -a docker logs <CONTAINER_ID>
Failed Service Deployment
If unable to deploy services successfully due to proxy issues, ensure the proxy is configured in the
~/.docker/config.json:{ "proxies": { "default": { "httpProxy": "http://your-proxy:port", "httpsProxy": "https://your-proxy:port", "noProxy": "localhost,127.0.0.1" } } }
After editing the file, restart docker:
sudo systemctl daemon-reload sudo systemctl restart docker
Video stream not displaying on Grafana UI
If you do not see the video stream because of a URL issue, ensure that
WEBRTC_URLin Grafana has:# When Grafana is opened on https://localhost/grafana https://localhost/mediamtx/ # When Grafana is opened on https://<HOST_IP>/grafana https://<HOST_IP>/mediamtx/
scene-uploaderfails to due toimport-timeoutContainer metro-vision-ai-app-recipe-web-1 Healthy Container metro-vision-ai-app-recipe-scene-uploader-1 Starting Container metro-vision-ai-app-recipe-scene-uploader-1 Started Container metro-vision-ai-app-recipe-scene-uploader-1 Waiting Container metro-vision-ai-app-recipe-web-1 Waiting Container metro-vision-ai-app-recipe-scene-uploader-1 Waiting Container metro-vision-ai-app-recipe-web-1 Waiting Container metro-vision-ai-app-recipe-web-1 Healthy Container metro-vision-ai-app-recipe-web-1 Healthy Container metro-vision-ai-app-recipe-scene-uploader-1 Error service "scene-uploader" didn't complete successfully: exit 1 Container metro-vision-ai-app-recipe-scene-uploader-1 Error service "scene-uploader" didn't complete successfully: exit 1 service "scene-uploader" didn't complete successfully: exit 1
The
scene-uploaderservice imports the scene zip file into the Scene Controller at startup. If the import takes longer than the configured timeout, the service fails and the stack does not come up. Import time depends on the size of your scene zip file, so you might need to increase the timeout.Check the import timeout in the
scene-uploadersection ofdocker-compose.yml:scene-uploader: command: - --restauth - /run/secrets/controller.auth - --rootcert - /run/secrets/certs/scenescape-ca.pem - --wait - "300" - --import-timeout - "150" - https://web.scenescape.intel.com/api/v1 - /scenes
Increase the
--import-timeoutvalue (in seconds) based on the size of your scene zip file. For example, change"150"to"300".Note
Larger scene zip files need a higher timeout. Choose a value that suits the scene files you use.
Restart the stack to apply the change:
docker compose down -v docker compose --progress plain up -d
Machine runs out of memory while
scene-uploadercontainer is getting deployedContainer
metro-vision-ai-app-recipe-scene-uploader-1memory consumption spikes above recommended value. If OOM or unexpected exit of containermetro-vision-ai-app-recipe-scene-uploader-1appears then try to increase swap file by 8GB.Pipeline start fails with
Invalid source URI: path outside allowed resources directoryDL Streamer Pipeline Server only accepts
file://sources under/home/pipeline-server/resources. Usefile:///home/pipeline-server/resources/<video-file>in the pipeline start request (the app’ssrc/dlstreamer-pipeline-server/videos/folder is mounted there).
Node-RED fails to start without internet (Scenescape mode)
docker compose down -vremoves the volume that holds thenode-red-contrib-influxdbplugin, and Node-RED downloads it again on the next start. Reconnect to the internet and rundocker compose up -dagain, or use the offline package, which bundles the plugin.