eelcohn / home-assistant-ddwrt

DDWRT component/entity for Home Assistant
18 stars 7 forks source link

Error: Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble #23

Open schumi2004 opened 1 year ago

schumi2004 commented 1 year ago

Hi eelcohn,

Today I wanted to play with your DD-WRT integration but it's not working as expected and is giving me the following error: Error: Config flow could not be loaded: 500 Internal Server Error Server got itself in trouble

My router is running firmware: Firmware: DD-WRT v3.0-r53339 std (08/01/23)

And this is what i see in logs: Error setting up entry 10.0.0.1 for ddwrt 11:42:39 – (ERROR) DD-WRT (custom integration) update_upnp_data(): invalid number of elements in pptp_leases (expected 4, found 107) 11:42:39 – (WARNING) DD-WRT (custom integration) Unknown wireless radio status, please report this to the author: ['Inactive'] 11:42:39 – (ERROR) DD-WRT (custom integration) Extra fields in WAN data found. Please contact developer to report this warning. ({'speed_up': '0', 'speed_down': '0', 'speed_town': ' ', 'speed_sponsor': ' ', 'speed_country': ' '}) 11:42:38 – (WARNING) DD-WRT (custom integration) Unable to update router data: could not convert string to float: 'Available' 11:42:38 – (WARNING) DD-WRT (custom integration) update_lan_data(): invalid number of elements in dhcp_leases (expected 5, found 231) 11:42:37 – (WARNING) DD-WRT (custom integration)

I guess the DD-WRT dev (BrainSlayer) included something your intergation can't handle?

Do you think you can fix this?

Andrewdlec commented 10 months ago

I am getting a 500 error too. DD-WRT version: DD-WRT v3.0-r54682 std

Logger: custom_components.ddwrt.pyddwrt Source: custom_components/ddwrt/pyddwrt.py:228 Integration: DD-WRT First occurred: 11:30:49 AM (2 occurrences) Last logged: 11:31:14 AM

Extra fields in WAN data found. Please contact developer to report this warning. ({'speed_up': '0', 'speed_down': '0', 'speed_town': ' ', 'speed_sponsor': ' ', 'speed_country': ' '})

dkwolf1 commented 9 months ago

Same error. Integration doesn't work

TCB13 commented 9 months ago

Also not working for me with multiple errors:

Logger: custom_components.ddwrt.pyddwrt
Source: custom_components/ddwrt/pyddwrt.py:415
Integration: DD-WRT
First occurred: 23:36:05 (7 occurrences)
Last logged: 23:40:51

update_wireless_data(): invalid number of elements in active_wireless (expected 11, found 17)

Logger: custom_components.ddwrt.pyddwrt
Source: custom_components/ddwrt/pyddwrt.py:357
Integration: DD-WRT
First occurred: 23:36:05 (7 occurrences)
Last logged: 23:40:51

Unknown wireless radio status, please report this to the author: ['Active']

Logger: custom_components.ddwrt.pyddwrt
Source: custom_components/ddwrt/pyddwrt.py:228
Integration: DD-WRT
First occurred: 23:36:05 (7 occurrences)
Last logged: 23:40:51

Extra fields in WAN data found. Please contact developer to report this warning. ({'speed_up': '0', 'speed_down': '0', 'speed_town': ' ', 'speed_sponsor': ' ', 'speed_country': ' '})

Logger: custom_components.ddwrt.config_flow
Source: custom_components/ddwrt/config_flow.py:173
Integration: DD-WRT
First occurred: 23:37:42 (1 occurrences)
Last logged: 23:37:42

DDWRTFlowHandler::async_step_user update_about_data exception unknown_error: ('Unable to update router model data: %s', ExceptionAuthenticationError())

Router Model: Netgear R7000 Firmware Version: DD-WRT v3.0-r53763 std (10/24/23)

Wolfensteinor commented 1 month ago

Same error on version DD-WRT v3.0-r54682 std (01/02/24)