I got the error
Error 500 Server Error general_unknown
can not connect to github
cd appwrite/ docker compose exec appwrite migrate
that is done
still not connecting
any idea?
Did you figure it out
Did you find any solution? Same error here
I also have this error now in my old 1.6.0 instance. Did not change anything at all. Are you also using coolify?
Appwrite logs: [Error] URL: /v1/vcs/github/callback [Error] Type: Ahc\Jwt\JWTException [Error] Message: Signing key cannot be empty [Error] File: /usr/src/code/vendor/adhocore/jwt/src/ValidatesJWT.php
My signing private key is definitly not empty. New installation on 1.7.4 also has the same issue.
Do you also get the "Signing key cannot be empty" log message?
Where did you get that one?
Docker or web console?
Simply in the web console under "Logs" of the appwrite container.
But I also found out that somehow I am not able to get a valid "_APP_VCS_GITHUB_PRIVATE_KEY" when I check on it via PHP. Don't know why this is now a issue.
php -r '$key=getenv("_APP_VCS_GITHUB_PRIVATE_KEY"); if($key && openssl_pkey_get_private($key)){echo "Valid Key";}else{echo "Invalid Key: ".openssl_error_string();}'
outputs:
Invalid Key: error:1E08010C:DECODER routines::unsupported
Interesting now I get this error. I did not change a thing?
Holly, I'm still unable to find a solution, I hope someone of appwrite can help us through this
Yeah I already checked on that for 3hs now. I tried several .pem conversions created a new github app and so on. I am not sure what is going on here.
Not sure what I am doing wrong here but to me it looks fine:
php -r 'echo var_export(getenv("_APP_VCS_GITHUB_PRIVATE_KEY"));'
outputs:
'"-----BEGIN RSA PRIVATE KEY-----\\nMIIEowIBAAKCAQEAqg6rywrXjchr6Agxb6a/UBYO74k2RvxAYOAcyPu8E/yPdF5E\\nwCK8zql6S0zONgOACrG6KU5PWXNsHoF5APxm44PrjyB----REDACTED-----JqL7j5rRhI3unOI4nxAqjSBc+\\n-----END RSA PRIVATE KEY-----\\n"'
I now even hardcoded the envs to the docker compose file - still the same issue. So coolify should not be the problem here?
I dont think is your fault, I mean, if all of us are having this kind of problems it could be an undocumented change, or just an Appwrite bug. We should wait till someone of the crew actually take a look into this
But idk, seems like they are busy today, usually they are very responsive
same issue for me now....totally tired now....please help me if any one got this fix....everything tried.... can check error logs in this link if anyone wishes to https://hetz1.shaashvatsolutions.com/v1/vcs/github/callback?code=8f13d95fdf1a3040a36a&installation_id=95352693&setup_action=update&state=%7B%22projectId%22%3A%22691c8df30037aaeece18%22%2C%22success%22%3A%22https%3A%5C%2F%5C%2Fhetz1.shaashvatsolutions.com%5C%2Fconsole%5C%2Fproject-default-691c8df30037aaeece18%5C%2Ffunctions%5C%2Fcreate-function%3Ffrom%3Dgithub%26to%3Dcover%22%2C%22failure%22%3A%22https%3A%5C%2F%5C%2Fhetz1.shaashvatsolutions.com%5C%2Fconsole%5C%2Fproject-default-691c8df30037aaeece18%5C%2Ffunctions%5C%2Fcreate-function%3Ffrom%3Dgithub%26to%3Dcover%22%7D
At least yours is a bit different, mine is error 500 totally no clue
Should we create a github issue for that? I don't think the appwrite team often looks in the selfhosted section?
Recommended threads
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...
- Unable to init function via cli
Hello! I have created a new self hosted instance of appwrite 1.9.6 and have connected to that insatnce with the cli 27.2.0 that was released a few hours ago. Wh...