ioBroker.hm-rpc icon indicating copy to clipboard operation
ioBroker.hm-rpc copied to clipboard

iobroker in Docker - Adapter Adress from RPC only provides local IP's

Open umurcos opened this issue 7 months ago • 4 comments

Describe the bug When creating an RPC in iobroker, which is running in Docker, the Adapter Adress Dropdown only provides local IP's, but not my iobroker IP Adress to select.

To Reproduce Steps to reproduce the behavior:

  1. Open RPC Intance
  2. Select Adapter Adress Dropdown
  3. See only local adresse (0.0.0.0, 127.0.0.1 (lo), 127.17.0.4 (eth0) )

Expected behavior Select my iobroker IP Adress

Screenshots Screenshot 2023-11-14 at 22 30 15

Versions:

  • hm-rpc version: 1.15.19
  • hm-rega version: 4.0.0
  • JS-Controller version: ?
  • Node version: 16.20.1
  • Operating system: docker 6.10.1
  • CCU model: Raspberrymatic CCU3
  • CCU firmware: 3.71.12.20231020

umurcos avatar Nov 14 '23 21:11 umurcos

I am not an expert regarding Docker but Which IP do you expect? The one where your container is mounted to the outside is probably not known of from the inside.

foxriver76 avatar Nov 14 '23 21:11 foxriver76

I am not an expert regarding Docker but Which IP do you expect? The one where your container is mounted to the outside is probably not known of from the inside.

I expect to chose 192.168.1.X, my iobroker IP.

umurcos avatar Nov 14 '23 22:11 umurcos

I don’t think an anpllication inside a container can listen to this ip. Maybe you just want to enter your “iobroker” ip in the callback address or do you have a specific problem?

foxriver76 avatar Nov 14 '23 22:11 foxriver76

Can you provide your docker iobroker config (docker command or compose file)?

SMHRambo avatar Nov 22 '23 15:11 SMHRambo