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

Unable to install package teslajsonpy==3.12.3 // Home Assistant Core Update 2025.1.2 #1084

Open
2 tasks done
sq9fk opened this issue Jan 12, 2025 · 8 comments
Open
2 tasks done
Labels
car For items that relate to Tesla vehicles triage New issues raised that need initial attention

Comments

@sq9fk
Copy link

sq9fk commented Jan 12, 2025

Is there an existing issue for this?

  • I have searched both the existing open issues & recently closed issues and did not find a duplicate of this issue.

I have read about the Fleet API and understand I may need to use it

  • I understand issues relating to read only commands will be auto closed if not using the Fleet API.

Version of the Tesla component

v3.24.3

Version of the Tesla car software

2024.45.32.1

Model

Model 3 Highland

Current Behavior

After update of Home Assistant, integration was broken. Trying to reinstall but same error occured: 500 Internal Error. When looked at logs:

Registrator: homeassistant.util.package
Source: util/package.py:159

Unable to install package teslajsonpy==3.12.3: error: Failed to fetch: https://files.pythonhosted.org/packages/3f/8b/dc5fdc3722c5eea0446479bd568d69ec1c91e6bd0bbcd38bf3b21c5e4172/teslajsonpy-3.12.3-py3-none-any.whl.metadata Caused by: Could not connect, are you offline? Caused by: Request failed after 3 retries Caused by: error sending request for url (https://files.pythonhosted.org/packages/3f/8b/dc5fdc3722c5eea0446479bd568d69ec1c91e6bd0bbcd38bf3b21c5e4172/teslajsonpy-3.12.3-py3-none-any.whl.metadata) Caused by: client error (Connect) Caused by: dns error: failed to lookup address information: Name does not resolve Caused by: failed to lookup address information: Name does not resolve

Expected Behavior

Update should work.

Debug logs

Setup failed for custom integration 'tesla_custom': Requirements for tesla_custom not found: ['teslajsonpy==3.12.3'].

Anything else?

No response

@sq9fk sq9fk added car For items that relate to Tesla vehicles triage New issues raised that need initial attention labels Jan 12, 2025
@skipishere
Copy link
Collaborator

Can you access that URL from another device on your network? This sounds like an environmental/connection issue rather than an issue with the integration

@sq9fk
Copy link
Author

sq9fk commented Jan 12, 2025

hmm DNS working properly on HA and I can access it by copy paste url.

@sq9fk
Copy link
Author

sq9fk commented Jan 12, 2025

I see that second guy place post on reddit:
Same story, after upgrade to 2025.1.1 or 1.2 -> broken dependency
https://www.reddit.com/r/homeassistant/comments/1hwew0l/202111_breaks_2_custom_integrations/

But behaviour is strange. HA works, dns works in HA and outside, URL works. but for some reason it cannot solve the name or download the dependency.

@skipishere
Copy link
Collaborator

Not sure what else to suggest, I'm on latest HA, HACS and integration and it all works fine

@sq9fk
Copy link
Author

sq9fk commented Jan 12, 2025

Could You do some kind of test: Remove tesla custom integration and try to reinstall it ? Probably there is something with dependencies ?

@sq9fk
Copy link
Author

sq9fk commented Jan 12, 2025

It's related to HA (HAOS).

Changed the DNS manualy in HA, restarted and then the integration setup process start.

For others, I've read this thread to find solution:
https://community.home-assistant.io/t/issues-custom-components-and-2024-12-5/814048/10

@puja108
Copy link

puja108 commented Jan 13, 2025

Upstream issue got resolved. With 2025.1 and running the container as root this got fixed, just tested with 2025.1.2.

@skipishere
Copy link
Collaborator

Sorry just seen your two comments @sq9fk glad you've got a solution. As this was caused by Home Assistant and they have a fix, are you happy if I close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
car For items that relate to Tesla vehicles triage New issues raised that need initial attention
Projects
None yet
Development

No branches or pull requests

3 participants