Replies: 1 comment 8 replies
-
I am not sure what you are trying to do here. Do you have a mqtt server? Do you want a mqtt server? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This just started a couple of days ago, and I can't quite figure out why. This is Docker installed on a Mac mini M4 Pro. The error cycles every 10 seconds or so, so the logs are huge over the last few days.
Any ideas, anyone? Driving me insane...
2025-07-23 16:33:08.135 [info] Refreshed api tokens
2025-07-23 16:33:08.139 [info] Scheduling token refresh in 6 h
2025-07-23 16:33:08.143 [info] Running TeslaMateWeb.Endpoint with cowboy 2.13.0 at :::4000 (http)
2025-07-23 16:33:08.144 [info] Access TeslaMateWeb.Endpoint at http://localhost
2025-07-23 16:33:08.245 [info] Starting logger for 'Pikachu'
2025-07-23 16:33:08.609 car_id=3 [info] Start / :offline
2025-07-23 16:33:09.030 [warning] [Tortoise311] Connection failed: {:connection_refused, ~c"mosquitto", 1883}, %{port: 1883, status: :down, protocol: "MQTT", host: ~c"mosquitto", protocol_version: 4, keep_alive: 60, transport: Tortoise311.Transport.Tcp, clean_session: true, client_id: "TESLAMATE_302E3937303", subscriptions: %Tortoise311.Package.Subscribe{META: %Tortoise311.Package.Meta{opcode: 8, flags: 2}, identifier: nil, topics: []}}. Retrying in 100 msecs.
2025-07-23 16:33:09.139 [warning] [Tortoise311] Connection failed: {:connection_refused, ~c"mosquitto", 1883}, %{port: 1883, status: :down, protocol: "MQTT", host: ~c"mosquitto", protocol_version: 4, keep_alive: 60, transport: Tortoise311.Transport.Tcp, clean_session: true, client_id: "TESLAMATE_302E3937303", subscriptions: %Tortoise311.Package.Subscribe{META: %Tortoise311.Package.Meta{opcode: 8, flags: 2}, identifier: nil, topics: []}}. Retrying in 200 msecs.
2025-07-23 16:33:09.345 [warning] [Tortoise311] Connection failed: {:connection_refused, ~c"mosquitto", 1883}, %{port: 1883, status: :down, protocol: "MQTT", host: ~c"mosquitto", protocol_version: 4, keep_alive: 60, transport: Tortoise311.Transport.Tcp, clean_session: true, client_id: "TESLAMATE_302E3937303", subscriptions: %Tortoise311.Package.Subscribe{META: %Tortoise311.Package.Meta{opcode: 8, flags: 2}, identifier: nil, topics: []}}. Retrying in 400 msecs.
2025-07-23 16:33:09.750 [warning] [Tortoise311] Connection failed: {:connection_refused, ~c"mosquitto", 1883}, %{port: 1883, status: :down, protocol: "MQTT", host: ~c"mosquitto", protocol_version: 4, keep_alive: 60, transport: Tortoise311.Transport.Tcp, clean_session: true, client_id: "TESLAMATE_302E3937303", subscriptions: %Tortoise311.Package.Subscribe{META: %Tortoise311.Package.Meta{opcode: 8, flags: 2}, identifier: nil, topics: []}}. Retrying in 800 msecs.
2025-07-23 16:33:10.558 [warning] [Tortoise311] Connection failed: {:connection_refused, ~c"mosquitto", 1883}, %{port: 1883, status: :down, protocol: "MQTT", host: ~c"mosquitto", protocol_version: 4, keep_alive: 60, transport: Tortoise311.Transport.Tcp, clean_session: true, client_id: "TESLAMATE_302E3937303", subscriptions: %Tortoise311.Package.Subscribe{META: %Tortoise311.Package.Meta{opcode: 8, flags: 2}, identifier: nil, topics: []}}. Retrying in 1600 msecs.
2025-07-23 16:33:12.164 [warning] [Tortoise311] Connection failed: {:connection_refused, ~c"mosquitto", 1883}, %{port: 1883, status: :down, protocol: "MQTT", host: ~c"mosquitto", protocol_version: 4, keep_alive: 60, transport: Tortoise311.Transport.Tcp, clean_session: true, client_id: "TESLAMATE_302E3937303", subscriptions: %Tortoise311.Package.Subscribe{META: %Tortoise311.Package.Meta{opcode: 8, flags: 2}, identifier: nil, topics: []}}. Retrying in 3200 msecs.
2025-07-23 16:33:15.372 [warning] [Tortoise311] Connection failed: {:connection_refused, ~c"mosquitto", 1883}, %{port: 1883, status: :down, protocol: "MQTT", host: ~c"mosquitto", protocol_version: 4, keep_alive: 60, transport: Tortoise311.Transport.Tcp, clean_session: true, client_id: "TESLAMATE_302E3937303", subscriptions: %Tortoise311.Package.Subscribe{META: %Tortoise311.Package.Meta{opcode: 8, flags: 2}, identifier: nil, topics: []}}. Retrying in 6400 msecs.
2025-07-23 16:33:17.749 [warning] [Tortoise311] Connection - timed out
2025-07-23 16:33:17.749 [error] GenServer TeslaMate.Mqtt.Publisher terminating
** (MatchError) no match of right hand side value: {:error, :timeout}
Last message (from #PID<0.2732.0>): {:publish, "teslamate/cars/3/healthy", "", [retain: true, qos: 1]}
2025-07-23 16:33:17.775 [notice] Application teslamate exited: TeslaMate.Application.start(:normal, []) returned an error: shutdown: failed to start child: TeslaMate.Mqtt
Kernel pid terminated (application_controller) ("{application_start_failure,teslamate,{{shutdown,{failed_to_start_child,'Elixir.TeslaMate.Mqtt',{shutdown,{failed_to_start_child,'Elixir.TeslaMate.Mqtt.PubSub',{shutdown,{failed_to_start_child,'Elixir.TeslaMate.Mqtt.PubSub.VehicleSubscriber3',{{{badmatch,{error,timeout}},[{'Elixir.TeslaMate.Mqtt.Publisher',handle_call,3,[{file,"lib/teslamate/mqtt/publisher.ex"},{line,41}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,1131}]},{gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,1160}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,241}]}]},{'Elixir.GenServer',call,['Elixir.TeslaMate.Mqtt.Publisher',{publish,<<"teslamate/cars/3/healthy">>,<
Beta Was this translation helpful? Give feedback.
All reactions