home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.79k stars 30.89k forks source link

Whois integration error: "This tld has either no whois server or responds only with minimal information" #108193

Closed LazyTarget closed 7 months ago

LazyTarget commented 10 months ago

The problem

Hi, I am trying to configure a Whois integration for my personal duckdns.org subdomain (if needed, ask for the name in DM) However I get the error "This tld has either no whois server or responds only with minimal information"

Is this error as expected? Should you not be able to add a duckdns subdomain?

What version of Home Assistant Core has the issue?

2024.1.2

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

Whois

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-01-16 23:35:50.776 ERROR (MainThread) [homeassistant.components.whois] Unexpected error fetching whois_APK data: This tld has either no whois server or responds only with minimal information
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 300, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 256, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/whois/__init__.py", line 26, in _async_query_domain
return await hass.async_add_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/whois/__init__.py", line 248, in query
verifyPrivateREgistry(thisTld) # may raise WhoisPrivateRegistry
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/whois/__init__.py", line 124, in verifyPrivateREgistry
raise WhoisPrivateRegistry(msg)
whois.exceptions.WhoisPrivateRegistry: This tld has either no whois server or responds only with minimal information

Additional information

No response

home-assistant[bot] commented 10 months ago

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

Code owner commands Code owners of `whois` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign whois` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


whois documentation whois source (message by IssueLinks)

issue-triage-workflows[bot] commented 7 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.