Jump to content

Error Adding Skins

Not a Bug 1.0.5

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

Share this comment


Link to comment

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

Edited by SrMiller

Share this comment


Link to comment

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 😄

Share this comment


Link to comment

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)

 

Share this comment


Link to comment

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.

Share this comment


Link to comment

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.

Share this comment


Link to comment

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)

 

Share this comment


Link to comment

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...

Share this comment


Link to comment

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

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.3k

Files Sold

Total number of files sold.

1.6m

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.