Leon 🧿
I keep getting this error:
TypeScript
2024-08-11T13:33:13.260733458Z [Error] Timestamp: 2024-08-11T13:33:13+00:00
2024-08-11T13:33:13.260828275Z [Error] Method: GET
2024-08-11T13:33:13.260846616Z [Error] URL: /v1/vcs/github/callback
2024-08-11T13:33:13.260860783Z [Error] Type: Ahc\Jwt\JWTException
2024-08-11T13:33:13.260874789Z [Error] Message: Signing key cannot be empty
2024-08-11T13:33:13.260888100Z [Error] File: /usr/src/code/vendor/adhocore/jwt/src/ValidatesJWT.php
2024-08-11T13:33:13.260904012Z [Error] Line: 34
But my environment variables look fine:
TypeScript
_APP_VCS_GITHUB_PRIVATE_KEY=PRIVATE_KEY
_APP_OPENSSL_KEY_V1=OPENSSL_KEY
I read in the documentation that the key needs to be surrounded with quotes, but whenever i put quotes in coolify it just removes them. Any idea?
TL;DR
Issue: Error message "Signing key cannot be empty" when trying to connect to GitHub even though environment variables seem correct.
Solution: Make sure to set the private key in environment variables with quotes, like this:
```
_APP_VCS_GITHUB_PRIVATE_KEY="PRIVATE_KEY"
_APP_OPENSSL_KEY_V1="OPENSSL_KEY"
```
Coolify removes quotes, so ensure they are properly set in the environment variables. Recommended threads
- Deploy function not working - 503
Hellon i get this error message, when i try to deploy a new version of a function <html><body><h1>503 Service Unavailable</h1>No server is available to handle...
- Migrate from cloud to localhost
Hello everyone. I need to migrate my test project from cloud to localhost, however it seems that this is possible only if a self-hosted appwrite instance it's h...
- Need help with createExecution function
Hi, Need some help understanding createExecution. When requesting function execution via createExecution, the function handler arguments are incorrect and rese...