Jump to content

Error Adding Skins

Not a Bug 1.0.5

dustyhansen
dustyhansen

Posted

I got the attached error messages when we tried adding 6 skins to the skinbox this morning. There was nothing in the Rust console. 

Screenshot 2023-09-27 093141.png

Screenshot 2023-09-27 092434.png

SrMiller

Posted (edited)

Hello, I'm sorry for the delay, I've been traveling since Tuesday, I arrive on Tuesday and we solved it!

Edited by SrMiller
SrMiller

Posted

Hey @newp, on what version of NodeJS are you running Discord2Skinbox? 

SrMiller

Posted

@newpTry using any of the 18 nodejs versions. Other question: Did you change anything on the code?

dustyhansen

Posted

I will give that a try. No, I didn't change anything in the code.

dustyhansen

Posted

Downgrading Node,js seems to have fixed the issue!

SrMiller

Posted

Nice! Will try to update the node on new bot versions or just tell it on some site! 

If you are interested on making the bot compatible with your plugin, please do it and try if it works, if it is, tell me to make it by myself and publish it here.

And remember that you can leave a review here to help me 😄

SrMiller

Posted

Changed Status from Pending to Closed

SrMiller

Posted

Changed Status from Closed to Not a Bug

dustyhansen

Posted

I am still having issues getting this to work. I am running node JS 18.16.0 and am getting the following in the console when I try to add a skin:
 

29.12 22:47:42 [Bot] Error: WebSocket is not open: readyState 3 (CLOSED)
29.12 22:47:42 [Bot] at WebSocket.send (/node_modules/rustrcon/node_modules/ws/lib/websocket.js:329:19)
29.12 22:47:42 [Bot] at WebSocket.sendMessage (/node_modules/rustrcon/src/client/websocket/ws.js:59:11)
29.12 22:47:42 [Bot] at Client.send (/node_modules/rustrcon/src/client/client.js:19:11)
29.12 22:47:42 [Bot] at Client.<anonymous> (/app.js:204:36)
29.12 22:47:42 [Bot] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

 

SrMiller

Posted

Hey @newp

Did you restart your server Daily? Another user report this issue to me and I see that is because that. You can SImply fix it at making a schedule with a restart like 10m after the server restart.

dustyhansen

Posted

No, I don't like to restart it because it loses connection with existing pending skin requests then. It seems when I restart the bot, clicking the reactions on skin requests no longer triggers the bot, even though they are in the pending file. Then I have to manually clear the pending file to remove them.

SrMiller

Posted

I understand, i'll try to make changes to fix all of this things. Thanks for reporting.

Rise

Posted

Just thought i'd mention i've been receiving the same issue. My conclusion was the same as your suggestion with daily restarts. Though it would be great if it could be solved within the plugin, if possible.

Many Thanks 🙂

 

Error: WebSocket is not open: readyState 3 (CLOSED)
    at WebSocket.send (/home/container/node_modules/rustrcon/node_modules/ws/lib/websocket.js:329:19)
    at WebSocket.sendMessage (/home/container/node_modules/rustrcon/src/client/websocket/ws.js:59:11)
    at Client.send (/home/container/node_modules/rustrcon/src/client/client.js:19:11)
    at Client.<anonymous> (/home/container/app.js:204:36)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

 

Kimbo

Posted

I have a similar problem... after restarting the server the bot loses the connection and I have to restart the bot manually... I have currently deactivated the bot...

dustyhansen

Posted

I just installed the new version and still cannot get this thing to work. Still getting the same error about websocket not open.

image_2024-02-15_200158839.png

SrMiller

Posted

Hey newp can you add me on discord? "srmiller"

dustyhansen

Posted

I sent a friend request, my name on there is dustyhansen

  • Like 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.