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
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?