Hello everonye, I used to have the singing key error but got to fix it, however now the github integration is still not working. When trying to connect to my github app the logs show this
TypeScript
2024-07-06T12:25:21.185442283Z [Error] Method: GET
2024-07-06T12:25:21.185446045Z [Error] URL: /v1/vcs/github/callback
2024-07-06T12:25:21.185460117Z [Error] Type: Ahc\Jwt\JWTException
2024-07-06T12:25:21.185463299Z [Error] Message: Signing key cannot be empty
2024-07-06T12:25:21.185465965Z [Error] File: /usr/src/code/vendor/adhocore/jwt/src/ValidatesJWT.php
2024-07-06T12:25:21.185468706Z [Error] Line: 34
2024-07-06T12:25:26.737186001Z [Error] Timestamp: 2024-07-06T12:25:26+00:00
2024-07-06T12:25:26.737221174Z [Error] Method: GET
2024-07-06T12:25:26.737225084Z [Error] URL: /v1/vcs/github/callback
2024-07-06T12:25:26.737227814Z [Error] Type: Appwrite\Auth\OAuth2\Exception
2024-07-06T12:25:26.737230662Z [Error] Message: Bad credentials: No description
2024-07-06T12:25:26.737233385Z [Error] File: /usr/src/code/src/Appwrite/Auth/OAuth2.php
2024-07-06T12:25:26.737236017Z [Error] Line: 212
2024-07-06T12:26:14.343118146Z [Error] Timestamp: 2024-07-06T12:26:14+00:00
2024-07-06T12:26:14.343151844Z [Error] Method: GET
2024-07-06T12:26:14.343155779Z [Error] URL: /v1/vcs/github/callback
2024-07-06T12:26:14.343158507Z [Error] Type: Appwrite\Auth\OAuth2\Exception
2024-07-06T12:26:14.343161253Z [Error] Message: Bad credentials: No description
2024-07-06T12:26:14.343164018Z [Error] File: /usr/src/code/src/Appwrite/Auth/OAuth2.php
2024-07-06T12:26:14.343166693Z [Error] Line: 212```
anyone an idea?
The signing code is properly stored in the env as:
```"-----BEGIN RSA PRIVATE KEY-----\nMIIEogI......drvCL3oc48NG43fMMmoFwbuPZOTr4txw8HGhK84X4M=\n-----END RSA PRIVATE KEY-----"```
TL;DR
GitHub integration not working due to a signing key issue. Logs show errors related to the signing key being empty and bad credentials. Check the stored signing key in the environment variable.Recommended threads
- Unknown column 'sourceSize' in 'field li...
After migrating from 1.6.1 to 1.7.4 I noticed this message in the logs: `appwrite-worker-stats-resources | 2025-10-26T10:32:38.289577112Z Failed: SQLSTATE[...
- Invalid document structure: Missing requ...
After migrating from 1.6.1 to 1.7.4 I noticed this message in the logs: appwrite-worker-audits | 2025-10-26T11:15:24.062537020Z Error processing a...
- New attribute stuck on processing?
I was running out of disk space and after creating an attribute and restarting my appwrite (self hosted) I have an attribute stuck on creation. Any way to remov...