Back

[SOLVED] Discord error failure

  • 1
  • Users
  • Accounts
  • Web
Hexi
24 May, 2023, 14:25
TL;DR
Issue: Discord error failure on boot Solution: 1. Change SSL settings to 'full' and ensure Coolify is generating SSL for Appwrite. 2. If using Appwrite in Coolify, change the value of '_APP_OPTIONS_FORCE_HTTPS' to 'enabled' in the env settings. 3. Check if Appwrite (on Coolify) is behind a proxy like Cloudflare. Note: Ensure the correct OAuth2 secret is copied from Discord.
Hexi
24 May, 2023, 14:25

And I dont think it would show up the url Oauth2 from discord if the app secret is wrong

Binyamin
24 May, 2023, 14:26

Yes, makes sense.

Binyamin
24 May, 2023, 14:27

Is your Appwrite (on Coolify) behind some proxy (Cloudflare)?

Hexi
24 May, 2023, 14:27

Yeah

Binyamin
24 May, 2023, 14:27

Tunneling or just DNS?

Hexi
24 May, 2023, 14:27

DNS

Binyamin
24 May, 2023, 14:28

And what your SSL settings on?

Danny
24 May, 2023, 14:28

They are on flexible last time I checked

Danny
24 May, 2023, 14:29

Yh they are

Hexi
24 May, 2023, 14:29
Hexi
24 May, 2023, 14:29

Yup

Binyamin
24 May, 2023, 14:30

So that's means Appwrite don't have SSL on it's own Can you

  1. Change to full
  2. Make sure Coolify is generating SSL for it [ 3. Changing the value of _APP_OPTIONS_FORCE_HTTPS to enabled in the env settings for Appwrite in Coolify]

Then reload Appwrite and try again?

Hexi
24 May, 2023, 14:31

alr its starting up again

Hexi
24 May, 2023, 14:33

hmm same error but its on boot

Binyamin
24 May, 2023, 14:34

What you mean on boot?

Hexi
24 May, 2023, 14:35

Hmmm

Hexi
24 May, 2023, 14:36

Nvm but same error I will try to reset the Oauth2 secret on discord and copy the same one

Hexi
24 May, 2023, 14:39

Finally

Binyamin
24 May, 2023, 14:39

Yes

Binyamin
24 May, 2023, 14:39

That's require your dancing emoji 😉

Hexi
24 May, 2023, 14:39
Hexi
24 May, 2023, 14:39

<a:happi:1107928866477064202>

Hexi
24 May, 2023, 14:42

[SOLVED] Discord error failure

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more