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
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...