Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tailscale Error #102111

Closed
bmf7777 opened this issue Oct 16, 2023 · 5 comments
Closed

Tailscale Error #102111

bmf7777 opened this issue Oct 16, 2023 · 5 comments

Comments

@bmf7777
Copy link

bmf7777 commented Oct 16, 2023

The problem

i've had tailscale intergration enabled and working for quite some time ... i noticed today it wasn't working (see log below)

What version of Home Assistant Core has the issue?

core-2023.10.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Core

Integration causing the issue

tailscale

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2023-10-15 04:22:06.366 ERROR (MainThread) [homeassistant.components.tailscale] Unexpected error fetching tailscale data: 9 validation errors for Devices
devices -> 71417513969683327 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 21523738725778614 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 55279391352972098 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 16900503552408555 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 59066393440997649 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 68783320127128845 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 26981454037094469 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 56861624520880422 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 52478110342656705 -> clientConnectivity -> derp
  field required (type=value_error.missing)
Traceback (most recent call last):
  File "/srv/homeassistant_3.11/lib/python3.11/site-packages/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/homeassistant_3.11/lib/python3.11/site-packages/homeassistant/components/tailscale/coordinator.py", line 37, in _async_update_data
    return await self.tailscale.devices()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/homeassistant_3.11/lib/python3.11/site-packages/tailscale/tailscale.py", line 116, in devices
    return Devices.parse_obj(data).devices
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "pydantic/main.py", line 526, in pydantic.main.BaseModel.parse_obj
  File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 9 validation errors for Devices
devices -> 71417513969683327 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 21523738725778614 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 55279391352972098 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 16900503552408555 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 59066393440997649 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 68783320127128845 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 26981454037094469 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 56861624520880422 -> clientConnectivity -> derp
  field required (type=value_error.missing)
devices -> 52478110342656705 -> clientConnectivity -> derp
  field required (type=value_error.missing)

Additional information

No response

@home-assistant
Copy link

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

Code owner commands

Code owners of tailscale 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 tailscale Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


tailscale documentation
tailscale source
(message by IssueLinks)

@allenporter
Copy link
Contributor

It looks like they removed this derp field. I noticed this commit:
tailscale/tailscale@b7988b3

@allenporter
Copy link
Contributor

Looks like there is an attempt to mitigate here: frenck/python-tailscale#428

@offbyone
Copy link

offbyone commented Nov 4, 2023

That isn't encouraging; I've had PRs open against Frenck's repos in some cases for over a year.

@frenck
Copy link
Member

frenck commented Nov 4, 2023

Closing as a duplicate of #101573

@frenck frenck closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants