tmorse305 Posted 13 hours ago Posted 13 hours ago The Emporia server has been on and offline a lot over the past few days, based on the log file. Is anyone else experiencing this issue? This morning I restarted the NS because it had been down all night. It came up with the server responding. When I looked in the log it seemed like the NS might have hung after an error yesterday. The log file stopped entries yesterday afternoon. Here is a piece of the log I'm referring to: 2025-01-22 16:57:30.812 Thread-2 (parameterHandler) udi_interface ERROR vue:parameterHandler: Emporia Cloud connection failed: 500 Server Error: Internal Server Error for url: https://api.emporiaenergy.com/customers?email=********%40comcast.net 2025-01-22 16:57:30.813 Thread-2 (parameterHandler) udi_interface ERROR vue:parameterHandler: Discovery failed: 'NoneType' object has no attribute 'customer_gid' <restarted the NS here> 2025-01-23 09:13:58.602 MainThread udi_interface INFO polylogger:set_basic_config: set_basic_config: enable=True level=30 2025-01-23 09:13:58.603 MainThread udi_interface INFO __init__:<module>: UDI interface initializing 2025-01-23 09:13:58.603 MainThread udi_interface INFO __init__:<module>: User=0021b902658a_5 I can send the whole log file if that will help, I'd appreciate your thoughts on this Bob. @bpwwer Thank you Quote
tazman Posted 7 hours ago Posted 7 hours ago Yesterday their app said they were down for service/improvements. 1 Quote
bpwwer Posted 2 hours ago Posted 2 hours ago @tmorse305 I looked over the code and it looks like that happens when the plug-in starts? When the login to the Emporia servers fails, it throws the error but then continues to try and discover devices, which also fails, throwing the second error. At that point the plug-in basically stops. I can make some changes to have the login attempt loop until it succeeds, that might help some. But I also don't see anything in the library code to re-login if queries fail so I think that's going to cause similar problems where the plug-in may just fail to query until it's restarted. I can add some checks to try and detect query failures, but that's one of those things that hard to test without there being actual failures. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.