Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Failed to fetch Discord server #100

Open
KodakZack opened this issue Sep 11, 2023 · 10 comments
Open

[BUG] - Failed to fetch Discord server #100

KodakZack opened this issue Sep 11, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@KodakZack
Copy link

Describe the bug
I keep receiving "Failed to fetch Discord server" every couple of days. I got it working yesterday and it has been fine since but after I just restarted my dev server again I am now getting this error. I have tried to reset my token but that didnt work either. I dont know what else to do. This issue only started recently. Could it be a fivem artifact issue?

Expected behavior
Discord bot connects and runs smoothly.

Screenshots
https://i.imgur.com/d0NJ3Ow.png

Information:

  • FiveM Artifact #: [6683]
  • Running QBCore?: Yes
  • If running QBCore when did you last update it? [On update 1.2.6]
  • Have you checked for other issues reporting this bug?:yes

Additional context
Add any other context about the problem here.

@KodakZack KodakZack added the bug Something isn't working label Sep 11, 2023
@zfbx
Copy link
Owner

zfbx commented Sep 11, 2023

The errors in your screenshot suggest you don't have the token or server id set in the config? but another thing you can do to see more about what's going on is enable DebugLogs in the config. that should tell you more about what could be going wrong if it is api related

@KodakZack
Copy link
Author

https://i.imgur.com/HzpoBja.png
I just ensured it again and I get the same errors but then the bot connects and works fine. Is this just an API error? I enabled DebugLogs but nothing showed since it connected this time.

@zfbx
Copy link
Owner

zfbx commented Sep 11, 2023

wait.. that's not a zdiscord error 👀 not sure what srp-core is but zdiscord errors log with this own timestamps
wait 🤔 is it? why does that look weird?

@KodakZack
Copy link
Author

Its my core with component loggers but I do use qbcore

@zfbx
Copy link
Owner

zfbx commented Sep 11, 2023

does it modify zdiscord?

@KodakZack
Copy link
Author

No it does not. At the moment everything is working normally.

@zfbx
Copy link
Owner

zfbx commented Sep 11, 2023

follow up, do you use webhook logging? and if so.. excessively?

@KodakZack
Copy link
Author

I do not. I have that disabled.

@zfbx
Copy link
Owner

zfbx commented Sep 11, 2023

hmm weird.. maybe it's just when the discord api goes down for a bit? that or you're on a host that has other people hammering the discord api? not sure :( debuglogs will paint a better picture when it happens but they're pretty spammy till then sadly

@KodakZack
Copy link
Author

I will follow up if it does happen again and I will make sure to get the debuglogs. I appreciate the help regardless!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants