Jump to content

Console Error

Work in Progress 1.1.0 Next Version

dustyhansen
dustyhansen

Posted

I got the following errors in console of the bot during the check process. Not sure what they mean:

 

ℹ️ Checking for updates globally
53 |         this.updaterInstalled = false;
54 |     }
55 | 
56 |     async fetchPlugins() {
57 |         this.rcon.login();
58 |         this.rcon.on('error', (err: any) => {
                       ^
warn: Possible EventEmitter memory leak detected. 11 error listeners added to [Client]. Use emitter.setMaxListeners() to increase limit
      at overflowWarning (node:events:163:14)
      at addListener (node:events:138:22)
      at /home/container/utils/servers.ts:58:19
      at fetchPlugins (/home/container/utils/servers.ts:56:26)
      at /home/container/utils/servers.ts:226:26
      at fetchAllPlugins (/home/container/utils/servers.ts:224:36)
      at /home/container/utils/versionCheck.ts:11:23
      at init (/home/container/utils/versionCheck.ts:8:18)
      at /home/container/utils/updateCheckChannel.ts:67:28
      at updateCheck (/home/container/utils/updateCheckChannel.ts:66:116)

56 |     async fetchPlugins() {
57 |         this.rcon.login();
58 |         this.rcon.on('error', (err: any) => {
59 |             console.log(`❌ Encountered an error while trying to connect to ${this.name} / ${(`${this.rcon.ws.ip}:${this.rcon.ws.port}`)} :\n ${err.message}`);
60 |         });
61 |         this.rcon.on('connected', () => {
                       ^
warn: Possible EventEmitter memory leak detected. 11 connected listeners added to [Client]. Use emitter.setMaxListeners() to increase limit
      at overflowWarning (node:events:163:14)
      at addListener (node:events:138:22)
      at /home/container/utils/servers.ts:61:19
      at fetchPlugins (/home/container/utils/servers.ts:56:26)
      at /home/container/utils/servers.ts:226:26
      at fetchAllPlugins (/home/container/utils/servers.ts:224:36)
      at /home/container/utils/versionCheck.ts:11:23
      at init (/home/container/utils/versionCheck.ts:8:18)
      at /home/container/utils/updateCheckChannel.ts:67:28
      at updateCheck (/home/container/utils/updateCheckChannel.ts:66:116)

66 | 
67 |             setTimeout(() => {
68 |                 this.rcon.destroy();
69 |             }, 5000);
70 |         });
71 |         this.rcon.on('message', (message: any) => {
                       ^
warn: Possible EventEmitter memory leak detected. 11 message listeners added to [Client]. Use emitter.setMaxListeners() to increase limit
      at overflowWarning (node:events:163:14)
      at addListener (node:events:138:22)
      at /home/container/utils/servers.ts:71:19
      at fetchPlugins (/home/container/utils/servers.ts:56:26)
      at /home/container/utils/servers.ts:226:26
      at fetchAllPlugins (/home/container/utils/servers.ts:224:36)
      at /home/container/utils/versionCheck.ts:11:23
      at init (/home/container/utils/versionCheck.ts:8:18)
      at /home/container/utils/updateCheckChannel.ts:67:28
      at updateCheck (/home/container/utils/updateCheckChannel.ts:66:116)

 

dustyhansen

Posted

13 minutes ago, Magic Services said:

Is this still happening?

yea, i have seen it twice now

Magic Services

Posted

Does it crash the bot?

Is it a once off error?

Does it happen after the update check, or during it? 

If its during the update check, do you still get the embed?

dustyhansen

Posted

It does not crash the bot.

It is a once off error that has appeared twice for me.

I can't tell on the timing of the error, will have to wait for the next one.

I wouldn't know because I don't have any updates showing because it isn't finding them at the moment.

Magic Services

Posted

It's an error, not a crash report

With this being said, it's only a warning, we'll add something for this

Magic Services

Posted

Changed Status from Pending to Work in Progress

Changed Fixed In to Next Version

dustyhansen

Posted

41 minutes ago, Magic Services said:

It's an error, not a crash report

With this being said, it's only a warning, we'll add something for this

Who said it was a crash report? I was just reporting an error in the console and asking what it means...

Magic Services

Posted

You asked what it meant, I was clarifying that it's a warning error, not a crash report

  • Like 1
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.6k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.