bmartin5692 / bumper

A standalone and self-hosted implementation of the central server used by Ecovacs vacuum robots.
GNU General Public License v3.0
273 stars 48 forks source link

How to setup bumper as service? And again error MQTT connection failed: ConnectionRefusedError(111) #98

Closed schwatter closed 3 years ago

schwatter commented 4 years ago

@bmartin5692

My bumper is setup on headless raspianOs. I have two problems.

  1. ConnectionRefusedError(111) I tried a lot of ways. All infos i found, but i can not solve it. The curious is, my Deebot950 is connected and i can control it extern from fhem. Please update installguide for raspianOs.
root@raspberrypi:/opt/bumper-master# pipenv run python -m bumper --listen 192.168.178.42 --announce 192.168.178.42 --debug
[2020-06-14 11:19:38,976] :: INFO :: bumper :: __init__ :: start :: 194 :: Starting Bumper
[2020-06-14 11:19:38,982] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugins :: 61 :: Loading plugins for namespace hbmqtt.broker.plugins
[2020-06-14 11:19:38,983] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 69 ::  Loading plugin bumper = bumper.mqttserver:BumperMQTTServer_Plugin
[2020-06-14 11:19:38,984] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 71 ::  Initializing plugin bumper = bumper.mqttserver:BumperMQTTServer_Plugin
[2020-06-14 11:19:38,985] :: DEBUG :: hbmqtt.broker.plugins.bumper :: mqttserver :: _read_password_file :: 318 :: Reading user database from /opt/bumper-master/data/passwd
[2020-06-14 11:19:38,985] :: DEBUG :: hbmqtt.broker.plugins.bumper :: mqttserver :: _read_password_file :: 326 :: 0 user(s) read from file /opt/bumper-master/data/passwd
[2020-06-14 11:19:38,986] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugins :: 65 ::  Plugin bumper ready
[2020-06-14 11:19:39,003] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 69 ::  Loading plugin auth_anonymous = hbmqtt.plugins.authentication:AnonymousAuthPlugin
[2020-06-14 11:19:39,105] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 71 ::  Initializing plugin auth_anonymous = hbmqtt.plugins.authentication:AnonymousAuthPlugin
[2020-06-14 11:19:39,106] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugins :: 65 ::  Plugin auth_anonymous ready
[2020-06-14 11:19:39,110] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 69 ::  Loading plugin auth_file = hbmqtt.plugins.authentication:FileAuthPlugin
[2020-06-14 11:19:39,112] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 71 ::  Initializing plugin auth_file = hbmqtt.plugins.authentication:FileAuthPlugin
[2020-06-14 11:19:39,114] :: DEBUG :: hbmqtt.broker.plugins.auth_file :: authentication :: _read_password_file :: 63 :: Reading user database from /opt/bumper-master/data/passwd
[2020-06-14 11:19:39,114] :: DEBUG :: hbmqtt.broker.plugins.auth_file :: authentication :: _read_password_file :: 71 :: 0 user(s) read from file /opt/bumper-master/data/passwd
[2020-06-14 11:19:39,115] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugins :: 65 ::  Plugin auth_file ready
[2020-06-14 11:19:39,115] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 69 ::  Loading plugin broker_sys = hbmqtt.plugins.sys.broker:BrokerSysPlugin
[2020-06-14 11:19:39,121] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 71 ::  Initializing plugin broker_sys = hbmqtt.plugins.sys.broker:BrokerSysPlugin
[2020-06-14 11:19:39,121] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugins :: 65 ::  Plugin broker_sys ready
[2020-06-14 11:19:39,122] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 69 ::  Loading plugin packet_logger_plugin = hbmqtt.plugins.logging:PacketLoggerPlugin
[2020-06-14 11:19:39,126] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 71 ::  Initializing plugin packet_logger_plugin = hbmqtt.plugins.logging:PacketLoggerPlugin
[2020-06-14 11:19:39,126] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugins :: 65 ::  Plugin packet_logger_plugin ready
[2020-06-14 11:19:39,127] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 69 ::  Loading plugin topic_taboo = hbmqtt.plugins.topic_checking:TopicTabooPlugin
[2020-06-14 11:19:39,131] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugin :: 71 ::  Initializing plugin topic_taboo = hbmqtt.plugins.topic_checking:TopicTabooPlugin
[2020-06-14 11:19:39,132] :: DEBUG :: hbmqtt.broker.plugins :: manager :: _load_plugins :: 65 ::  Plugin topic_taboo ready
[2020-06-14 11:19:39,151] :: INFO :: mqttserver :: mqttserver :: broker_coro :: 152 :: Starting MQTT Server at 192.168.178.42:8883
[2020-06-14 11:19:39,152] :: DEBUG :: hbmqtt.broker :: broker :: start :: 218 :: Broker starting
[2020-06-14 11:19:39,156] :: DEBUG :: hbmqtt.broker :: broker :: start :: 231 :: Listener configuration 'default' is not bound
[2020-06-14 11:19:39,167] :: DEBUG :: hbmqtt.client.plugins :: manager :: _load_plugins :: 61 :: Loading plugins for namespace hbmqtt.client.plugins
[2020-06-14 11:19:39,168] :: DEBUG :: hbmqtt.client.plugins :: manager :: _load_plugin :: 69 ::  Loading plugin packet_logger_plugin = hbmqtt.plugins.logging:PacketLoggerPlugin
[2020-06-14 11:19:39,173] :: DEBUG :: hbmqtt.client.plugins :: manager :: _load_plugin :: 71 ::  Initializing plugin packet_logger_plugin = hbmqtt.plugins.logging:PacketLoggerPlugin
[2020-06-14 11:19:39,174] :: DEBUG :: hbmqtt.client.plugins :: manager :: _load_plugins :: 65 ::  Plugin packet_logger_plugin ready
[2020-06-14 11:19:39,176] :: DEBUG :: hbmqtt.client :: client :: connect :: 140 :: Connect to: mqtts://192.168.178.42:8883/
[2020-06-14 11:19:39,186] :: INFO :: xmppserver :: xmppserver :: start_async_server :: 30 :: Starting XMPP Server at 192.168.178.42:5223
[2020-06-14 11:19:39,194] :: WARNING :: hbmqtt.client :: client :: _connect_coro :: 426 :: MQTT connection failed: ConnectionRefusedError(111, "Connect call failed ('192.168.178.42', 8883)")
[2020-06-14 11:19:39,195] :: WARNING :: hbmqtt.client :: client :: connect :: 145 :: Connection failed: ConnectException(ConnectionRefusedError(111, "Connect call failed ('192.168.178.42', 8883)"))
[2020-06-14 11:19:39,196] :: DEBUG :: hbmqtt.client :: client :: reconnect :: 193 :: Reconnecting with session parameters: Session(clientId=helperbot@bumper/helperbot, state=disconnected)
[2020-06-14 11:19:39,200] :: INFO :: hbmqtt.broker :: broker :: start :: 285 :: Listener 'tls1' bind to 192.168.178.42:8883 (max_connections=-1)
[2020-06-14 11:19:39,203] :: DEBUG :: hbmqtt.broker :: broker :: start :: 293 :: Broker started
[2020-06-14 11:19:39,205] :: DEBUG :: hbmqtt.broker :: broker :: retain_message :: 602 :: Retaining message on topic $SYS/broker/version
[2020-06-14 11:19:39,206] :: DEBUG :: hbmqtt.broker.plugins.broker_sys :: broker :: on_broker_post_start :: 75 :: $SYS disabled
[2020-06-14 11:19:40,199] :: DEBUG :: hbmqtt.client :: client :: reconnect :: 200 :: Reconnect attempt 1 ...
[2020-06-14 11:19:40,289] :: DEBUG :: hbmqtt.client.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_sent :: 44 :: helperbot@bumper/helperbot -out-> ConnectPacket(ts=2020-06-14 11:19:40.279795, fixed=MQTTFixedHeader(length=38, flags=0x0), variable=ConnectVariableHeader(proto_name=MQTT, proto_level=4, flags=0x2, keepalive=9), payload=ConnectVariableHeader(client_id=helperbot@bumper/helperbot, will_topic=None, will_message=None, username=None, password=None))
[2020-06-14 11:19:40,290] :: INFO :: hbmqtt.broker :: broker :: acquire_connection :: 90 :: Listener 'tls1': 1 connections acquired
[2020-06-14 11:19:40,290] :: INFO :: hbmqtt.broker :: broker :: client_connected :: 354 :: Connection from 192.168.178.42:58186 on listener 'tls1'
[2020-06-14 11:19:40,298] :: DEBUG :: hbmqtt.broker :: broker :: delete_session :: 783 :: Delete session : session helperbot@bumper/helperbot doesn't exist
[2020-06-14 11:19:40,299] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 389 :: Keep-alive timeout=11
[2020-06-14 11:19:40,304] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_received :: 36 :: <-in-- ConnectPacket(ts=2020-06-14 11:19:40.292077, fixed=MQTTFixedHeader(length=38, flags=0x0), variable=ConnectVariableHeader(proto_name=MQTT, proto_level=4, flags=0x2, keepalive=9), payload=ConnectVariableHeader(client_id=helperbot@bumper/helperbot, will_topic=None, will_message=None, username=None, password=None))
[2020-06-14 11:19:40,306] :: INFO :: mqttserver :: mqttserver :: authenticate :: 267 :: Bumper Authentication Success - Helperbot: helperbot@bumper/helperbot
[2020-06-14 11:19:40,307] :: DEBUG :: hbmqtt.broker :: broker :: authenticate :: 560 :: 'bumper' plugin result: True
[2020-06-14 11:19:40,313] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 413 :: helperbot@bumper/helperbot Start messages handling
[2020-06-14 11:19:40,317] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_sent :: 44 :: helperbot@bumper/helperbot -out-> ConnackPacket(ts=2020-06-14 11:19:40.309340, fixed=MQTTFixedHeader(length=2, flags=0x0), variable=ConnackVariableHeader(session_parent=0x0, return_code=0x0), payload=None)
[2020-06-14 11:19:40,323] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 357 :: helperbot@bumper/helperbot Starting reader coro
[2020-06-14 11:19:40,333] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: start :: 111 :: Handler tasks started
[2020-06-14 11:19:40,334] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _retry_deliveries :: 150 :: Begin messages delivery retries
[2020-06-14 11:19:40,334] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _retry_deliveries :: 158 :: End messages delivery retries
[2020-06-14 11:19:40,335] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: start :: 113 :: Handler ready
[2020-06-14 11:19:40,336] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 415 :: Retained messages queue size: 0
[2020-06-14 11:19:40,337] :: DEBUG :: hbmqtt.broker :: broker :: publish_session_retained_messages :: 741 :: Publishing 0 messages retained for session (client id=helperbot@bumper/helperbot)
[2020-06-14 11:19:40,348] :: DEBUG :: hbmqtt.client.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_received :: 34 :: helperbot@bumper/helperbot <-in-- ConnackPacket(ts=2020-06-14 11:19:40.328957, fixed=MQTTFixedHeader(length=2, flags=0x0), variable=ConnackVariableHeader(session_parent=0x0, return_code=0x0), payload=None)
[2020-06-14 11:19:40,350] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 357 :: helperbot@bumper/helperbot Starting reader coro
[2020-06-14 11:19:40,354] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: mqtt_deliver_next_message :: 459 :: 0 message(s) available for delivery
[2020-06-14 11:19:40,357] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: start :: 111 :: Handler tasks started
[2020-06-14 11:19:40,358] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _retry_deliveries :: 150 :: Begin messages delivery retries
[2020-06-14 11:19:40,358] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _retry_deliveries :: 158 :: End messages delivery retries
[2020-06-14 11:19:40,359] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: start :: 113 :: Handler ready
[2020-06-14 11:19:40,360] :: DEBUG :: hbmqtt.client :: client :: _connect_coro :: 415 :: connected to 192.168.178.42:8883
[2020-06-14 11:19:40,365] :: DEBUG :: hbmqtt.client :: client :: handle_connection_close :: 440 :: Watch broker disconnection
[2020-06-14 11:19:40,366] :: DEBUG :: hbmqtt.client.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_sent :: 44 :: helperbot@bumper/helperbot -out-> SubscribePacket(ts=2020-06-14 11:19:40.362878, fixed=MQTTFixedHeader(length=77, flags=0x2), variable=PacketIdVariableHeader(packet_id=1), payload=SubscribePayload(topics=[('iot/p2p/+/+/+/+/helperbot/bumper/helperbot/+/+/+', 0), ('iot/p2p/+', 0), ('iot/atr/+', 0)]))
[2020-06-14 11:19:40,374] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_received :: 34 :: helperbot@bumper/helperbot <-in-- SubscribePacket(ts=2020-06-14 11:19:40.369880, fixed=MQTTFixedHeader(length=77, flags=0x2), variable=PacketIdVariableHeader(packet_id=1), payload=SubscribePayload(topics=[('iot/p2p/+/+/+/+/helperbot/bumper/helperbot/+/+/+', 0), ('iot/p2p/+', 0), ('iot/atr/+', 0)]))
[2020-06-14 11:19:40,378] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 465 :: helperbot@bumper/helperbot handling subscription
[2020-06-14 11:19:40,388] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'bumper' plugin result: None
[2020-06-14 11:19:40,389] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'auth_anonymous' plugin result: None
[2020-06-14 11:19:40,389] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'auth_file' plugin result: None
[2020-06-14 11:19:40,390] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'broker_sys' plugin result: None
[2020-06-14 11:19:40,390] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'packet_logger_plugin' plugin result: None
[2020-06-14 11:19:40,391] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'topic_taboo' plugin result: True
[2020-06-14 11:19:40,401] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'bumper' plugin result: None
[2020-06-14 11:19:40,402] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'auth_anonymous' plugin result: None
[2020-06-14 11:19:40,402] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'auth_file' plugin result: None
[2020-06-14 11:19:40,403] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'broker_sys' plugin result: None
[2020-06-14 11:19:40,403] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'packet_logger_plugin' plugin result: None
[2020-06-14 11:19:40,404] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'topic_taboo' plugin result: True
[2020-06-14 11:19:40,420] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (portal_api_appsvr)
[2020-06-14 11:19:40,421] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (portal_api_dimr)
[2020-06-14 11:19:40,421] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (portal_api_iot)
[2020-06-14 11:19:40,422] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (portal_api_lg)
[2020-06-14 11:19:40,422] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (portal_api_neng)
[2020-06-14 11:19:40,423] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (portal_api_pim)
[2020-06-14 11:19:40,425] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (portal_api_users)
[2020-06-14 11:19:40,426] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (upload_global)
[2020-06-14 11:19:40,429] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (v1_global_auth)
[2020-06-14 11:19:40,429] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (v1_private_ad)
[2020-06-14 11:19:40,438] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (v1_private_campaign)
[2020-06-14 11:19:40,442] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (v1_private_common)
[2020-06-14 11:19:40,458] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (v1_private_message)
[2020-06-14 11:19:40,466] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (v1_private_shop)
[2020-06-14 11:19:40,470] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (v1_private_user)
[2020-06-14 11:19:40,500] :: DEBUG :: root :: confserver :: confserver_app :: 96 :: Adding confserver sub_api (v2_private_user)
[2020-06-14 11:19:40,634] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'bumper' plugin result: None
[2020-06-14 11:19:40,635] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'auth_anonymous' plugin result: None
[2020-06-14 11:19:40,635] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'auth_file' plugin result: None
[2020-06-14 11:19:40,635] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'broker_sys' plugin result: None
[2020-06-14 11:19:40,636] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'packet_logger_plugin' plugin result: None
[2020-06-14 11:19:40,636] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'topic_taboo' plugin result: True
[2020-06-14 11:19:40,640] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 756 :: Begin broadcasting messages retained due to subscription on 'iot/p2p/+/+/+/+/helperbot/bumper/helperbot/+/+/+' from (client id=helperbot@bumper/helperbot)
[2020-06-14 11:19:40,641] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 760 :: matching : $SYS/broker/version iot/p2p/+/+/+/+/helperbot/bumper/helperbot/+/+/+
[2020-06-14 11:19:40,644] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 770 :: End broadcasting messages retained due to subscription on 'iot/p2p/+/+/+/+/helperbot/bumper/helperbot/+/+/+' from (client id=helperbot@bumper/helperbot)
[2020-06-14 11:19:40,645] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 756 :: Begin broadcasting messages retained due to subscription on 'iot/p2p/+' from (client id=helperbot@bumper/helperbot)
[2020-06-14 11:19:40,645] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 760 :: matching : $SYS/broker/version iot/p2p/+
[2020-06-14 11:19:40,647] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 770 :: End broadcasting messages retained due to subscription on 'iot/p2p/+' from (client id=helperbot@bumper/helperbot)
[2020-06-14 11:19:40,647] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 756 :: Begin broadcasting messages retained due to subscription on 'iot/atr/+' from (client id=helperbot@bumper/helperbot)
[2020-06-14 11:19:40,648] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 760 :: matching : $SYS/broker/version iot/atr/+
[2020-06-14 11:19:40,649] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 770 :: End broadcasting messages retained due to subscription on 'iot/atr/+' from (client id=helperbot@bumper/helperbot)
[2020-06-14 11:19:40,651] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 481 :: {'iot/p2p/+/+/+/+/helperbot/bumper/helperbot/+/+/+': [(Session(clientId=helperbot@bumper/helperbot, state=connected), 0)], 'iot/p2p/+': [(Session(clientId=helperbot@bumper/helperbot, state=connected), 0)], 'iot/atr/+': [(Session(clientId=helperbot@bumper/helperbot, state=connected), 0)]}
[2020-06-14 11:19:40,663] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_sent :: 44 :: helperbot@bumper/helperbot -out-> SubackPacket(ts=2020-06-14 11:19:40.637978, fixed=MQTTFixedHeader(length=5, flags=0x0), variable=PacketIdVariableHeader(packet_id=1), payload=SubackPayload(return_codes=[0, 0, 0]))
[2020-06-14 11:19:40,675] :: DEBUG :: hbmqtt.client.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_received :: 34 :: helperbot@bumper/helperbot <-in-- SubackPacket(ts=2020-06-14 11:19:40.671467, fixed=MQTTFixedHeader(length=5, flags=0x0), variable=PacketIdVariableHeader(packet_id=1), payload=SubackPayload(return_codes=[0, 0, 0]))
[2020-06-14 11:19:41,922] :: INFO :: hbmqtt.broker :: broker :: acquire_connection :: 90 :: Listener 'tls1': 2 connections acquired
[2020-06-14 11:19:41,923] :: INFO :: hbmqtt.broker :: broker :: client_connected :: 354 :: Connection from 192.168.178.66:55714 on listener 'tls1'
[2020-06-14 11:19:41,936] :: DEBUG :: hbmqtt.broker :: broker :: delete_session :: 783 :: Delete session : session fhemuser@bumper/GLBbe7d18eG9 doesn't exist
[2020-06-14 11:19:41,937] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 389 :: Keep-alive timeout=32
[2020-06-14 11:19:41,945] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_received :: 36 :: <-in-- ConnectPacket(ts=2020-06-14 11:19:41.929157, fixed=MQTTFixedHeader(length=70, flags=0x0), variable=ConnectVariableHeader(proto_name=MQTT, proto_level=4, flags=0xc2, keepalive=30), payload=ConnectVariableHeader(client_id=fhemuser@bumper/GLBbe7d18eG9, will_topic=None, will_message=None, username=meine@geheimemail.de, password=123456))
[2020-06-14 11:19:41,948] :: DEBUG :: bumper :: db :: check_authcode :: 212 :: Checking for authcode: 123456
[2020-06-14 11:19:41,956] :: INFO :: mqttserver :: mqttserver :: authenticate :: 278 :: Bumper Authentication Success - Client - Username: meine@geheimemail.de - ClientID: fhemuser@bumper/GLBbe7d18eG9
[2020-06-14 11:19:41,959] :: DEBUG :: hbmqtt.broker :: broker :: authenticate :: 560 :: 'bumper' plugin result: True
[2020-06-14 11:19:41,969] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 413 :: fhemuser@bumper/GLBbe7d18eG9 Start messages handling
[2020-06-14 11:19:41,977] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_sent :: 44 :: fhemuser@bumper/GLBbe7d18eG9 -out-> ConnackPacket(ts=2020-06-14 11:19:41.961692, fixed=MQTTFixedHeader(length=2, flags=0x0), variable=ConnackVariableHeader(session_parent=0x0, return_code=0x0), payload=None)
[2020-06-14 11:19:41,993] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 357 :: fhemuser@bumper/GLBbe7d18eG9 Starting reader coro
[2020-06-14 11:19:41,998] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: start :: 111 :: Handler tasks started
[2020-06-14 11:19:41,999] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _retry_deliveries :: 150 :: Begin messages delivery retries
[2020-06-14 11:19:41,999] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _retry_deliveries :: 158 :: End messages delivery retries
[2020-06-14 11:19:42,000] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: start :: 113 :: Handler ready
[2020-06-14 11:19:42,001] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 415 :: Retained messages queue size: 0
[2020-06-14 11:19:42,002] :: DEBUG :: hbmqtt.broker :: broker :: publish_session_retained_messages :: 741 :: Publishing 0 messages retained for session (client id=fhemuser@bumper/GLBbe7d18eG9)
[2020-06-14 11:19:42,012] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: mqtt_deliver_next_message :: 459 :: 0 message(s) available for delivery
[2020-06-14 11:19:42,014] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_received :: 34 :: fhemuser@bumper/GLBbe7d18eG9 <-in-- SubscribePacket(ts=2020-06-14 11:19:42.007436, fixed=MQTTFixedHeader(length=6, flags=0x2), variable=PacketIdVariableHeader(packet_id=60), payload=SubscribePayload(topics=[('#', 0)]))
[2020-06-14 11:19:42,018] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 465 :: fhemuser@bumper/GLBbe7d18eG9 handling subscription
[2020-06-14 11:19:42,028] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'bumper' plugin result: None
[2020-06-14 11:19:42,029] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'auth_anonymous' plugin result: None
[2020-06-14 11:19:42,029] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'auth_file' plugin result: None
[2020-06-14 11:19:42,030] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'broker_sys' plugin result: None
[2020-06-14 11:19:42,030] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'packet_logger_plugin' plugin result: None
[2020-06-14 11:19:42,031] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'topic_taboo' plugin result: True
[2020-06-14 11:19:42,034] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 756 :: Begin broadcasting messages retained due to subscription on '#' from (client id=fhemuser@bumper/GLBbe7d18eG9)
[2020-06-14 11:19:42,035] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 760 :: matching : $SYS/broker/version #
[2020-06-14 11:19:42,036] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 762 :: $SYS/broker/version and # match
[2020-06-14 11:19:42,039] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_sent :: 44 :: fhemuser@bumper/GLBbe7d18eG9 -out-> SubackPacket(ts=2020-06-14 11:19:42.031974, fixed=MQTTFixedHeader(length=3, flags=0x0), variable=PacketIdVariableHeader(packet_id=60), payload=SubackPayload(return_codes=[0]))
[2020-06-14 11:19:42,044] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_sent :: 44 :: fhemuser@bumper/GLBbe7d18eG9 -out-> PublishPacket(ts=2020-06-14 11:19:42.040898, fixed=MQTTFixedHeader(length=41, flags=0x1), variable=PublishVariableHeader(topic=$SYS/broker/version, packet_id=None), payload=PublishPayload(data="b'HBMQTT version 0.9.5'"))
[2020-06-14 11:19:42,046] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 770 :: End broadcasting messages retained due to subscription on '#' from (client id=fhemuser@bumper/GLBbe7d18eG9)
[2020-06-14 11:19:42,048] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 481 :: {'iot/p2p/+/+/+/+/helperbot/bumper/helperbot/+/+/+': [(Session(clientId=helperbot@bumper/helperbot, state=connected), 0)], 'iot/p2p/+': [(Session(clientId=helperbot@bumper/helperbot, state=connected), 0)], 'iot/atr/+': [(Session(clientId=helperbot@bumper/helperbot, state=connected), 0)], '#': [(Session(clientId=fhemuser@bumper/GLBbe7d18eG9, state=connected), 0)]}
[2020-06-14 11:19:43,282] :: INFO :: hbmqtt.broker :: broker :: acquire_connection :: 90 :: Listener 'tls1': 3 connections acquired
[2020-06-14 11:19:43,283] :: INFO :: hbmqtt.broker :: broker :: client_connected :: 354 :: Connection from 192.168.178.24:51565 on listener 'tls1'
[2020-06-14 11:19:43,301] :: DEBUG :: hbmqtt.broker :: broker :: delete_session :: 783 :: Delete session : session bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth doesn't exist
[2020-06-14 11:19:43,302] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 389 :: Keep-alive timeout=62
[2020-06-14 11:19:43,308] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_received :: 36 :: <-in-- ConnectPacket(ts=2020-06-14 11:19:43.292320, fixed=MQTTFixedHeader(length=92, flags=0x0), variable=ConnectVariableHeader(proto_name=MQTT, proto_level=4, flags=0xc2, keepalive=60), payload=ConnectVariableHeader(client_id=bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth, will_topic=None, will_message=None, username=E03312796B09HCBJ0091, password=XGmD4NFb))
[2020-06-14 11:19:43,314] :: INFO :: mqttserver :: mqttserver :: authenticate :: 257 :: Bumper Authentication Success - Bot - SN: E03312796B09HCBJ0091 - DID: bb5d3df7-0ec5-4f38-b930-b6e0ed03b963 - Class: yna5xi
[2020-06-14 11:19:43,317] :: DEBUG :: hbmqtt.broker :: broker :: authenticate :: 560 :: 'bumper' plugin result: True
[2020-06-14 11:19:43,327] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 413 :: bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth Start messages handling
[2020-06-14 11:19:43,335] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_sent :: 44 :: bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth -out-> ConnackPacket(ts=2020-06-14 11:19:43.319557, fixed=MQTTFixedHeader(length=2, flags=0x0), variable=ConnackVariableHeader(session_parent=0x0, return_code=0x0), payload=None)
[2020-06-14 11:19:43,354] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 357 :: bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth Starting reader coro
[2020-06-14 11:19:43,363] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: start :: 111 :: Handler tasks started
[2020-06-14 11:19:43,364] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _retry_deliveries :: 150 :: Begin messages delivery retries
[2020-06-14 11:19:43,365] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _retry_deliveries :: 158 :: End messages delivery retries
[2020-06-14 11:19:43,366] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: start :: 113 :: Handler ready
[2020-06-14 11:19:43,368] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 415 :: Retained messages queue size: 0
[2020-06-14 11:19:43,369] :: DEBUG :: hbmqtt.broker :: broker :: publish_session_retained_messages :: 741 :: Publishing 0 messages retained for session (client id=bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth)
[2020-06-14 11:19:43,380] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: mqtt_deliver_next_message :: 459 :: 0 message(s) available for delivery
[2020-06-14 11:19:43,392] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_received :: 34 :: bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth <-in-- SubscribePacket(ts=2020-06-14 11:19:43.387025, fixed=MQTTFixedHeader(length=75, flags=0x2), variable=PacketIdVariableHeader(packet_id=96), payload=SubscribePayload(topics=[('iot/p2p/+/+/+/+/bb5d3df7-0ec5-4f38-b930-b6e0ed03b963/yna5xi/GMth/+/+/+', 0)]))
[2020-06-14 11:19:43,396] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 465 :: bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth handling subscription
[2020-06-14 11:19:43,406] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'bumper' plugin result: None
[2020-06-14 11:19:43,407] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'auth_anonymous' plugin result: None
[2020-06-14 11:19:43,408] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'auth_file' plugin result: None
[2020-06-14 11:19:43,408] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'broker_sys' plugin result: None
[2020-06-14 11:19:43,408] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'packet_logger_plugin' plugin result: None
[2020-06-14 11:19:43,409] :: DEBUG :: hbmqtt.broker :: broker :: topic_filtering :: 595 :: 'topic_taboo' plugin result: True
[2020-06-14 11:19:43,413] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 756 :: Begin broadcasting messages retained due to subscription on 'iot/p2p/+/+/+/+/bb5d3df7-0ec5-4f38-b930-b6e0ed03b963/yna5xi/GMth/+/+/+' from (client id=bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth)
[2020-06-14 11:19:43,414] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 760 :: matching : $SYS/broker/version iot/p2p/+/+/+/+/bb5d3df7-0ec5-4f38-b930-b6e0ed03b963/yna5xi/GMth/+/+/+
[2020-06-14 11:19:43,417] :: DEBUG :: hbmqtt.broker :: broker :: publish_retained_messages_for_subscription :: 770 :: End broadcasting messages retained due to subscription on 'iot/p2p/+/+/+/+/bb5d3df7-0ec5-4f38-b930-b6e0ed03b963/yna5xi/GMth/+/+/+' from (client id=bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth)
[2020-06-14 11:19:43,419] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 481 :: {'iot/p2p/+/+/+/+/helperbot/bumper/helperbot/+/+/+': [(Session(clientId=helperbot@bumper/helperbot, state=connected), 0)], 'iot/p2p/+': [(Session(clientId=helperbot@bumper/helperbot, state=connected), 0)], 'iot/atr/+': [(Session(clientId=helperbot@bumper/helperbot, state=connected), 0)], '#': [(Session(clientId=fhemuser@bumper/GLBbe7d18eG9, state=connected), 0)], 'iot/p2p/+/+/+/+/bb5d3df7-0ec5-4f38-b930-b6e0ed03b963/yna5xi/GMth/+/+/+': [(Session(clientId=bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth, state=connected), 0)]}
[2020-06-14 11:19:43,421] :: DEBUG :: hbmqtt.broker.plugins.packet_logger_plugin :: logging :: on_mqtt_packet_sent :: 44 :: bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth -out-> SubackPacket(ts=2020-06-14 11:19:43.410384, fixed=MQTTFixedHeader(length=3, flags=0x0), variable=PacketIdVariableHeader(packet_id=96), payload=SubackPayload(return_codes=[0]))
^C[2020-06-14 11:19:44,093] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 423 :: Task cancelled, reader loop ending
[2020-06-14 11:19:44,094] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: broker_handler :: handle_disconnect :: 57 :: Client disconnecting
[2020-06-14 11:19:44,095] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 437 :: fhemuser@bumper/GLBbe7d18eG9 Reader coro stopped
[2020-06-14 11:19:44,096] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 133 :: Stopping 0 puback waiters
[2020-06-14 11:19:44,097] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 134 :: Stopping 0 pucomp waiters
[2020-06-14 11:19:44,098] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 135 :: Stopping 0 purec waiters
[2020-06-14 11:19:44,099] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 136 :: Stopping 0 purel waiters
[2020-06-14 11:19:44,100] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: stop :: 121 :: waiting for tasks to be stopped
[2020-06-14 11:19:44,107] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 500 :: Client loop cancelled
[2020-06-14 11:19:44,108] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 507 :: helperbot@bumper/helperbot Client disconnected
[2020-06-14 11:19:44,109] :: INFO :: hbmqtt.broker :: broker :: release_connection :: 101 :: Listener 'tls1': 2 connections acquired
[2020-06-14 11:19:44,111] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 423 :: Task cancelled, reader loop ending
[2020-06-14 11:19:44,113] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: client_handler :: handle_connection_closed :: 170 :: Broker closed connection
[2020-06-14 11:19:44,114] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 437 :: helperbot@bumper/helperbot Reader coro stopped
[2020-06-14 11:19:44,115] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 133 :: Stopping 0 puback waiters
[2020-06-14 11:19:44,116] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 134 :: Stopping 0 pucomp waiters
[2020-06-14 11:19:44,117] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 135 :: Stopping 0 purec waiters
[2020-06-14 11:19:44,118] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 136 :: Stopping 0 purel waiters
[2020-06-14 11:19:44,119] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: stop :: 121 :: waiting for tasks to be stopped
[2020-06-14 11:19:44,127] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: mqtt_deliver_next_message :: 465 :: Delivering message None
[2020-06-14 11:19:44,133] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 500 :: Client loop cancelled
[2020-06-14 11:19:44,134] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 507 :: bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth Client disconnected
[2020-06-14 11:19:44,135] :: INFO :: hbmqtt.broker :: broker :: release_connection :: 101 :: Listener 'tls1': 1 connections acquired
[2020-06-14 11:19:44,138] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: mqtt_deliver_next_message :: 465 :: Delivering message None
[2020-06-14 11:19:44,145] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: mqtt_deliver_next_message :: 465 :: Delivering message None
[2020-06-14 11:19:44,152] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 423 :: Task cancelled, reader loop ending
[2020-06-14 11:19:44,153] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: broker_handler :: handle_disconnect :: 57 :: Client disconnecting
[2020-06-14 11:19:44,154] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 437 :: bb5d3df7-0ec5-4f38-b930-b6e0ed03b963@yna5xi/GMth Reader coro stopped
[2020-06-14 11:19:44,155] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 133 :: Stopping 0 puback waiters
[2020-06-14 11:19:44,156] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 134 :: Stopping 0 pucomp waiters
[2020-06-14 11:19:44,157] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 135 :: Stopping 0 purec waiters
[2020-06-14 11:19:44,158] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 136 :: Stopping 0 purel waiters
[2020-06-14 11:19:44,160] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: stop :: 121 :: waiting for tasks to be stopped
[2020-06-14 11:19:44,165] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 500 :: Client loop cancelled
[2020-06-14 11:19:44,166] :: DEBUG :: hbmqtt.broker :: broker :: client_connected :: 507 :: fhemuser@bumper/GLBbe7d18eG9 Client disconnected
[2020-06-14 11:19:44,167] :: INFO :: hbmqtt.broker :: broker :: release_connection :: 101 :: Listener 'tls1': 0 connections acquired
[2020-06-14 11:19:44,173] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 423 :: Task cancelled, reader loop ending
[2020-06-14 11:19:44,174] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: broker_handler :: handle_disconnect :: 57 :: Client disconnecting
[2020-06-14 11:19:44,175] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _reader_loop :: 437 :: helperbot@bumper/helperbot Reader coro stopped
[2020-06-14 11:19:44,176] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 133 :: Stopping 0 puback waiters
[2020-06-14 11:19:44,177] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 134 :: Stopping 0 pucomp waiters
[2020-06-14 11:19:44,178] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 135 :: Stopping 0 purec waiters
[2020-06-14 11:19:44,179] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: _stop_waiters :: 136 :: Stopping 0 purel waiters
[2020-06-14 11:19:44,181] :: DEBUG :: hbmqtt.mqtt.protocol.handler :: handler :: stop :: 121 :: waiting for tasks to be stopped
[2020-06-14 11:19:44,199] :: INFO :: bumper :: __init__ :: main :: 368 :: Keyboard Interrupt!
[2020-06-14 11:19:44,201] :: INFO :: bumper :: __init__ :: shutdown :: 239 :: Shutting down
[2020-06-14 11:19:44,202] :: ERROR :: confserver :: confserver :: stop_server :: 174 :: 'NoneType' object has no attribute 'shutdown'
Traceback (most recent call last):
  File "/opt/bumper-master/bumper/confserver.py", line 171, in stop_server
    await self.runner.shutdown()
