Problem connecting GitHub repository to functions in self-hosted instance
- 0
- Self Hosted
- Functions
Hello everyone,
I'm facing a strange issue with a self-hosted installation of Appwrite. I've extensively read the documentation, checked all configuration variables in the .env file, and nothing seems to work (so I decided to open this thread =).
When I try to connect a repository for functions, I am redirected to an App configuration screen on GitHub, not a repository selection screen, as shown in the attached video.
Link from the "github" button on the functions page: https://appwrite.meddeck.com.br/v1/vcs/github/authorize?project=pointer-dm6gox&success=https%3A%2F%2Fappwrite.meddeck.com.br%2Fconsole%2Fproject-pointer-dm6gox%2Ffunctions%3Ffrom%3Dgithub%26to%3Dcover&failure=https%3A%2F%2Fappwrite.meddeck.com.br%2Fconsole%2Fproject-pointer-dm6gox%2Ffunctions%3Ffrom%3Dgithub%26to%3Dcover&mode=admin
Environment variables - I've reviewed the variables and everything seems to be correct:
_APP_VCS_GITHUB_APP_NAME=darkdeck-appwrite-app
_APP_VCS_GITHUB_PRIVATE_KEY='-----BEGIN RSA PRIVATE KEY-----\swihw****\n-----END RSA PRIVATE KEY-----'
_APP_VCS_GITHUB_APP_ID=123456
_APP_VCS_GITHUB_CLIENT_ID=****
_APP_VCS_GITHUB_CLIENT_SECRET=*******
_APP_VCS_GITHUB_WEBHOOK_SECRET=***
GitHub App configuration (app settings) I added an attached image with the GitHub app configuration.
Please, can someone help me!! Thank you for your attention ❤️
does this help? https://www.youtube.com/watch?v=vKXRY6va4sY
Recommended threads
- TOO_MANY_REDIRECTS after temporarily ena...
I am losing my mind over this, I enabled this setting because I was having issues with sites not making links with https. I enabled it, ran into issues, so I di...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...
- Triggers and call function in function p...
Hello, Today we are experiencing several issues with Appwrite Cloud. Functions triggered by events, or functions called from another function, are taking an e...