bug: devices page crashing #740

Closed
opened 2026-03-28 04:28:01 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #2290
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2290
Original created: 2026-01-14T08:08:05Z


Describe the bug
When I navigate to the '/devices/' page in the web UI, I would expect to see the Devices UI/ Devices Inventory, instead I get an Internal Server Error

https://staging.serviceradar.cloud/devices

08:06:53.258 request_id=5d61aac7d2aadb5ee12353697ffe8d17 [error] ** (ArgumentError) argument error                                                                                  (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/device_live/index.ex:904: anonymous fn/2 in ServiceRadarWebNGWeb.DeviceLive.Index."sysmon_profile_badge (overridable 1)"/1                                                                                                                                                                         (serviceradar_web_ng 0.1.0) /tmp/tmp.DAdeeAeghj/lib/serviceradar_web_ng_web/live/device_live/index.ex:576: ServiceRadarWebNGWeb.DeviceLive.Index.render/1                       (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3                                                                                                           (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:728: Phoenix.LiveView.Diff.process_keyed/5                                                                             (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:665: anonymous fn/6 in Phoenix.LiveView.Diff.traverse_keyed/8                                                          (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3                                                                                                                                                                                                                                                                                       08:06:53.586 [info] Plug.SSL is redirecting GET / to https://staging.serviceradar.cloud with status 301                                                                         08:07:02.530 [info] Plug.SSL is redirecting POST /api/admin/tenant-workloads/27f50bb9-668d-4ab3-8cf4-dc91ef507648/credentials to https://staging.serviceradar.cloud with status 307                                                                                                                                                                             08:07:02.569 request_id=88488c9ef8f940a5ba4c3c8fd03226df [info] POST /api/admin/tenant-workloads/27f50bb9-668d-4ab3-8cf4-dc91ef507648/credentials

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #2290 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2290 Original created: 2026-01-14T08:08:05Z --- **Describe the bug** When I navigate to the '/devices/' page in the web UI, I would expect to see the Devices UI/ Devices Inventory, instead I get an `Internal Server Error` https://staging.serviceradar.cloud/devices ``` 08:06:53.258 request_id=5d61aac7d2aadb5ee12353697ffe8d17 [error] ** (ArgumentError) argument error (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/device_live/index.ex:904: anonymous fn/2 in ServiceRadarWebNGWeb.DeviceLive.Index."sysmon_profile_badge (overridable 1)"/1 (serviceradar_web_ng 0.1.0) /tmp/tmp.DAdeeAeghj/lib/serviceradar_web_ng_web/live/device_live/index.ex:576: ServiceRadarWebNGWeb.DeviceLive.Index.render/1 (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3 (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:728: Phoenix.LiveView.Diff.process_keyed/5 (phoenix_live_view 1.1.19) lib/phoenix_live_view/diff.ex:665: anonymous fn/6 in Phoenix.LiveView.Diff.traverse_keyed/8 (elixir 1.19.4) lib/enum.ex:2520: Enum."-reduce/3-lists^foldl/2-0-"/3 08:06:53.586 [info] Plug.SSL is redirecting GET / to https://staging.serviceradar.cloud with status 301 08:07:02.530 [info] Plug.SSL is redirecting POST /api/admin/tenant-workloads/27f50bb9-668d-4ab3-8cf4-dc91ef507648/credentials to https://staging.serviceradar.cloud with status 307 08:07:02.569 request_id=88488c9ef8f940a5ba4c3c8fd03226df [info] POST /api/admin/tenant-workloads/27f50bb9-668d-4ab3-8cf4-dc91ef507648/credentials ``` **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#740
No description provided.