After few hours test ...
What can be the problem?
tvhstats_1 | [error] Task #PID<0.870.0> started from #PID<0.516.0> terminating
tvhstats_1 | ** (ArgumentError) invalid scheme "picon" for url: picon://1_0_1_34D_8_C8_FFFF0000_0_0_0.png
tvhstats_1 | (finch 0.13.0) lib/finch/request.ex:138: Finch.Request.parse_url/1
tvhstats_1 | (finch 0.13.0) lib/finch/request.ex:103: Finch.Request.build/5
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/worker/cache_warmer.ex:30: TVHStats.Worker.CacheWarmer.store_in_cache/2
tvhstats_1 | (elixir 1.14.1) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
tvhstats_1 | (elixir 1.14.1) lib/task/supervised.ex:34: Task.Supervised.reply/4
tvhstats_1 | (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
tvhstats_1 | Function: #Function<2.63190957/0 in TVHStats.Worker.CacheWarmer.retrieve_icons/0>
tvhstats_1 | Args: []
tvhstats_1 | [error] GenServer TVHStats.Worker.Producer terminating
tvhstats_1 | ** (FunctionClauseError) no function clause matching in TVHStats.Subscriptions.Utils.generate_hash/1
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/subscriptions/utils.ex:5: TVHStats.Subscriptions.Utils.generate_hash(%{"channel" => "Nat Geo HD", "client" => "NR", "descramble" => "0B00:000000(436ms)-127.0.0.1:12345", "errors" => 0, "hostname" => "172.31.90.253", "id" => 1594, "in" => 1236476, "out" => 1236476, "pids" => [256, 512, 520, 1010], "profile" => "pass", "service" => "DVB-C #1__/A1/818MHz/Nat Geo HD", "start" => 1666117706, "state" => "", "title" => "HTTP", "total_in" => 1950990116, "total_out" => 1950990116})
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:43: TVHStats.API.Client.parse_subscription/1
tvhstats_1 | (elixir 1.14.1) lib/enum.ex:1658: Enum."-map/2-lists^map/1-0-"/2
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:22: TVHStats.API.Client.get_streams/0
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/worker/producer.ex:34: TVHStats.Worker.Producer.handle_cast/2
tvhstats_1 | (gen_stage 1.1.2) lib/gen_stage.ex:2134: GenStage.noreply_callback/3
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1123: :gen_server.try_dispatch/4
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1200: :gen_server.handle_msg/6
tvhstats_1 | (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
tvhstats_1 | Last message: {:"$gen_cast", :fetch}
tvhstats_1 | State: %{poll_interval: 1000}
tvhstats_1 | [notice] GenStage consumer TVHStats.Worker.Consumer is stopping after receiving cancel from producer #PID<0.645.0> with reason: {:function_clause,
tvhstats_1 | [
tvhstats_1 | {TVHStats.Subscriptions.Utils, :generate_hash,
tvhstats_1 | [
tvhstats_1 | %{
tvhstats_1 | "channel" => "Nat Geo HD",
tvhstats_1 | "client" => "NR",
tvhstats_1 | "descramble" => "0B00:000000(436ms)-127.0.0.1:12345",
tvhstats_1 | "errors" => 0,
tvhstats_1 | "hostname" => "172.31.90.253",
tvhstats_1 | "id" => 1594,
tvhstats_1 | "in" => 1236476,
tvhstats_1 | "out" => 1236476,
tvhstats_1 | "pids" => [256, 512, 520, 1010],
tvhstats_1 | "profile" => "pass",
tvhstats_1 | "service" => "DVB-C #1__/A1/818MHz/Nat Geo HD",
tvhstats_1 | "start" => 1666117706,
tvhstats_1 | "state" => "",
tvhstats_1 | "title" => "HTTP",
tvhstats_1 | "total_in" => 1950990116,
tvhstats_1 | "total_out" => 1950990116
tvhstats_1 | }
tvhstats_1 | ], [file: 'lib/tvhstats/subscriptions/utils.ex', line: 5]},
tvhstats_1 | {TVHStats.API.Client, :parse_subscription, 1,
tvhstats_1 | [file: 'lib/tvhstats/api/client.ex', line: 43]},
tvhstats_1 | {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1658]},
tvhstats_1 | {TVHStats.API.Client, :get_streams, 0,
tvhstats_1 | [file: 'lib/tvhstats/api/client.ex', line: 22]},
tvhstats_1 | {TVHStats.Worker.Producer, :handle_cast, 2,
tvhstats_1 | [file: 'lib/tvhstats/worker/producer.ex', line: 34]},
tvhstats_1 | {GenStage, :noreply_callback, 3, [file: 'lib/gen_stage.ex', line: 2134]},
tvhstats_1 | {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]},
tvhstats_1 | {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 1200]},
tvhstats_1 | {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}
tvhstats_1 | ]}
tvhstats_1 |
tvhstats_1 | [info] API polling worker started. Poll interval: 1000
tvhstats_1 | [error] GenServer TVHStats.Worker.Consumer terminating
tvhstats_1 | ** (FunctionClauseError) no function clause matching in TVHStats.Subscriptions.Utils.generate_hash/1
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/subscriptions/utils.ex:5: TVHStats.Subscriptions.Utils.generate_hash(%{"channel" => "Nat Geo HD", "client" => "NR", "descramble" => "0B00:000000(436ms)-127.0.0.1:12345", "errors" => 0, "hostname" => "172.31.90.253", "id" => 1594, "in" => 1236476, "out" => 1236476, "pids" => [256, 512, 520, 1010], "profile" => "pass", "service" => "DVB-C #1__/A1/818MHz/Nat Geo HD", "start" => 1666117706, "state" => "", "title" => "HTTP", "total_in" => 1950990116, "total_out" => 1950990116})
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:43: TVHStats.API.Client.parse_subscription/1
tvhstats_1 | (elixir 1.14.1) lib/enum.ex:1658: Enum."-map/2-lists^map/1-0-"/2
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:22: TVHStats.API.Client.get_streams/0
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/worker/producer.ex:34: TVHStats.Worker.Producer.handle_cast/2
tvhstats_1 | (gen_stage 1.1.2) lib/gen_stage.ex:2134: GenStage.noreply_callback/3
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1123: :gen_server.try_dispatch/4
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1200: :gen_server.handle_msg/6
tvhstats_1 | (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
tvhstats_1 | Last message: {:DOWN, #Reference<0.686759624.4055105538.64727>, :process, #PID<0.645.0>, {:function_clause, [{TVHStats.Subscriptions.Utils, :generate_hash, [%{"channel" => "Nat Geo HD", "client" => "NR", "descramble" => "0B00:000000(436ms)-127.0.0.1:12345", "errors" => 0, "hostname" => "172.31.90.253", "id" => 1594, "in" => 1236476, "out" => 1236476, "pids" => [256, 512, 520, 1010], "profile" => "pass", "service" => "DVB-C #1__/A1/818MHz/Nat Geo HD", "start" => 1666117706, "state" => "", "title" => "HTTP", "total_in" => 1950990116, "total_out" => 1950990116}], [file: 'lib/tvhstats/subscriptions/utils.ex', line: 5]}, {TVHStats.API.Client, :parse_subscription, 1, [file: 'lib/tvhstats/api/client.ex', line: 43]}, {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1658]}, {TVHStats.API.Client, :get_streams, 0, [file: 'lib/tvhstats/api/client.ex', line: 22]}, {TVHStats.Worker.Producer, :handle_cast, 2, [file: 'lib/tvhstats/worker/producer.ex', line: 34]}, {GenStage, :noreply_callback, 3, [file: 'lib/gen_stage.ex', line: 2134]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 1200]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}}
tvhstats_1 | State: []
tvhstats_1 | [error] GenServer TVHStats.Worker.Producer terminating
tvhstats_1 | ** (FunctionClauseError) no function clause matching in TVHStats.Subscriptions.Utils.generate_hash/1
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/subscriptions/utils.ex:5: TVHStats.Subscriptions.Utils.generate_hash(%{"channel" => "Nat Geo HD", "client" => "NR", "descramble" => "0B00:000000(432ms)-127.0.0.1:12345", "errors" => 0, "hostname" => "172.31.90.253", "id" => 1594, "in" => 1353036, "out" => 1353036, "pids" => [256, 512, 520, 1010], "profile" => "pass", "service" => "DVB-C #1__/A1/818MHz/Nat Geo HD", "start" => 1666117706, "state" => "", "title" => "HTTP", "total_in" => 1952366276, "total_out" => 1952366276})
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:43: TVHStats.API.Client.parse_subscription/1
tvhstats_1 | (elixir 1.14.1) lib/enum.ex:1658: Enum."-map/2-lists^map/1-0-"/2
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:22: TVHStats.API.Client.get_streams/0
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/worker/producer.ex:34: TVHStats.Worker.Producer.handle_cast/2
tvhstats_1 | (gen_stage 1.1.2) lib/gen_stage.ex:2134: GenStage.noreply_callback/3
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1123: :gen_server.try_dispatch/4
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1200: :gen_server.handle_msg/6
tvhstats_1 | (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
tvhstats_1 | Last message: {:"$gen_cast", :fetch}
tvhstats_1 | State: %{poll_interval: 1000}
tvhstats_1 | [info] API polling worker started. Poll interval: 1000
tvhstats_1 | [notice] GenStage consumer TVHStats.Worker.Consumer is stopping after receiving cancel from producer #PID<0.875.0> with reason: {:function_clause,
tvhstats_1 | [
tvhstats_1 | {TVHStats.Subscriptions.Utils, :generate_hash,
tvhstats_1 | [
tvhstats_1 | %{
tvhstats_1 | "channel" => "Nat Geo HD",
tvhstats_1 | "client" => "NR",
tvhstats_1 | "descramble" => "0B00:000000(432ms)-127.0.0.1:12345",
tvhstats_1 | "errors" => 0,
tvhstats_1 | "hostname" => "172.31.90.253",
tvhstats_1 | "id" => 1594,
tvhstats_1 | "in" => 1353036,
tvhstats_1 | "out" => 1353036,
tvhstats_1 | "pids" => [256, 512, 520, 1010],
tvhstats_1 | "profile" => "pass",
tvhstats_1 | "service" => "DVB-C #1__/A1/818MHz/Nat Geo HD",
tvhstats_1 | "start" => 1666117706,
tvhstats_1 | "state" => "",
tvhstats_1 | "title" => "HTTP",
tvhstats_1 | "total_in" => 1952366276,
tvhstats_1 | "total_out" => 1952366276
tvhstats_1 | }
tvhstats_1 | ], [file: 'lib/tvhstats/subscriptions/utils.ex', line: 5]},
tvhstats_1 | {TVHStats.API.Client, :parse_subscription, 1,
tvhstats_1 | [file: 'lib/tvhstats/api/client.ex', line: 43]},
tvhstats_1 | {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1658]},
tvhstats_1 | {TVHStats.API.Client, :get_streams, 0,
tvhstats_1 | [file: 'lib/tvhstats/api/client.ex', line: 22]},
tvhstats_1 | {TVHStats.Worker.Producer, :handle_cast, 2,
tvhstats_1 | [file: 'lib/tvhstats/worker/producer.ex', line: 34]},
tvhstats_1 | {GenStage, :noreply_callback, 3, [file: 'lib/gen_stage.ex', line: 2134]},
tvhstats_1 | {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]},
tvhstats_1 | {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 1200]},
tvhstats_1 | {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}
tvhstats_1 | ]}
tvhstats_1 |
tvhstats_1 | [error] GenServer TVHStats.Worker.Consumer terminating
tvhstats_1 | ** (FunctionClauseError) no function clause matching in TVHStats.Subscriptions.Utils.generate_hash/1
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/subscriptions/utils.ex:5: TVHStats.Subscriptions.Utils.generate_hash(%{"channel" => "Nat Geo HD", "client" => "NR", "descramble" => "0B00:000000(432ms)-127.0.0.1:12345", "errors" => 0, "hostname" => "172.31.90.253", "id" => 1594, "in" => 1353036, "out" => 1353036, "pids" => [256, 512, 520, 1010], "profile" => "pass", "service" => "DVB-C #1__/A1/818MHz/Nat Geo HD", "start" => 1666117706, "state" => "", "title" => "HTTP", "total_in" => 1952366276, "total_out" => 1952366276})
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:43: TVHStats.API.Client.parse_subscription/1
tvhstats_1 | (elixir 1.14.1) lib/enum.ex:1658: Enum."-map/2-lists^map/1-0-"/2
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:22: TVHStats.API.Client.get_streams/0
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/worker/producer.ex:34: TVHStats.Worker.Producer.handle_cast/2
tvhstats_1 | (gen_stage 1.1.2) lib/gen_stage.ex:2134: GenStage.noreply_callback/3
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1123: :gen_server.try_dispatch/4
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1200: :gen_server.handle_msg/6
tvhstats_1 | (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
tvhstats_1 | Last message: {:DOWN, #Reference<0.686759624.4055105538.68451>, :process, #PID<0.875.0>, {:function_clause, [{TVHStats.Subscriptions.Utils, :generate_hash, [%{"channel" => "Nat Geo HD", "client" => "NR", "descramble" => "0B00:000000(432ms)-127.0.0.1:12345", "errors" => 0, "hostname" => "172.31.90.253", "id" => 1594, "in" => 1353036, "out" => 1353036, "pids" => [256, 512, 520, 1010], "profile" => "pass", "service" => "DVB-C #1__/A1/818MHz/Nat Geo HD", "start" => 1666117706, "state" => "", "title" => "HTTP", "total_in" => 1952366276, "total_out" => 1952366276}], [file: 'lib/tvhstats/subscriptions/utils.ex', line: 5]}, {TVHStats.API.Client, :parse_subscription, 1, [file: 'lib/tvhstats/api/client.ex', line: 43]}, {Enum, :"-map/2-lists^map/1-0-", 2, [file: 'lib/enum.ex', line: 1658]}, {TVHStats.API.Client, :get_streams, 0, [file: 'lib/tvhstats/api/client.ex', line: 22]}, {TVHStats.Worker.Producer, :handle_cast, 2, [file: 'lib/tvhstats/worker/producer.ex', line: 34]}, {GenStage, :noreply_callback, 3, [file: 'lib/gen_stage.ex', line: 2134]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 1200]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}}
tvhstats_1 | State: []
tvhstats_1 | [notice] Application tvhstats exited: shutdown
and this one
tvhstats_1 | 19:04:01.093 [info] Migrations already up
tvhstats_1 | [info] [Janitor] Cleaning up records task started.
tvhstats_1 | [info] [CacheWarmer] Task Retrieve icons started.
tvhstats_1 | [info] [CacheWarmer] Saving icons to: /app/priv/static/assets/icons
tvhstats_1 | [debug] QUERY OK source="subscriptions" db=1.0ms decode=11.6ms queue=64.1ms idle=0.0ms
tvhstats_1 | SELECT s0."hash", s0."user", s0."channel", s0."ip", s0."client", s0."stream_type", s0."started_at", s0."stopped_at", s0."inserted_at", s0."updated_at" FROM "subscriptions" AS s0 WHERE (s0."stopped_at" IS NULL) []
tvhstats_1 | TVHStats.Worker.Janitor.cleanup_records/0, at: lib/tvhstats/worker/janitor.ex:18
tvhstats_1 | [info] Running TVHStatsWeb.Endpoint with cowboy 2.9.0 at 0.0.0.0:4000 (http)
tvhstats_1 | [info] Access TVHStatsWeb.Endpoint at http://localhost:4000
tvhstats_1 | [info] API polling worker started. Poll interval: 1000
tvhstats_1 | Sass is watching for changes. Press Ctrl-C to stop.
tvhstats_1 |
tvhstats_1 | [error] Task #PID<0.516.0> started from TVHStats.Supervisor terminating
tvhstats_1 | ** (MatchError) no match of right hand side value: {:error, %Mint.TransportError{reason: :econnrefused}}
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:31: TVHStats.API.Client.get_channels/3
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/worker/cache_warmer.ex:21: TVHStats.Worker.CacheWarmer.retrieve_icons/0
tvhstats_1 | (elixir 1.14.1) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
tvhstats_1 | (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
tvhstats_1 | Function: &TVHStats.Worker.CacheWarmer.retrieve_icons/0
tvhstats_1 | Args: []
tvhstats_1 | [error] Task #PID<0.515.0> started from TVHStats.Supervisor terminating
tvhstats_1 | ** (MatchError) no match of right hand side value: {:error, %Mint.TransportError{reason: :econnrefused}}
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:15: TVHStats.API.Client.get_streams/0
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/worker/janitor.ex:22: TVHStats.Worker.Janitor.cleanup_records/0
tvhstats_1 | (elixir 1.14.1) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
tvhstats_1 | (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
tvhstats_1 | Function: &TVHStats.Worker.Janitor.cleanup_records/0
tvhstats_1 | Args: []
tvhstats_1 | [watch] build finished, watching for changes...
tvhstats_1 | [error] GenServer TVHStats.Worker.Producer terminating
tvhstats_1 | ** (MatchError) no match of right hand side value: {:error, %Mint.TransportError{reason: :econnrefused}}
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:15: TVHStats.API.Client.get_streams/0
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/worker/producer.ex:34: TVHStats.Worker.Producer.handle_cast/2
tvhstats_1 | (gen_stage 1.1.2) lib/gen_stage.ex:2134: GenStage.noreply_callback/3
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1123: :gen_server.try_dispatch/4
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1200: :gen_server.handle_msg/6
tvhstats_1 | (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
tvhstats_1 | Last message: {:"$gen_cast", :fetch}
tvhstats_1 | State: %{poll_interval: 1000}
tvhstats_1 | [info] API polling worker started. Poll interval: 1000
tvhstats_1 | [notice] GenStage consumer TVHStats.Worker.Consumer is stopping after receiving cancel from producer #PID<0.645.0> with reason: {{:badmatch, {:error, %Mint.TransportError{reason: :econnrefused}}},
tvhstats_1 | [
tvhstats_1 | {TVHStats.API.Client, :get_streams, 0,
tvhstats_1 | [file: 'lib/tvhstats/api/client.ex', line: 15]},
tvhstats_1 | {TVHStats.Worker.Producer, :handle_cast, 2,
tvhstats_1 | [file: 'lib/tvhstats/worker/producer.ex', line: 34]},
tvhstats_1 | {GenStage, :noreply_callback, 3, [file: 'lib/gen_stage.ex', line: 2134]},
tvhstats_1 | {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]},
tvhstats_1 | {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 1200]},
tvhstats_1 | {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}
tvhstats_1 | ]}
tvhstats_1 |
tvhstats_1 | [error] GenServer TVHStats.Worker.Consumer terminating
tvhstats_1 | ** (MatchError) no match of right hand side value: {:error, %Mint.TransportError{reason: :econnrefused}}
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:15: TVHStats.API.Client.get_streams/0
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/worker/producer.ex:34: TVHStats.Worker.Producer.handle_cast/2
tvhstats_1 | (gen_stage 1.1.2) lib/gen_stage.ex:2134: GenStage.noreply_callback/3
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1123: :gen_server.try_dispatch/4
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1200: :gen_server.handle_msg/6
tvhstats_1 | (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
tvhstats_1 | Last message: {:DOWN, #Reference<0.3696639384.298844162.55070>, :process, #PID<0.645.0>, {{:badmatch, {:error, %Mint.TransportError{reason: :econnrefused}}}, [{TVHStats.API.Client, :get_streams, 0, [file: 'lib/tvhstats/api/client.ex', line: 15]}, {TVHStats.Worker.Producer, :handle_cast, 2, [file: 'lib/tvhstats/worker/producer.ex', line: 34]}, {GenStage, :noreply_callback, 3, [file: 'lib/gen_stage.ex', line: 2134]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 1200]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}}
tvhstats_1 | State: []
tvhstats_1 | [error] GenServer TVHStats.Worker.Producer terminating
tvhstats_1 | ** (MatchError) no match of right hand side value: {:error, %Mint.TransportError{reason: :econnrefused}}
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:15: TVHStats.API.Client.get_streams/0
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/worker/producer.ex:34: TVHStats.Worker.Producer.handle_cast/2
tvhstats_1 | (gen_stage 1.1.2) lib/gen_stage.ex:2134: GenStage.noreply_callback/3
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1123: :gen_server.try_dispatch/4
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1200: :gen_server.handle_msg/6
tvhstats_1 | (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
tvhstats_1 | Last message: {:"$gen_cast", :fetch}
tvhstats_1 | State: %{poll_interval: 1000}
tvhstats_1 | [info] API polling worker started. Poll interval: 1000
tvhstats_1 | [notice] GenStage consumer TVHStats.Worker.Consumer is stopping after receiving cancel from producer #PID<0.647.0> with reason: {{:badmatch, {:error, %Mint.TransportError{reason: :econnrefused}}},
tvhstats_1 | [
tvhstats_1 | {TVHStats.API.Client, :get_streams, 0,
tvhstats_1 | [file: 'lib/tvhstats/api/client.ex', line: 15]},
tvhstats_1 | {TVHStats.Worker.Producer, :handle_cast, 2,
tvhstats_1 | [file: 'lib/tvhstats/worker/producer.ex', line: 34]},
tvhstats_1 | {GenStage, :noreply_callback, 3, [file: 'lib/gen_stage.ex', line: 2134]},
tvhstats_1 | {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]},
tvhstats_1 | {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 1200]},
tvhstats_1 | {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}
tvhstats_1 | ]}
tvhstats_1 |
tvhstats_1 | [error] GenServer TVHStats.Worker.Consumer terminating
tvhstats_1 | ** (MatchError) no match of right hand side value: {:error, %Mint.TransportError{reason: :econnrefused}}
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/api/client.ex:15: TVHStats.API.Client.get_streams/0
tvhstats_1 | (tvhstats 0.0.1) lib/tvhstats/worker/producer.ex:34: TVHStats.Worker.Producer.handle_cast/2
tvhstats_1 | (gen_stage 1.1.2) lib/gen_stage.ex:2134: GenStage.noreply_callback/3
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1123: :gen_server.try_dispatch/4
tvhstats_1 | (stdlib 4.1.1) gen_server.erl:1200: :gen_server.handle_msg/6
tvhstats_1 | (stdlib 4.1.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
tvhstats_1 | Last message: {:DOWN, #Reference<0.3696639384.298844162.55110>, :process, #PID<0.647.0>, {{:badmatch, {:error, %Mint.TransportError{reason: :econnrefused}}}, [{TVHStats.API.Client, :get_streams, 0, [file: 'lib/tvhstats/api/client.ex', line: 15]}, {TVHStats.Worker.Producer, :handle_cast, 2, [file: 'lib/tvhstats/worker/producer.ex', line: 34]}, {GenStage, :noreply_callback, 3, [file: 'lib/gen_stage.ex', line: 2134]}, {:gen_server, :try_dispatch, 4, [file: 'gen_server.erl', line: 1123]}, {:gen_server, :handle_msg, 6, [file: 'gen_server.erl', line: 1200]}, {:proc_lib, :init_p_do_apply, 3, [file: 'proc_lib.erl', line: 240]}]}}
tvhstats_1 | State: []
tvhstats_1 | [notice] Application tvhstats exited: shutdown
db_1 | 2022-10-18 19:08:55.453 UTC [25] LOG: checkpoint starting: time
db_1 | 2022-10-18 19:08:55.463 UTC [25] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.001 s, total=0.010 s; sync files=2, longest=0.001 s, average=0.001 s; distance=0 kB, estimate=0 kB