Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VUE NS: Server issue and possible hang

Featured Replies

Posted

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

 

Yesterday their app said they were down for service/improvements.

@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.

  • Author

Thank you!

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.