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
198 stars 99 forks source link

need help with connecting server in bot #348

Closed focuszz11 closed 2 weeks ago

focuszz11 commented 1 month ago

Hello, after all the bindings and authorization in Rust+ (either through the application or through the web version) (Receiving FCM credentials, the bot confirms that the account is bound), when pressing the button in the Pair with Server game, a message about the binding does not come in the bot, but on the phone the server binding in the Rust+ application comes. Could you help with this?

MrFiNka commented 1 month ago

Make sure you're logged in to the same Steam account

focuszz11 commented 1 month ago

I definitely linked the right steam account

C74K commented 1 month ago

Hello, after all the bindings and authorization in Rust+ (either through the application or through the web version) (Receiving FCM credentials, the bot confirms that the account is bound), when pressing the button in the Pair with Server game, a message about the binding does not come in the bot, but on the phone the server binding in the Rust+ application comes. Could you help with this?

are you have rust+ app on phone ?

focuszz11 commented 1 month ago

yes

C74K commented 1 month ago

yes

if you pair server you have info on phone about it but not in bot ?

focuszz11 commented 1 month ago

да

если вы подключаете сервер, у вас есть информация об этом на телефоне, но нет в боте?

Yes that's right

C74K commented 1 month ago

it means that you have not connected the bot to your steam account.

https://rustplusplus-credentials.netlify.app/

C74K commented 1 month ago

https://rustplusplus-credentials.netlify.app/documents/getting-started/fcm-credentials

focuszz11 commented 1 month ago

I already did this a long time ago. image

maxcutie commented 1 month ago

having the same issue, cant link to the bot even though everything is set up correctly

heyimjonas commented 1 month ago

2024-8-03 18:40:58 351706639491006464 Rusty Moose |EU Monthly| CONNECTING: CONNECTING TO SERVER... 2024-8-03 18:40:58 351706639491006464 Rusty Moose |EU Monthly| CONNECTED: CONNECTED TO SERVER. 2024-8-03 18:40:59 351706639491006464 Rusty Moose |EU Monthly| ERROR: Response contain error property with value: not_found. 2024-8-03 18:40:59 351706639491006464 Rusty Moose |EU Monthly| ERROR: Something went wrong with connection. 2024-8-03 18:40:59 INFO: Button Interaction - VerifyId: 606011 SUCCESS 2024-8-03 18:41:03 351706639491006464 Rusty Moose |EU Monthly| DISCONNECTED: DISCONNECTED FROM SERVER.

I get the same error.

  1. I reset the bot on my VPS.
  2. Opened ports.
  3. Reset the discord bot.
  4. Reset the connection. 5 Reset the FCM thing.
  5. tried multiple time to re-pair the server.

I get this error on different servers.

bset-302 commented 4 weeks ago

I'm receiving a similar issue - I never get prompted to pair the server within the discord channel. It worked fine a couple of months ago.

The only potential issue I see in the logs is this -

2024-8-15 18:06:23 WARNING: FCM Credentials are not registered for guild: 12736953362********, cannot start FCM-listener.

heyimjonas commented 3 weeks ago

2024-8-03 18:40:58 351706639491006464 Rusty Moose |EU Monthly| CONNECTING: CONNECTING TO SERVER... 2024-8-03 18:40:58 351706639491006464 Rusty Moose |EU Monthly| CONNECTED: CONNECTED TO SERVER. 2024-8-03 18:40:59 351706639491006464 Rusty Moose |EU Monthly| ERROR: Response contain error property with value: not_found. 2024-8-03 18:40:59 351706639491006464 Rusty Moose |EU Monthly| ERROR: Something went wrong with connection. 2024-8-03 18:40:59 INFO: Button Interaction - VerifyId: 606011 SUCCESS 2024-8-03 18:41:03 351706639491006464 Rusty Moose |EU Monthly| DISCONNECTED: DISCONNECTED FROM SERVER.

I get the same error.

1. I reset the bot on my VPS.

2. Opened ports.

3. Reset the discord bot.

4. Reset the connection.
   5 Reset the FCM thing.

5. tried multiple time to re-pair the server.

I get this error on different servers.

i fixed it by resetting the bot from the ground up. i didn't modify any settings and the first thing i did was setting up the credentials and then did customization. this way it worked for me.

LShirohana commented 2 weeks ago

Hey, I wanted to chime in that I am also having the same issue. m_KoalabearProfitableAsiandamselfly8o3

The bot loads successfully, and can process commands in my server. I added my FCM credentials received from the program, and even confirmed its tied to the Steam ID I am actively using.

m_CuscusPastelAntlion6r6

Regardless, it does not seem to pair with the server. I have disconnected the server, and repaired multiple times, and the FCM listener does not receive any notification. I do not get any errors or messages in the console either.

Seems to be an issue I do not know how to resolve.

@alexemanuelol Is this a common issue that I am messing up or something like that?

LShirohana commented 2 weeks ago

Update: While connected to the server, I hit the "Resend pairing notification" button and... it worked. I do not really get it.

alexemanuelol commented 2 weeks ago

Update: While connected to the server, I hit the "Resend pairing notification" button and... it worked. I do not really get it.

https://github.com/alexemanuelol/rustplusplus/blob/master/FAQ.md#credentials-added-but-no-pair-notification