
Instructions to replicate:
- Go to create function
- "Connect Git repository"
- Click "GitHub"
- On the github appwrite functions, under "repository access", hit "save"
- After saving, I am redirected back to my appwrite backend with the following error:
message "Server Error" code 500 type "general_unknown" version "1.5.4"
Here are the errors as they appear in docker logs: [Error] Timestamp: 2024-04-17T19:54:29+00:00 [Error] Method: GET [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 [Error] Timestamp: 2024-04-17T19:54:29+00:00 [Error] Method: [Error] URL: /favicon.ico [Error] Type: Appwrite\Extend\Exception [Error] Message: The requested route was not found. Please refer to the API docs and try again. [Error] File: /usr/src/code/app/controllers/general.php [Error] Line: 860
Googling the first issue "Signing key cannot be empty", I found this post where a user resolved the issue by specifying _APP_OPENSSL_KEY_V1 in the .env file: https://github.com/appwrite/appwrite/issues/6043
However, I already have an app openssl key in my env file.
I verified the callback URLs and webhook specified in github through the documentation at https://appwrite.io/docs/advanced/self-hosting/functions. I also ensured the .env file contains the correct github settings (app name, app id, id, secrets, private key...)
This worked before, I don't know when it stopped working as I haven't touched functions in a while.
also tried removing callback urls in github and re-adding them. I also disconnected github integration from appwrite to try and restart the connection process, but no luck.
Thanks for the help
Recommended threads
- schedule functions not working
starting from 15:02 utc time my schedule function stops working. I was able to execute it using the GUI. The schedule is every 5 minutes and I can see a clock i...
- Appwrite 1.7.4 " Utopia\Domains\Domain::...
- Getting permission denied error while de...
My `package.json` build script is `tsc` and function's commands are `npm install && npm run build`. Here are the deployment logs: ``` 2025-06-19T15:14:36.849527...
