sony/nmos-cpp

Admin GUI - 404 Route not found

SergejZuyevZE opened this issue · 2 comments

nmos-cpp registry Admin GUI is not accessible on default port.

Registry.json:

{
  "pri": 10,
  "logging_level": -20,
  "http_trace": false,
  "label": "nmos-registry",
  "http_port": 80,
  "query_ws_port": 81,
  "registration_expiry_interval": 12
}

Log:

nmos-registry_1   | 2023-08-28 12:49:46.527: info: 140299992466944: Build settings: cpprestsdk/2.10.18 (listener=asio; client=asio); WebSocket++/0.8.2; Boost 1.80.0; OpenSSL 1.1.1s  1 Nov 2022
nmos-registry_1   | 2023-08-28 12:49:46.527: info: 140299992466944: Initial settings: {"admin_port":80,"host_address":"172.25.0.5","host_addresses":["172.25.0.5"],"http_port":80,"http_trace":false,"label":"nmos-registry","logging_level":-20,"logging_port":80,"mdns_port":80,"node_port":80,"pri":10,"query_port":80,"query_ws_port":81,"registration_expiry_interval":12,"registration_port":80,"schemas_port":80,"seed_id":"926f8639-f5a5-4367-bd97-e7ab4f3fde46","settings_port":80,"system_port":80}
.....
nmos-registry_1   | 2023-08-28 12:51:21.320: more info: 140299711989504: Filesystem request received
nmos-registry_1   | 2023-08-28 12:51:21.320: error: 140299711989504: Route not found
nmos-registry_1   | 2023-08-28 12:51:21.320: more info: 140299711989504: Sending response after 0.721ms

Browser result:

grafik

If you're using the prebuilt container image, https://hub.docker.com/r/rhastie/nmos-cpp, it should work. If you are building it yourself, you need to build and "install" nmos-js per the instructions at https://github.com/sony/nmos-js/blob/master/README.md

Thank you, the issue is solved now!