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.

Node server if failed state

Featured Replies

Posted

I found the Node server in a failed state this morning.  Here's the error:

2022-05-18 02:06:53 error: NS: uncaughtException REPORT THIS!: TypeError: Cannot read properties of undefined (reading 'baseUrl')
    at NotificationListener.topologyChange (/var/polyglot/pg3/ns/00:0d:b9:53:3f:34_9/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
    at NotificationListener.emit (node:events:390:28)
    at /var/polyglot/pg3/ns/00:0d:b9:53:3f:34_9/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-05-18 02:06:53 error: POLY: uncaughtException: Cannot read properties of undefined (reading 'baseUrl')
TypeError: Cannot read properties of undefined (reading 'baseUrl')
    at NotificationListener.topologyChange (/var/polyglot/pg3/ns/00:0d:b9:53:3f:34_9/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
    at NotificationListener.emit (node:events:390:28)
    at /var/polyglot/pg3/ns/00:0d:b9:53:3f:34_9/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-05-18 02:06:53 error: NS: uncaughtException: Cannot read properties of undefined (reading 'baseUrl')
TypeError: Cannot read properties of undefined (reading 'baseUrl')
    at NotificationListener.topologyChange (/var/polyglot/pg3/ns/00:0d:b9:53:3f:34_9/node_modules/sonos-discovery/lib/SonosSystem.js:109:30)
    at NotificationListener.emit (node:events:390:28)
    at /var/polyglot/pg3/ns/00:0d:b9:53:3f:34_9/node_modules/sonos-discovery/lib/NotificationListener.js:117:17
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
2022-05-18 02:06:53 error: NS: undefined

 

  • 4 months later...

I have run into this issue 4-5 times since node server installed not long ago. Any updates or fixes?  Thank you.
 

Here is my log:

 

2022-10-03 08:16:08 error: NS: uncaughtException REPORT THIS!: TypeError: Cannot read properties of undefined (reading 'members') at Player.recalculateGroupVolume (/var/polyglot/pg3/ns/000db9593a98_5/node_modules/sonos-discovery/lib/prototypes/Player/recalculateGroupVolume.js:4:32) at NotificationListener.notificationHandler (/var/polyglot/pg3/ns/000db9593a98_5/node_modules/sonos-discovery/lib/models/Player.js:370:25) at NotificationListener.emit (node:events:525:35) at /var/polyglot/pg3/ns/000db9593a98_5/node_modules/sonos-discovery/lib/NotificationListener.js:125:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2022-10-03 08:16:08 error: POLY: uncaughtException: Cannot read properties of undefined (reading 'members') TypeError: Cannot read properties of undefined (reading 'members') at Player.recalculateGroupVolume (/var/polyglot/pg3/ns/000db9593a98_5/node_modules/sonos-discovery/lib/prototypes/Player/recalculateGroupVolume.js:4:32) at NotificationListener.notificationHandler (/var/polyglot/pg3/ns/000db9593a98_5/node_modules/sonos-discovery/lib/models/Player.js:370:25) at NotificationListener.emit (node:events:525:35) at /var/polyglot/pg3/ns/000db9593a98_5/node_modules/sonos-discovery/lib/NotificationListener.js:125:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) 2022-10-03 08:16:08 error: NS: uncaughtException: Cannot read properties of undefined (reading 'members') TypeError: Cannot read properties of undefined (reading 'members') at Player.recalculateGroupVolume (/var/polyglot/pg3/ns/000db9593a98_5/node_modules/sonos-discovery/lib/prototypes/Player/recalculateGroupVolume.js:4:32) at NotificationListener.notificationHandler (/var/polyglot/pg3/ns/000db9593a98_5/node_modules/sonos-discovery/lib/models/Player.js:370:25) at NotificationListener.emit (node:events:525:35) at /var/polyglot/pg3/ns/000db9593a98_5/node_modules/sonos-discovery/lib/NotificationListener.js:125:17 at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

 

Thank you for the suggestion @Michel Kohanim.  I have submitted it.  It has continued to happen every day.  Let's see if they have any ideas.  I am re-starting Polisy as suggested in different and unrelated node server thread.

Hey all.  This NS has become totally non functional for me.  As with some others, I was finding it in a failed state several times a week and having to manually restart.  However, now it's just not working at all.  It says 'connected' after restart but it is clear not connected in the admin console.

On 10/13/2022 at 5:54 PM, bcdavis75 said:

Hey all.  This NS has become totally non functional for me.  As with some others, I was finding it in a failed state several times a week and having to manually restart.  However, now it's just not working at all.  It says 'connected' after restart but it is clear not connected in the admin console.

Bumping this.  There was already an "Issue" listed on github.  But as far as I can tell, this isn't being addressed.  What's the the proper channell to get support for a Node server that's broken?  It would be nice to get up and running again.

  • Author
9 minutes ago, bcdavis75 said:

Bumping this.  There was already an "Issue" listed on github.  But as far as I can tell, this isn't being addressed.  What's the the proper channell to get support for a Node server that's broken?  It would be nice to get up and running again.

It's running okay for me, but it's possible that the developer isn't getting notified when there's activity in this forum.  The developer is @simplextech, and you might consider sending him a DM.

I have connected with Simplex Tech through direct message. I also created an issue in GitHub. They are asking for PG3 version which I’ll get when I get home. But overall they have not found anything specific leading to this failed state. In a sense I wish could send a restart message everyday to the node server. Thank you. 

On 10/15/2022 at 11:34 AM, TJMax2 said:

I have connected with Simplex Tech through direct message. I also created an issue in GitHub. They are asking for PG3 version which I’ll get when I get home. But overall they have not found anything specific leading to this failed state. In a sense I wish could send a restart message everyday to the node server. Thank you. 

Sorry but life and work has been very busy.  I only get notified via e-mail from direct messages so I do not see everything in the forum all of the time.

Guest
This topic is now closed to further replies.

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.