Hi, I want to connect my GitHub application with my self-hosted Appwrite instance. After redirecting from Github OAuth installation page to the callback URL, I receive a JSON with an following error.
{"message":"Server Error","code":500,"type":"general_unknown","version":"1.4.13"}
In the Docker logs, the following error appears:
TypeScript
2024-02-28T17:04:34.702348307Z [Error] Method: GET
2024-02-28T17:04:34.702354017Z [Error] URL: /v1/vcs/github/callback
2024-02-28T17:04:34.702358746Z [Error] Type: Ahc\Jwt\JWTException
2024-02-28T17:04:34.702362743Z [Error] Message: Signing key cannot be empty
2024-02-28T17:04:34.702366290Z [Error] File: /usr/src/code/vendor/adhocore/jwt/src/ValidatesJWT.php
2024-02-28T17:04:34.702369906Z [Error] Line: 34```
After some research, I filled in the environment variable `_APP_OPENSSL_KEY_V1` with a randomly generated string, but the issue still persists.
Maybe `_APP_OPENSSL_KEY_V1` should be in the exact format but I don't find any information in documentation about this.
TL;DR
Message: Developers facing error "Signing key cannot be empty" connecting GitHub app with self-hosted Appwrite instance. JSON error code 500, Docker logs show JWTException. Solution: Fill `_APP_OPENSSL_KEY_V1` with correct format, documentation lacks details.Recommended threads
- Invalid query: Query on attribute has gr...
I cannot view the table within the Console
- Query regarding hackathon sponsorship
We at our college were organising a hackathon and I was wondering whether appwrite would like to partner with us? We are from a student branch of IEEE. It is a...
- Functions not executing after usage rese...
Hi team, Last month my project hit 100% usage and functions stopped working (expected). Now the new month has started and usage has reset, requests are going ...