
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
- I am receiving an Error 400 Invalid `suc...
Hi, I am an armature trying to set up a Google Sign-in button and authentication with some scopes. However, I don't understand why I can't redirect the button t...
- Setting SMTP does nothing - running appw...
I have set up a local image to play with and develop locally which i can authenticate to and make database and collection not problem. Trying to test out sendin...
- domain SSL error
im getting error when executing ssl ``` appwrite-worker-certificates | [Job] Received Job (67bfb1dc953401.66385800). appwrite-worker-certificates | Cannot re...
