Crash with ContactsService since upgrade

Hi,
Yesterday I upgraded to 1.3.3 on my W10:

29 Apr 15:40:43 - [info] Node-RED version: v1.3.3
29 Apr 15:40:43 - [info] Node.js  version: v15.12.0
29 Apr 15:40:43 - [info] Windows_NT 10.0.19042 x64 LE

I also upgraded all Palettes.

And since, I faced 2 times the same crash:

29 Apr 15:29:09 - [red] Uncaught Exception:
29 Apr 15:29:09 - {
  msg: 'The service of the Object ContactsService is not started!!! Can not call method : cleanMemoryCache'
}

Someone has an idea where I could have a look ?

Did you upgrade Node.js? v15 is not a supported version, but if you did not upgrade it then it is probably not that.

Are you using a Google API in your flows? If yes then probably the issue is to do with that.

Can you post the full log output please? I assume there was more that just that message in the log.

Hi,

No, I didn't upgade Node since mid march (17/03/2021 19:58 58 299 016 node.exe).

I don't use Google API in my flows.
My receipe is more or less
My blog's RSS => publish to Mastodon and to ALE Rainbow channel

It just crashed 45 minutes ago, node red is launched with -v.
As you can see, there is a delay of more than 2 hours between the last RSS and the crash

30 Apr 11:46:31 - [info] [debug:Channel notif]
{
  payload: {
    messageId: '653BD73415960',
    fromJid: 'a8a49d84ee8b46979068072606312070@openrainbow.com',
    message: '<div>Post link: <a href="https://www.arfy.fr/dotclear/index.php?post/2021/04/30/passwords-google-com-outil-de-Checkup-des-mots-de-passe-stockes-dans-votre-browser-Chrome/Android" target="_blank">passwords.google.com - outil de Checkup des mots de passe stockés dans votre browser Chrome/et dans Android</a></div><p> </p><p>Ce lien ci est évidemment à ouvrir de préférence dans un Chrome où vous êtes connecté avec votre login Chrome/Gmail.</p>\n' +
      '\n' +
      '<div style="margin: 1em auto; text-align: center;"><strong>Check-up Mots de passe </strong><br />\n' +
      '<br />\n' +
      '<a href="https://passwords.google.com/checkup/start" rel="noopener" target="_blank"><img alt="passwords.google.com checkup start.jpg" class="media" src="https://www.arfy.fr/public/passwords.google.com_checkup_start.jpg" /><br />\n' +
      'passwords.google.com</a></div>\n' +
      '\n' +
      "<p>Perso j'avais des mots de passe compromis sur de vieux sites (<em>oubliés</em>) surtout.<br />\n" +
      "Comptes que j'ai supprimé / ou mdp modifié.</p>\n" +
      '\n' +
      `<p>L'outil équivalent via Firefox j'en parlais là <a class="ref-post" href="https://www.arfy.fr/dotclear/index.php?post/2020/03/13/Firefox--let-s-the-Battle-continue-restrict-FB">Firefox, let's the Battle continue - restrict FB, Insta</a> (<em>monitor.firefox.com, à ouvrir de préférence depuis Firefox et utiliser votre compte Firefox/Mozilla</em>)</p>`,
    title: 'passwords.google.com - outil de Checkup des mots de passe stockés dans votre browser Chrome/et dans Android',
    url: 'https://www.arfy.fr/dotclear/index.php?post/2021/04/30/passwords-google-com-outil-de-Checkup-des-mots-de-passe-stockes-dans-votre-browser-Chrome/Android',
    date: 2021-04-30T09:46:28.147Z,
    images: [],
    channel: Channel {
      subscribed: true,
      type: 'owner',
      invited: false,
      serverURL: 'https://openrainbow.com:443',
      pageIndex: 0,
      isLoading: false,
      complete: false,
      users: [],
      publishersRetreived: false,
      loaded: false,
      userRole: 'owner',
      messageRetrieved: false,
      messages: [],
      deleted: false,
      mute: false,
      name: 'Arfy.fr',
      id: '5b1541d01578105ad113f9d1',
      visibility: 'private',
      topic: '"User de tout mais sans en abuser"',
      creatorId: '5a64b7a55df88513c0164f14',
      companyId: '5bb4c14fb8b6c0257df68c97',
      creationDate: '2018-06-04T13:42:40.516Z',
      users_count: 8,
      subscribers_count: 6,
      category: 'globalnews',
      mode: 'company_private',
      max_items: 100,
      max_payload_size: 60000,
      lastAvatarUpdateDate: '2020-03-25T07:53:27.947Z',
      avatar: 'https://openrainbow.com:443/api/channel-avatar/5b1541d01578105ad113f9d1?size=256&ts=1585122807947'
    }
  },
  _msgid: 'dd42a160.545cb'
}
30 Apr 14:15:27 - [red] Uncaught Exception:
30 Apr 14:15:27 - {
  msg: 'The service of the Object ContactsService is not started!!! Can not call method : cleanMemoryCache'
}

Do you want me to activate more logs ? In Settings file ?
I just set it to
level: "trace",
for next crash =)

I am surprised there is not more information in the log, usually there would be a stack trace when node-red crashes. I presume it has crashed?

I presume you have installed some contrib nodes, what are they? Have you checked their github pages for any issues?

Yes it crashed, and no more logs.
Perhaps with logs at "trace" level next time.

I'll try to check for other nodes contribs this weekend.

You can look in Manage Palette to see what nodes you have installed.

Found, I'll contact ALE Rainbow team, the ContactsService and cleanMemoryCache are in their code.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.