bug(web-ng): cannot push_patch/2 to --- ServiceRadarWebNGWeb.NetflowLive.Visualize #1056

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

Imported from GitHub.

Original GitHub issue: #2906
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2906
Original created: 2026-02-25T04:24:55Z


Describe the bug

04:22:06.161 [info] CONNECTED TO Phoenix.LiveView.Socket in 27�s
  Transport: :websocket
  Serializer: Phoenix.Socket.V2.JSONSerializer
  Parameters: %{"_csrf_token" => "KxQMLmMTYS4JDhRZdicNHxgPQXUDB2kAoGzoWD4yHJYhApHEYV-EOb1A", "_live_referer" => "undefined", "_mount_attempts" => "0", "_mounts" => "0", "_track_static" => %{"0" => "https://demo.serviceradar.cloud/assets/css/app-e286e134d5bc9d706fb95fe981336f7a.css?vsn=d", "1" => "https://demo.serviceradar.cloud/assets/js/app-0b9b3d517067b941a961d9c82077d145.css?vsn=d", "2" => "https://demo.serviceradar.cloud/assets/js/app-b22208a1ae1ef59aa04751226fb9cd91.js?vsn=d"}, "vsn" => "2.0.0"}
04:22:14.213 [info] Plug.SSL is redirecting GET / to https://demo.serviceradar.cloud with status 301
04:22:14.239 [info] Plug.SSL is redirecting GET / to https://demo.serviceradar.cloud with status 301
04:22:16.860 [error] GenServer #PID<0.22087.0> terminating
** (ArgumentError) cannot push_patch/2 to %URI{scheme: "https", userinfo: nil, host: "demo.serviceradar.cloud", port: 443, path: "/netflow", query: "limit=100&nf=v1-H4sIAAAAAAAAA02OwQrCMBBE_2XOubSKSI7-hkhYm7VdTNKQbAtF_HdTEPE2zDwe88JdvBQeVOZEAfZBobKBl1hhrzeDsVCeYFGVhid7GASJorBd_41Ot8yNoHVsay68yrxUl7nI7H9GlbhDgaq6bmqgliUNpOzWI-yh_y9Ou_1ssCTRdgOXXPH-ANmp8s-rAAAA&q=in%3Aflows+time%3Alast_1h+bucket%3A5m+agg%3Asum+value_field%3Abytes_total+series%3Aprotocol_group+limit%3A4000", fragment: nil} because the given path does not point to the current root view ServiceRadarWebNGWeb.NetflowLive.Visualize
    (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:946: Phoenix.LiveView.Channel.patch_params_and_action!/2
    (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:612: Phoenix.LiveView.Channel.mount_handle_params_result/3
    (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:1240: Phoenix.LiveView.Channel.verified_mount/8
    (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:84: Phoenix.LiveView.Channel.handle_info/2
    (stdlib 7.1) gen_server.erl:2434: :gen_server.try_handle_info/3
    (stdlib 7.1) gen_server.erl:2420: :gen_server.handle_msg/3
    (stdlib 7.1) proc_lib.erl:333: :proc_lib.init_p_do_apply/3
Process Label: {Phoenix.LiveView, ServiceRadarWebNGWeb.NetflowLive.Visualize, "lv:phx-GJdiipY6cBP53VAC"}
Last message: {Phoenix.Channel, %{"params" => %{"_csrf_token" => "KxQMLmMTYS4JDhRZdicNHxgPQXUDB2kAoGzoWD4yHJYhApHEYV-EOb1A", "_live_referer" => "https://demo.serviceradar.cloud/observability?tab=alerts", "_mount_attempts" => 0, "_mounts" => 0, "_track_static" => ["https://demo.serviceradar.cloud/assets/css/app-e286e134d5bc9d706fb95fe981336f7a.css?vsn=d", "https://demo.serviceradar.cloud/assets/js/app-0b9b3d517067b941a961d9c82077d145.css?vsn=d", "https://demo.serviceradar.cloud/assets/js/app-b22208a1ae1ef59aa04751226fb9cd91.js?vsn=d"]}, "redirect" => "https://demo.serviceradar.cloud/flows", "session" => "SFMyNTY.g2gDaAJhBnQAAAAIdwJpZG0AAAAUcGh4LUdKZGlpcFk2Y0JQNTNWQUN3B3Nlc3Npb250AAAAAHcEdmlld3cpRWxpeGlyLlNlcnZpY2VSYWRhcldlYk5HV2ViLkxvZ0xpdmUuSW5kZXh3CnBhcmVudF9waWR3A25pbHcGcm91dGVydyJFbGl4aXIuU2VydmljZVJhZGFyV2ViTkdXZWIuUm91dGVydwhyb290X3BpZHcDbmlsdwlyb290X3ZpZXd3KUVsaXhpci5TZXJ2aWNlUmFkYXJXZWJOR1dlYi5Mb2dMaXZlLkluZGV4dxFsaXZlX3Nlc3Npb25fbmFtZXcacmVxdWlyZV9hdXRoZW50aWNhdGVkX3VzZXJuBgC_YAiTnAFiAAFRgA.5qWqv_WLr6RkAM57o6FcwK1h8vji5xwsNAyI6JUHA4Y", "static" => "SFMyNTY.g2gDaAJhBnQAAAADdwJpZG0AAAAUcGh4LUdKZGlpcFk2Y0JQNTNWQUN3BWZsYXNodAAAAAB3CmFzc2lnbl9uZXdsAAAAAXcNY3VycmVudF9zY29wZWpuBgC_YAiTnAFiAAFRgA.BdVzIvL-9nfJr_WlzbZZ2qfZs77n_ZNl8sxdU4Z5atk", "sticky" => false}, {#PID<0.21910.0>, #Reference<0.3978558272.2917924865.140968>}, %Phoenix.Socket{assigns: %{}, channel: Phoenix.LiveView.Channel, channel_pid: nil, endpoint: ServiceRadarWebNGWeb.Endpoint, handler: Phoenix.LiveView.Socket, id: "users_sessions:d87c2ff6-c928-4557-be8b-eb7db7341424", joined: false, join_ref: "20", private: %{connect_info: %{session: %{"_csrf_token" => "DSvA4WUWADM17WEZAYl0LeXA", "live_socket_id" => "users_sessions:d87c2ff6-c928-4557-be8b-eb7db7341424", "session_started_at" => 1771962204, "user_token" => "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzZXJ2aWNlcmFkYXIiLCJleHAiOjE3NzE5OTY5MjUsImlhdCI6MTc3MTk5MzMyNSwiaXNzIjoic2VydmljZXJhZGFyIiwianRpIjoiMzY4NDI5MmItMWViZS00NTU3LWFlOGMtOTdjNjU2ZGMzNGNiIiwibmJmIjoxNzcxOTkzMzI0LCJyb2xlIjoiYWRtaW4iLCJzdWIiOiJ1c2VyOmQ4N2MyZmY2LWM5MjgtNDU1Ny1iZThiLWViN2RiNzM0MTQyNCIsInR5cCI6ImFjY2VzcyJ9.kkdERj-l7o4zNncc4bO2i9mtOHWr6vCXJ7y6-5vtMxg"}, uri: true}}, pubsub_server: ServiceRadarWebNG.PubSub, ref: nil, serializer: Phoenix.Socket.V2.JSONSerializer, topic: "lv:phx-GJdiipY6cBP53VAC", transport: :websocket, transport_pid: #PID<0.21910.0>}}
04:22:16.864 [error] an exception was raised:
    ** (ArgumentError) cannot push_patch/2 to %URI{scheme: "https", userinfo: nil, host: "demo.serviceradar.cloud", port: 443, path: "/netflow", query: "limit=100&nf=v1-H4sIAAAAAAAAA02OwQrCMBBE_2XOubSKSI7-hkhYm7VdTNKQbAtF_HdTEPE2zDwe88JdvBQeVOZEAfZBobKBl1hhrzeDsVCeYFGVhid7GASJorBd_41Ot8yNoHVsay68yrxUl7nI7H9GlbhDgaq6bmqgliUNpOzWI-yh_y9Ou_1ssCTRdgOXXPH-ANmp8s-rAAAA&q=in%3Aflows+time%3Alast_1h+bucket%3A5m+agg%3Asum+value_field%3Abytes_total+series%3Aprotocol_group+limit%3A4000", fragment: nil} because the given path does not point to the current root view ServiceRadarWebNGWeb.NetflowLive.Visualize
        (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:946: Phoenix.LiveView.Channel.patch_params_and_action!/2
        (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:612: Phoenix.LiveView.Channel.mount_handle_params_result/3
        (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:1240: Phoenix.LiveView.Channel.verified_mount/8
        (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:84: Phoenix.LiveView.Channel.handle_info/2
        (stdlib 7.1) gen_server.erl:2434: :gen_server.try_handle_info/3
        (stdlib 7.1) gen_server.erl:2420: :gen_server.handle_msg/3
        (stdlib 7.1) proc_lib.erl:333: :proc_lib.init_p_do_apply/3

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: #2906 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2906 Original created: 2026-02-25T04:24:55Z --- **Describe the bug** ``` 04:22:06.161 [info] CONNECTED TO Phoenix.LiveView.Socket in 27�s Transport: :websocket Serializer: Phoenix.Socket.V2.JSONSerializer Parameters: %{"_csrf_token" => "KxQMLmMTYS4JDhRZdicNHxgPQXUDB2kAoGzoWD4yHJYhApHEYV-EOb1A", "_live_referer" => "undefined", "_mount_attempts" => "0", "_mounts" => "0", "_track_static" => %{"0" => "https://demo.serviceradar.cloud/assets/css/app-e286e134d5bc9d706fb95fe981336f7a.css?vsn=d", "1" => "https://demo.serviceradar.cloud/assets/js/app-0b9b3d517067b941a961d9c82077d145.css?vsn=d", "2" => "https://demo.serviceradar.cloud/assets/js/app-b22208a1ae1ef59aa04751226fb9cd91.js?vsn=d"}, "vsn" => "2.0.0"} 04:22:14.213 [info] Plug.SSL is redirecting GET / to https://demo.serviceradar.cloud with status 301 04:22:14.239 [info] Plug.SSL is redirecting GET / to https://demo.serviceradar.cloud with status 301 04:22:16.860 [error] GenServer #PID<0.22087.0> terminating ** (ArgumentError) cannot push_patch/2 to %URI{scheme: "https", userinfo: nil, host: "demo.serviceradar.cloud", port: 443, path: "/netflow", query: "limit=100&nf=v1-H4sIAAAAAAAAA02OwQrCMBBE_2XOubSKSI7-hkhYm7VdTNKQbAtF_HdTEPE2zDwe88JdvBQeVOZEAfZBobKBl1hhrzeDsVCeYFGVhid7GASJorBd_41Ot8yNoHVsay68yrxUl7nI7H9GlbhDgaq6bmqgliUNpOzWI-yh_y9Ou_1ssCTRdgOXXPH-ANmp8s-rAAAA&q=in%3Aflows+time%3Alast_1h+bucket%3A5m+agg%3Asum+value_field%3Abytes_total+series%3Aprotocol_group+limit%3A4000", fragment: nil} because the given path does not point to the current root view ServiceRadarWebNGWeb.NetflowLive.Visualize (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:946: Phoenix.LiveView.Channel.patch_params_and_action!/2 (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:612: Phoenix.LiveView.Channel.mount_handle_params_result/3 (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:1240: Phoenix.LiveView.Channel.verified_mount/8 (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:84: Phoenix.LiveView.Channel.handle_info/2 (stdlib 7.1) gen_server.erl:2434: :gen_server.try_handle_info/3 (stdlib 7.1) gen_server.erl:2420: :gen_server.handle_msg/3 (stdlib 7.1) proc_lib.erl:333: :proc_lib.init_p_do_apply/3 Process Label: {Phoenix.LiveView, ServiceRadarWebNGWeb.NetflowLive.Visualize, "lv:phx-GJdiipY6cBP53VAC"} Last message: {Phoenix.Channel, %{"params" => %{"_csrf_token" => "KxQMLmMTYS4JDhRZdicNHxgPQXUDB2kAoGzoWD4yHJYhApHEYV-EOb1A", "_live_referer" => "https://demo.serviceradar.cloud/observability?tab=alerts", "_mount_attempts" => 0, "_mounts" => 0, "_track_static" => ["https://demo.serviceradar.cloud/assets/css/app-e286e134d5bc9d706fb95fe981336f7a.css?vsn=d", "https://demo.serviceradar.cloud/assets/js/app-0b9b3d517067b941a961d9c82077d145.css?vsn=d", "https://demo.serviceradar.cloud/assets/js/app-b22208a1ae1ef59aa04751226fb9cd91.js?vsn=d"]}, "redirect" => "https://demo.serviceradar.cloud/flows", "session" => "SFMyNTY.g2gDaAJhBnQAAAAIdwJpZG0AAAAUcGh4LUdKZGlpcFk2Y0JQNTNWQUN3B3Nlc3Npb250AAAAAHcEdmlld3cpRWxpeGlyLlNlcnZpY2VSYWRhcldlYk5HV2ViLkxvZ0xpdmUuSW5kZXh3CnBhcmVudF9waWR3A25pbHcGcm91dGVydyJFbGl4aXIuU2VydmljZVJhZGFyV2ViTkdXZWIuUm91dGVydwhyb290X3BpZHcDbmlsdwlyb290X3ZpZXd3KUVsaXhpci5TZXJ2aWNlUmFkYXJXZWJOR1dlYi5Mb2dMaXZlLkluZGV4dxFsaXZlX3Nlc3Npb25fbmFtZXcacmVxdWlyZV9hdXRoZW50aWNhdGVkX3VzZXJuBgC_YAiTnAFiAAFRgA.5qWqv_WLr6RkAM57o6FcwK1h8vji5xwsNAyI6JUHA4Y", "static" => "SFMyNTY.g2gDaAJhBnQAAAADdwJpZG0AAAAUcGh4LUdKZGlpcFk2Y0JQNTNWQUN3BWZsYXNodAAAAAB3CmFzc2lnbl9uZXdsAAAAAXcNY3VycmVudF9zY29wZWpuBgC_YAiTnAFiAAFRgA.BdVzIvL-9nfJr_WlzbZZ2qfZs77n_ZNl8sxdU4Z5atk", "sticky" => false}, {#PID<0.21910.0>, #Reference<0.3978558272.2917924865.140968>}, %Phoenix.Socket{assigns: %{}, channel: Phoenix.LiveView.Channel, channel_pid: nil, endpoint: ServiceRadarWebNGWeb.Endpoint, handler: Phoenix.LiveView.Socket, id: "users_sessions:d87c2ff6-c928-4557-be8b-eb7db7341424", joined: false, join_ref: "20", private: %{connect_info: %{session: %{"_csrf_token" => "DSvA4WUWADM17WEZAYl0LeXA", "live_socket_id" => "users_sessions:d87c2ff6-c928-4557-be8b-eb7db7341424", "session_started_at" => 1771962204, "user_token" => "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJzZXJ2aWNlcmFkYXIiLCJleHAiOjE3NzE5OTY5MjUsImlhdCI6MTc3MTk5MzMyNSwiaXNzIjoic2VydmljZXJhZGFyIiwianRpIjoiMzY4NDI5MmItMWViZS00NTU3LWFlOGMtOTdjNjU2ZGMzNGNiIiwibmJmIjoxNzcxOTkzMzI0LCJyb2xlIjoiYWRtaW4iLCJzdWIiOiJ1c2VyOmQ4N2MyZmY2LWM5MjgtNDU1Ny1iZThiLWViN2RiNzM0MTQyNCIsInR5cCI6ImFjY2VzcyJ9.kkdERj-l7o4zNncc4bO2i9mtOHWr6vCXJ7y6-5vtMxg"}, uri: true}}, pubsub_server: ServiceRadarWebNG.PubSub, ref: nil, serializer: Phoenix.Socket.V2.JSONSerializer, topic: "lv:phx-GJdiipY6cBP53VAC", transport: :websocket, transport_pid: #PID<0.21910.0>}} 04:22:16.864 [error] an exception was raised: ** (ArgumentError) cannot push_patch/2 to %URI{scheme: "https", userinfo: nil, host: "demo.serviceradar.cloud", port: 443, path: "/netflow", query: "limit=100&nf=v1-H4sIAAAAAAAAA02OwQrCMBBE_2XOubSKSI7-hkhYm7VdTNKQbAtF_HdTEPE2zDwe88JdvBQeVOZEAfZBobKBl1hhrzeDsVCeYFGVhid7GASJorBd_41Ot8yNoHVsay68yrxUl7nI7H9GlbhDgaq6bmqgliUNpOzWI-yh_y9Ou_1ssCTRdgOXXPH-ANmp8s-rAAAA&q=in%3Aflows+time%3Alast_1h+bucket%3A5m+agg%3Asum+value_field%3Abytes_total+series%3Aprotocol_group+limit%3A4000", fragment: nil} because the given path does not point to the current root view ServiceRadarWebNGWeb.NetflowLive.Visualize (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:946: Phoenix.LiveView.Channel.patch_params_and_action!/2 (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:612: Phoenix.LiveView.Channel.mount_handle_params_result/3 (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:1240: Phoenix.LiveView.Channel.verified_mount/8 (phoenix_live_view 1.1.19) lib/phoenix_live_view/channel.ex:84: Phoenix.LiveView.Channel.handle_info/2 (stdlib 7.1) gen_server.erl:2434: :gen_server.try_handle_info/3 (stdlib 7.1) gen_server.erl:2420: :gen_server.handle_msg/3 (stdlib 7.1) proc_lib.erl:333: :proc_lib.init_p_do_apply/3 ``` **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#1056
No description provided.