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

500 Internal Server Error attempting to add Netro Integration #12

Closed
kenwiens opened this issue Jun 19, 2023 · 2 comments
Closed

500 Internal Server Error attempting to add Netro Integration #12

kenwiens opened this issue Jun 19, 2023 · 2 comments

Comments

@kenwiens
Copy link

After adding netro custom component via HACS and rebooting HA, I attempt to add the integration. I get an error "Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble."

Running HA 2023.5.4 on RPi

I see nothing in the log files related to this.

image

@kcofoni
Copy link
Owner

kcofoni commented Jun 19, 2023

Hi there !

Sorry for the inconvenience but no worries, I see exactly what it is. I had to change the versions of requirements since HA version 2023.6 due to upgrading to Python 3.11.

You have three options to fix this issue :

  1. Upgrading your home assistant version to 2023.6 or higher. This is probably the best solution if you can do it.
  2. As long as you stay in a version 2023.5 or lower, making the following change in the manifest.json file located in the integration directory (config/custom_components/netro_watering/manifest.json).
    Change requests==2.31.0 to requests==2.28.2
  3. Installing version 1.1.0 or lower of this integration but frankly it would be a pity !

Keep me posted please.

@kenwiens
Copy link
Author

I upgrade to 2023.6.2 and all is good. Great work here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants