Skip to content
Back

Please help, this issue occurs when connecting Appwrite with GitHub.

  • 0
  • Self Hosted
  • Auth
naeem
29 May, 2025, 14:25
TL;DR
Issue: Error occurring when trying to connect Appwrite with GitHub. Solution: Ensure the GitHub private key is formatted correctly and follow the documentation provided for integration. Also, check the GitHub credentials to ensure they are correct.
faye
29 May, 2025, 14:29

Looks like your github credentials aren't correct

naeem
29 May, 2025, 14:30

all fine i am using docker

naeem
29 May, 2025, 14:31
D5
29 May, 2025, 14:46

Do you have the key between "" and single-lined with \n?

faye
29 May, 2025, 14:48

Try running this:

TypeScript
CODE='
if (openssl_pkey_get_private(getenv("_APP_VCS_GITHUB_PRIVATE_KEY")) === false) {
    echo "Invalid Private Key\n";
    exit(1);
} else {
    echo "Valid Private Key\n";
    exit(0);
}'

docker compose exec appwrite php -r "$CODE"
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more