Skip to content
Back

GitHub connection failed

  • 0
  • Self Hosted
  • Functions
Eric
2 Aug, 2025, 11:18

I am running a self-hosted Appwrite with Coolify. Everything is running smoothly so far and I wanted to starte develop functions. Trying to connect github with this doc:https://appwrite.io/docs/advanced/self-hosting/functions and this tutorial: https://www.youtube.com/watch?v=GFoxpT_RQj4&t=979s

I added the timestamp to which step I can't follow without failing. After clicking "Install & Authorize" I am getting redirected to https://<mydomain>/v1/vcs/github/callback?code= ....... but I am getting Error 500 Server Error general_unknown

Appwrite Console is showing:

TypeScript
[Error] URL: /v1/vcs/github/callback
[Error] Type: Ahc\Jwt\JWTException
[Error] Message: Signing key cannot be empty
[Error] File: /usr/src/code/vendor/adhocore/jwt/src/ValidatesJWT.php
[Error] Line: 34```

So what signing key am I missing?
TL;DR
Developer is trying to connect GitHub with self-hosted Appwrite but is encountering Error 500 with a JWTException stating "Signing key cannot be empty". The issue seems to be related to missing a signing key. Solution: Check the JWT configuration in the Appwrite settings and ensure the correct signing key is inputted.
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