When I use the nodejs_get_content_channel_users function of the nodejs.module, the function returns FALSE and writes a message on the drupal reports with the following text:
Error calling getContentTokenChannelUsers() for channel "", error: TypeError: Cannot read property 'sockets' of undefined

I checked the getContentTokenChannelUsers function and I saw the tokenChannels array does not have the any channels.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

altfuns’s picture

The file fixing-getContentTokenChannelUsers-2147801.patch solve the issue using another approch for getting the users uids and the authtokens of the channel. The new approch use the authenticatedClients array to get the auth tokens and the user identifiers.

altfuns’s picture

Assigned: Unassigned » altfuns
Status: Active » Needs review