AttributeError: 'NoneType' object has no attribute 'shutdown'
[2020-06-14 11:19:44,203] :: ERROR :: confserver :: confserver :: stop_server :: 174 :: 'NoneType' object has no attribute 'shutdown'
Traceback (most recent call last):
  File "/opt/bumper-master/bumper/confserver.py", line 171, in stop_server
    await self.runner.shutdown()
AttributeError: 'NoneType' object has no attribute 'shutdown'
[2020-06-14 11:19:44,204] :: DEBUG :: hbmqtt.broker :: broker :: shutdown :: 328 :: Broker closing
[2020-06-14 11:19:44,205] :: INFO :: hbmqtt.broker :: broker :: shutdown :: 329 :: Broker closed
[2020-06-14 11:19:44,206] :: INFO :: bumper :: __init__ :: shutdown :: 265 :: Shutdown complete
root@raspberrypi:/opt/bumper-master#

Ping and Portscan

root@raspberrypi:~# nc -zv 192.168.178.42 8883
Connection to 192.168.178.42 8883 port [tcp/*] succeeded!
root@raspberrypi:~# nc -zv 192.168.178.42 5223
Connection to 192.168.178.42 5223 port [tcp/*] succeeded!
root@raspberrypi:~# nc -zv 192.168.178.42 443
Connection to 192.168.178.42 443 port [tcp/https] succeeded!
root@raspberrypi:~# ping ecouser.net
PING ecouser.net (192.168.178.42) 56(84) bytes of data.
64 bytes from raspberrypi.fritz.box (192.168.178.42): icmp_seq=1 ttl=64 time=0.102 ms
64 bytes from raspberrypi.fritz.box (192.168.178.42): icmp_seq=2 ttl=64 time=0.089 ms
64 bytes from raspberrypi.fritz.box (192.168.178.42): icmp_seq=3 ttl=64 time=0.059 ms
^C
--- ecouser.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 46ms
rtt min/avg/max/mdev = 0.059/0.083/0.102/0.019 ms
root@raspberrypi:~# ping ecovacs.com
PING ecovacs.com (192.168.178.42) 56(84) bytes of data.
64 bytes from raspberrypi.fritz.box (192.168.178.42): icmp_seq=1 ttl=64 time=0.099 ms
64 bytes from raspberrypi.fritz.box (192.168.178.42): icmp_seq=2 ttl=64 time=0.121 ms
64 bytes from raspberrypi.fritz.box (192.168.178.42): icmp_seq=3 ttl=64 time=0.129 ms
^C
--- ecovacs.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 68ms
rtt min/avg/max/mdev = 0.099/0.116/0.129/0.015 ms
root@raspberrypi:~# ping ecovacs.net
PING ecovacs.net (192.168.178.42) 56(84) bytes of data.
64 bytes from raspberrypi.fritz.box (192.168.178.42): icmp_seq=1 ttl=64 time=0.141 ms
64 bytes from raspberrypi.fritz.box (192.168.178.42): icmp_seq=2 ttl=64 time=0.084 ms
64 bytes from raspberrypi.fritz.box (192.168.178.42): icmp_seq=3 ttl=64 time=0.060 ms
^C
--- ecovacs.net ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 52ms
rtt min/avg/max/mdev = 0.060/0.095/0.141/0.033 ms
root@raspberrypi:~#
  1. the real use for bumper is, running in background. So can you please provide a servicefile for systemd?
root@raspberrypi:/opt/bumper-master# cat /etc/systemd/system/bumper.service
[Unit]
Description=Bumper
After=network.target

[Service]
User=user
Restart=always
Type=simple
WorkingDirectory=/opt/bumper-master
ExecStart=/usr/local/bin/pipenv run python -m bumper --listen 192.168.178.42 --announce 192.168.178.42

[Install]
WantedBy=multi-user.target
root@raspberrypi:/opt/bumper-master#
schwatter commented 4 years ago

thx @KölnSolar

Hopefully my Problem is solved. After setting up bumper with systemd, both problems are gone.


Description=Bumper
After=network.target
Wants=network.target

[Service]
User=root
Restart=always
Type=simple

WorkingDirectory=/opt/bumper-master
ExecStart=pipenv run python3 -m bumper --listen 192.168.178.42 --announce 192.168.178.42

[Install]
WantedBy=multi-user.target```