Fresh Docker install, MQTT fails to bind to 8883 #107

Closed
opened 2020-12-24 19:12:49 +01:00 by laramy2020 · 2 comments
laramy2020 commented 2020-12-24 19:12:49 +01:00 (Migrated from github.com)

Describe the bug
Fresh manjaro base install (using architect)
only docker running, no other services MQTT fails to bind to port 8333

To Reproduce
sign in to box
install docker
install docker image of bumper
run listed command in help docs replacing x.x.x.x with the ip of the host docker is running on

sudo pacman -S docker
sudo systemctl enable docker
sudo systemctl start docker
sudo docker pull bmartin5692/bumper
sudo docker run -it -e "BUMPER_ANNOUNCE_IP=192.168.6.157" -p 443:443 -p 8007:8007 -p 8883:8883 -p 5223:5223 -v /var/bumper/data:/bumper/data --name bumper bmartin5692/bumper

Expected behavior
Services startup and bind to ports

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: linux manjaro cli only

Smartphone (please complete the following information):
N/A

Vacuum (please complete the following information):

  • Model: [e.g. Deebot M80]

Additional context

[2020-12-24 18:09:48,881] :: WARNING :: hbmqtt.client :: client :: _connect_coro :: 426 :: MQTT connection failed: ConnectionRefusedError(111, "Connect call failed ('172.17.0.2', 8883)")
[2020-12-24 18:09:48,881] :: WARNING :: hbmqtt.client :: client :: connect :: 145 :: Connection failed: ConnectException(ConnectionRefusedError(111, "Connect call failed ('172.17.0.2', 8883)"))
[2020-12-24 18:09:48,882] :: INFO :: hbmqtt.broker :: broker :: start :: 285 :: Listener 'tls1' bind to 172.17.0.2:8883 (max_connections=-1)
[2020-12-24 18:09:49,896] :: INFO :: hbmqtt.broker :: broker :: acquire_connection :: 90 :: Listener 'tls1': 1 connections acquired
[2020-12-24 18:09:49,896] :: INFO :: hbmqtt.broker :: broker :: client_connected :: 354 :: Connection from 172.17.0.2:55604 on listener 'tls1'
[2020-12-24 18:09:49,900] :: INFO :: mqttserver :: mqttserver :: authenticate :: 267 :: Bumper Authentication Success - Helperbot: helperbot@bumper/helperbot
**Describe the bug** Fresh manjaro base install (using architect) only docker running, no other services MQTT fails to bind to port 8333 **To Reproduce** sign in to box install docker install docker image of bumper run listed command in help docs replacing x.x.x.x with the ip of the host docker is running on ``` sudo pacman -S docker sudo systemctl enable docker sudo systemctl start docker sudo docker pull bmartin5692/bumper sudo docker run -it -e "BUMPER_ANNOUNCE_IP=192.168.6.157" -p 443:443 -p 8007:8007 -p 8883:8883 -p 5223:5223 -v /var/bumper/data:/bumper/data --name bumper bmartin5692/bumper ``` **Expected behavior** Services startup and bind to ports **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: linux manjaro cli only **Smartphone (please complete the following information):** N/A **Vacuum (please complete the following information):** - Model: [e.g. Deebot M80] **Additional context** ``` [2020-12-24 18:09:48,881] :: WARNING :: hbmqtt.client :: client :: _connect_coro :: 426 :: MQTT connection failed: ConnectionRefusedError(111, "Connect call failed ('172.17.0.2', 8883)") [2020-12-24 18:09:48,881] :: WARNING :: hbmqtt.client :: client :: connect :: 145 :: Connection failed: ConnectException(ConnectionRefusedError(111, "Connect call failed ('172.17.0.2', 8883)")) [2020-12-24 18:09:48,882] :: INFO :: hbmqtt.broker :: broker :: start :: 285 :: Listener 'tls1' bind to 172.17.0.2:8883 (max_connections=-1) [2020-12-24 18:09:49,896] :: INFO :: hbmqtt.broker :: broker :: acquire_connection :: 90 :: Listener 'tls1': 1 connections acquired [2020-12-24 18:09:49,896] :: INFO :: hbmqtt.broker :: broker :: client_connected :: 354 :: Connection from 172.17.0.2:55604 on listener 'tls1' [2020-12-24 18:09:49,900] :: INFO :: mqttserver :: mqttserver :: authenticate :: 267 :: Bumper Authentication Success - Helperbot: helperbot@bumper/helperbot ```
Bustel commented 2021-05-15 23:04:42 +02:00 (Migrated from github.com)

I get the same error for the latest Docker build. Is the image not up to date with the master branch?

I get the same error for the latest Docker build. Is the image not up to date with the master branch?
edenhaus commented 2021-05-19 23:38:41 +02:00 (Migrated from github.com)

I get the same error for the latest Docker build. Is the image not up to date with the master branch?

The fix exists only in my PR, which is not yet merged.
In the meantime this error can be ignored. The helper bot tries to connect after the server is started

> I get the same error for the latest Docker build. Is the image not up to date with the master branch? The fix exists only in my PR, which is not yet merged. In the meantime this error can be ignored. The helper bot tries to connect after the server is started
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: mia/bumper#107
No description provided.