Skip to content

docker not working #144

@lobneroO

Description

@lobneroO

Describe the bug
After docker isntallation, certs are created but there is a login on confserver with seems to not be working. Access via app does not work.

To Reproduce
Steps to reproduce the behavior:

  1. On a proxmox server, create a new Arch Linux LXC container, update it and install docker
  2. Note the ip address of the LXC container, e.g. 192.168.178.34
  3. On a local pihole, setup the DNS settings as required by the docs.
  4. Start the docker container as suggested in the docs: docker run -it -e "BUMPER_ANNOUNCE_IP=192.168.178.34" -p 443:443 -p 8007:8007 -p 8883:8883 -p 5223:5223 -v /home/admin/bumper/data:/bumper/data --name bumper bmartin5692/bumper
  5. Output will first give out successes, then start spamming attempted logins:

Creating certificates
-------- Create_Certs --------
-------- Starting Certificate Creation --------
Options:
Output Directory: /bumper/certs
Input SAN List: /bumper/create_certs/Bumper_SAN.txt
-------- Creating CA Cert --------
2024/06/16 14:11:50 ca.crt created at /bumper/certs/ca.crt
2024/06/16 14:11:50 ca.key created at /bumper/certs/ca.key
-------- Creating Server Cert --------
2024/06/16 14:11:50 bumper.crt created at /bumper/certs/bumper.crt
2024/06/16 14:11:50 bumper.key created at /bumper/certs/bumper.key
-------- Certificate Creation Complete --------
Certificates created
[2024-06-16 14:11:50,676] :: INFO :: bumper :: Starting Bumper
[2024-06-16 14:11:50,698] :: INFO :: mqttserver :: Starting MQTT Server at 172.17.0.2:8883
[2024-06-16 14:11:50,701] :: INFO :: hbmqtt.broker :: Listener 'tls1' bind to 172.17.0.2:8883 (max_connections=-1)
[2024-06-16 14:11:50,704] :: INFO :: xmppserver :: Starting XMPP Server at 172.17.0.2:5223
[2024-06-16 14:11:50,707] :: INFO :: hbmqtt.broker :: Listener 'tls1': 1 connections acquired
[2024-06-16 14:11:50,708] :: INFO :: hbmqtt.broker :: Connection from 172.17.0.2:55286 on listener 'tls1'
[2024-06-16 14:11:50,709] :: INFO :: mqttserver :: Bumper Authentication Success - Helperbot: helperbot@bumper/helperbot
[2024-06-16 14:12:05,969] :: INFO :: confserver :: client with devid HA-home attempting login
[2024-06-16 14:12:06,895] :: INFO :: confserver :: client with devid HA-home attempting login
[2024-06-16 14:12:08,071] :: INFO :: confserver :: client with devid HA-home attempting login
[2024-06-16 14:12:09,902] :: INFO :: confserver :: client with devid HA-home attempting login

  1. Restart the deebot vacuum
  2. Logs stay mostly the same, but now a few acquired connections are added (.35 address is local home assistant which was setup for this in parallel but doesn't show anything either):

[2024-06-16 15:07:52,019] :: INFO :: confserver :: client with devid HA-home attempting login
[2024-06-16 15:07:53,018] :: INFO :: confserver :: client with devid HA-home attempting login
[2024-06-16 15:07:55,014] :: INFO :: confserver :: client with devid HA-home attempting login
[2024-06-16 15:07:55,056] :: INFO :: hbmqtt.broker :: Listener 'tls1': 4 connections acquired
[2024-06-16 15:07:55,057] :: INFO :: hbmqtt.broker :: Connection from 192.168.178.35:60371 on listener 'tls1'
[2024-06-16 15:07:55,062] :: INFO :: mqttserver :: Bumper Authentication Success - Client - Username: fuid_tmpuser - ClientID: fuid_tmpuser@ecouser/HA-home
[2024-06-16 15:08:06,020] :: INFO :: confserver :: client with devid HA-home attempting login
[2024-06-16 15:09:12,020] :: INFO :: confserver :: client with devid HA-home attempting login
[2024-06-16 15:09:13,020] :: INFO :: confserver :: client with devid HA-home attempting login

Expected behavior
Login should probably work / return success.
App should show the vaccuum online
Home Assistant should see the vacuum

Desktop (please complete the following information):

  • OS: Proxmox / Docker

Smartphone (please complete the following information):

  • Device: Samsung Galaxy A53
  • OS: Android

Vacuum (please complete the following information):

  • Model: Deebot N8

Logs attached (I tried to manually use python3 -m bumper in the end, which lead to some of the errors)
logs.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions