Nightly build error message (port 2004) - docker

Hi

ich hab mal das nightly mit Docker ausprobiert:

# homegear -v
Homegear version 0.8.0-3067
Copyright (c) 2013-2020 Homegear GmbH

Required library versions:
  - libhomegear-base: 0.8.0-3067
  - libhomegear-node: 0.1.7-52
  - libhomegear-ipc:  0.1.2-41

PHP (License: PHP License):
This product includes PHP software, freely available from <http://www.php.net/software/>
Copyright (c) 1999-2020 The PHP Group. All rights reserved.

Das log File wird mit den folgenden Meldungen überschwemmt (auch schon beim build davor):

homegear-nightly    | 09/22/20 09:21:24.863 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address
homegear-nightly    | 09/22/20 09:21:29.864 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address
homegear-nightly    | 09/22/20 09:21:34.866 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address
homegear-nightly    | 09/22/20 09:21:39.867 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address
homegear-nightly    | 09/22/20 09:21:44.867 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address
homegear-nightly    | 09/22/20 09:21:45.479 IPC Server: Info: Client number 0 is calling RPC method: lifetick Parameters:
homegear-nightly    | 09/22/20 09:21:49.878 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address
homegear-nightly    | 09/22/20 09:21:54.879 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address
homegear-nightly    | 09/22/20 09:21:59.879 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address
homegear-nightly    | 09/22/20 09:22:04.880 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address
homegear-nightly    | 09/22/20 09:22:09.881 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address
homegear-nightly    | 09/22/20 09:22:14.881 RPC Server (Port 2004): Error: Server could not start listening on port 2004: Cannot assign requested address

Hallo @jipp,

ändere in der rpcservers.conf für den Server, der auf Port 2004 lauscht die listenAddress auf 127.0.0.1 (oder kommentier ihn aus). Docker unterstützt kein IPv6. Das ist in der neuen Grundkonfiguration inzwischen behoben.

Viele Grüße

Sathya

danke

nur als info: Docker ist dabei seine IPv6 Unterstützung auszubauen.
mit enable IPv6 funktioniert es auch ohne Fehlermeldung

cat /etc/docker/daemon.json
{
  "debug": false,
  "experimental": true,
  "ipv6": true,
  "ip6tables": false,
  "bip": "192.168.1.1/24",
  "fixed-cidr-v6": "fd00:0:0:1::/64"
}
1 Like

Ach cool, danke für die Info - das wusste ich noch nicht!