Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95919

Running a second home-assistant instance

$
0
0

@Cludch wrote:

Hey,

I was trying to set up a second home-assistant instance along my production one.
What I did, was to change the http.server_port to an unused port.
However, I cannot start the second instance due to a port already being used.

2020-02-20 19:22:44 INFO (MainThread) [homeassistant.setup] Setting up logger
hadev                 | Exception in thread Thread-3:
hadev                 | Traceback (most recent call last):
hadev                 |   File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
hadev                 |     self.run()
hadev                 |   File "/usr/local/lib/python3.7/site-packages/pysonos/events.py", line 307, in run
hadev                 |     listener = EventServer(self.address, EventNotifyHandler)
hadev                 |   File "/usr/local/lib/python3.7/socketserver.py", line 452, in __init__
hadev                 |     self.server_bind()
hadev                 |   File "/usr/local/lib/python3.7/socketserver.py", line 466, in server_bind
hadev                 |     self.socket.bind(self.server_address)
hadev                 | OSError: [Errno 98] Address in use

To me, it seems that the sonos integration tries to create a port bind itself, which might already be used by the main instance?

Or am I missing something else? Is this a bad idea at all?
I am just trying to create an instance to experiment with my new lovelace configuration.

Thanks in advance,
Cludch

Posts: 6

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 95919

Trending Articles