alexemanuelol / rustplusplus

A NodeJS Discord Bot that uses the rustplus.js library to utilize the power of the Rust+ Companion App with additional Quality-of-Life features.
GNU General Public License v3.0
218 stars 104 forks source link

Server Not Pairing with bot #365

Closed thrustm4 closed 2 months ago

thrustm4 commented 2 months ago

Backround. Bot was working for over a month. Stopped working recently. I have tried a fresh install twice and nothing is work. Both fresh installs I did everything correct (Listed below). I also looked over this issue; https://github.com/alexemanuelol/rustplusplus/issues/348 and have tried everything listed and nothing is working.

The installation was correct with no errors. The problem is that when I click pair, the server does not populate in discord for me to connect the bot to. My FCM credentials are valid and up to not. (They are not expired.) I do not use the rust plus app or any other app so there should be no issue there as pointed out in the FAQ. I am able to change settings and the changes stick, it just refuses to pair. I have also tried on 10 diffrent servers and it does not work. (Yes the servers have rust+ enabled). I have also spent an hour sitting in the server hitting the "Resend Pair" button, and nothing is popping up in the server channel for discord.

C74K commented 2 months ago

Rust+ app on your phone working ?

fuzzylogic7236 commented 2 months ago

Can confirm as well. Registration/credential gathering seems to work, but nothing coming from the receiver. Will try some updates to use push-receiver-v2 to see if that fixes.

ItIsYeDog commented 2 months ago

Can confirm myself have the same problem.

ShiefCteve commented 2 months ago

Yep also having issues.

mc-enjoyer commented 2 months ago

Also having same issue.

haydenpog commented 2 months ago

seems to be a rust issue, doesn't even show up on my app

ElliotNixon commented 2 months ago

same problem. Works on phone not on app

Rastlinek commented 2 months ago

Same...

Ayuan97 commented 2 months ago

Same...

Same...

Same...

Same...

Same...

Same...

ImmortalPie commented 2 months ago

Have just set this bot up on my server and I'm getting the same, I don't get push notifications on the rust+ app but if I click the notification icon I can see it's sent many attempts to pair, just nothing at all in the server channel in discord. I can pair in app and it works fine. Can't seem to get the bot to receive the server I'm trying to pair. As far as I can see setup went correctly, I can add my credentials in the Discord server. No errors in console, tried with and without firewall active, is there a specific port this app need open for any of this?

alexemanuelol commented 2 months ago

Yea this is an issue that appeared 2 days ago, this affects all Rust+ bots. Seems that facepunch now uses a more secure fcm version which makes it nearly impossible for none-authorized bots to listen to notifications. Ill be experimenting with a possible solution tonight, but this will only be a temporary fix.

ImmortalPie commented 2 months ago

That is unfortunate, I used to just use an online bot but saw this repo mentioned on reddit and thought rather than pay them I'll host one for our group. Not played in a long while but was asked to join a wipe this evening, so unsure about any changes like that but that sucks. This was the first one I tried so hadn't realised it was all bots. edit: Just checked in with the old bot I used to have, they have a banner on top of the site mentioning Rust+ pairing issues as well.

MrCoderMan65544 commented 2 months ago

Any update? Game is unplayable without a bot :D

alexemanuelol commented 2 months ago

I've now made a temporary fix for this, please see the message I posted on discord.

https://discord.com/channels/897888898276024350/897937816850419742/1281921961898934323

ImmortalPie commented 2 months ago

I am not in whichever Discord server that is so it does not take me to the post. Just redirects to a blank screen or one of my own server's channels.

alexemanuelol commented 2 months ago

https://discord.gg/NKTcyYczcZ