home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.

Home Page:https://www.home-assistant.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unifi Network - UI setup does not respect custom port?

ikrEErki opened this issue · comments

The problem

Could not get Unifi to track new devices on the network. So installed the addon and tried to install it again. However, I am unable to connect to my host this time.

Steps to reproduce:

  1. Uninstall Unifi Network addon
  2. Install Unifi Network addon - configure with a custom port (not 433)

What version of Home Assistant Core has the issue?

Home Assistant Core 2022.5.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Unifi Network

Link to integration documentation on our website

https://www.home-assistant.io/integrations/unifi

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.unifi
Source: components/unifi/controller.py:513
Integration: UniFi Network (documentation, issues)
First occurred: 6:53:38 PM (7 occurrences)
Last logged: 6:58:34 PM

Error connecting to the UniFi Network at 192.168.1.11:8443: Error requesting data from 192.168.1.11:8443: https://192.168.1.11:8443:8443
Error connecting to the UniFi Network at https://192.168.1.11:8443: Error requesting data from https://192.168.1.11:8443: Cannot connect to host https:443 ssl:default [Name does not resolve]
Error connecting to the UniFi Network at https://192.168.1.11: Error requesting data from https://192.168.1.11: Cannot connect to host https:443 ssl:default [Name does not resolve]

Additional information

No response

Hey there @Kane610, mind taking a look at this issue as it has been labeled with an integration (unifi) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

Can you share a diagnostics file or your config entry?

Screenshot_2022-05-24-21-03-49-79_c3a231c25ed346e59462e84656a70e50
Is this OK? Tried both with and without port specified in hostadress

try removing https:// from the host

Screenshot_2022-05-24-21-09-29-97_c3a231c25ed346e59462e84656a70e50
Haha, it worked. Was sure I tested all variants of the hosradress. Oh well. Thanks for the quick replies!

Cheers!