bug: devices and observability pages not loading #848

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

Imported from GitHub.

Original GitHub issue: #2474
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2474
Original created: 2026-01-23T22:51:36Z


Describe the bug
Navigate to https://staging.serviceradar.cloud/devices
or https://staging.serviceradar.cloud/observability

see:

Internal Server Error

22:50:06.571 request_id=d001fb8eada30ce703822465e085d419 [info] GET /devices                                                                                                               22:50:06.579 request_id=d001fb8eada30ce703822465e085d419 [info] Sent 500 in 7ms                                                                                                            22:50:06.581 request_id=d001fb8eada30ce703822465e085d419 [error] ** (ArgumentError) argument error                                                                                             :erlang.++("devices", ["sort:last_seen:desc"])                                                                                                                                             (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/builder.ex:297: ServiceRadarWebNGWeb.SRQL.Builder.maybe_add_sort/3                                                            (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/builder.ex:50: ServiceRadarWebNGWeb.SRQL.Builder.build/1                                                                      (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/page.ex:14: ServiceRadarWebNGWeb.SRQL.Page.init/3                                                                             (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/device_live/index.ex:67: ServiceRadarWebNGWeb.DeviceLive.Index.mount/3                                                        (phoenix_live_view 1.1.19) lib/phoenix_live_view/utils.ex:358: anonymous fn/6 in Phoenix.LiveView.Utils.maybe_call_live_view_mount!/5                                                      (telemetry 1.3.0) /tmp/tmp.x1SCCEitYf/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3                                                                                              (phoenix_live_view 1.1.19) lib/phoenix_live_view/static.ex:324: Phoenix.LiveView.Static.call_mount_and_handle_params!/5
22:51:51.101 [info] Plug.SSL is redirecting GET / to https://staging.serviceradar.cloud with status 301                                                                                    22:51:52.828 request_id=7132b83c02ef128869369e7ca4ad6cc2 [info] GET /observability                                                                                                         22:51:52.833 request_id=7132b83c02ef128869369e7ca4ad6cc2 [info] Sent 500 in 5ms                                                                                                            22:51:52.835 request_id=7132b83c02ef128869369e7ca4ad6cc2 [error] ** (ArgumentError) argument error                                                                                             :erlang.++("logs", ["sort:timestamp:desc"])                                                                                                                                                (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/builder.ex:297: ServiceRadarWebNGWeb.SRQL.Builder.maybe_add_sort/3                                                            (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/builder.ex:50: ServiceRadarWebNGWeb.SRQL.Builder.build/1                                                                      (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/page.ex:14: ServiceRadarWebNGWeb.SRQL.Page.init/3                                                                             (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/log_live/index.ex:46: ServiceRadarWebNGWeb.LogLive.Index.mount/3                                                              (phoenix_live_view 1.1.19) lib/phoenix_live_view/utils.ex:358: anonymous fn/6 in Phoenix.LiveView.Utils.maybe_call_live_view_mount!/5                                                      (telemetry 1.3.0) /tmp/tmp.x1SCCEitYf/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3
    (phoenix_live_view 1.1.19) lib/phoenix_live_view/static.ex:324: Phoenix.LiveView.Static.call_mount_and_handle_params!/5

this is in serviceradar-web-ng running in demo-staging namespace in k8s
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: #2474 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2474 Original created: 2026-01-23T22:51:36Z --- **Describe the bug** Navigate to https://staging.serviceradar.cloud/devices or https://staging.serviceradar.cloud/observability see: `Internal Server Error` ``` 22:50:06.571 request_id=d001fb8eada30ce703822465e085d419 [info] GET /devices 22:50:06.579 request_id=d001fb8eada30ce703822465e085d419 [info] Sent 500 in 7ms 22:50:06.581 request_id=d001fb8eada30ce703822465e085d419 [error] ** (ArgumentError) argument error :erlang.++("devices", ["sort:last_seen:desc"]) (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/builder.ex:297: ServiceRadarWebNGWeb.SRQL.Builder.maybe_add_sort/3 (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/builder.ex:50: ServiceRadarWebNGWeb.SRQL.Builder.build/1 (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/page.ex:14: ServiceRadarWebNGWeb.SRQL.Page.init/3 (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/device_live/index.ex:67: ServiceRadarWebNGWeb.DeviceLive.Index.mount/3 (phoenix_live_view 1.1.19) lib/phoenix_live_view/utils.ex:358: anonymous fn/6 in Phoenix.LiveView.Utils.maybe_call_live_view_mount!/5 (telemetry 1.3.0) /tmp/tmp.x1SCCEitYf/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3 (phoenix_live_view 1.1.19) lib/phoenix_live_view/static.ex:324: Phoenix.LiveView.Static.call_mount_and_handle_params!/5 ``` ``` 22:51:51.101 [info] Plug.SSL is redirecting GET / to https://staging.serviceradar.cloud with status 301 22:51:52.828 request_id=7132b83c02ef128869369e7ca4ad6cc2 [info] GET /observability 22:51:52.833 request_id=7132b83c02ef128869369e7ca4ad6cc2 [info] Sent 500 in 5ms 22:51:52.835 request_id=7132b83c02ef128869369e7ca4ad6cc2 [error] ** (ArgumentError) argument error :erlang.++("logs", ["sort:timestamp:desc"]) (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/builder.ex:297: ServiceRadarWebNGWeb.SRQL.Builder.maybe_add_sort/3 (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/builder.ex:50: ServiceRadarWebNGWeb.SRQL.Builder.build/1 (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/srql/page.ex:14: ServiceRadarWebNGWeb.SRQL.Page.init/3 (serviceradar_web_ng 0.1.0) lib/serviceradar_web_ng_web/live/log_live/index.ex:46: ServiceRadarWebNGWeb.LogLive.Index.mount/3 (phoenix_live_view 1.1.19) lib/phoenix_live_view/utils.ex:358: anonymous fn/6 in Phoenix.LiveView.Utils.maybe_call_live_view_mount!/5 (telemetry 1.3.0) /tmp/tmp.x1SCCEitYf/deps/telemetry/src/telemetry.erl:324: :telemetry.span/3 (phoenix_live_view 1.1.19) lib/phoenix_live_view/static.ex:324: Phoenix.LiveView.Static.call_mount_and_handle_params!/5 ``` this is in `serviceradar-web-ng` running in `demo-staging` namespace in k8s **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.
mfreeman451 added this to the 1.1.0 milestone 2026-03-28 04:29:12 +00:00
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#848
No description provided.