Cannot connect server to github 1.8.0 with error Failed to retrieve access token from GitHub API.
- 0
- Self Hosted
I checked all the steps and also validated the openssl key with the command given ... I am getting terminal response as valid key but the issue is something else...this is the logs:-
appwrite | [Error] Timestamp: 2025-11-22T14:28:27+00:00
appwrite | [Error] Method: GET
appwrite | [Error] URL: /v1/vcs/github/callback
appwrite | [Error] Type: Exception
appwrite | [Error] Message: Failed to retrieve access token from GitHub API.
appwrite | [Error] File: /usr/src/code/vendor/utopia-php/vcs/src/VCS/Adapter/Git/GitHub.php
appwrite | [Error] Line: 353
i am sharing the link as well so that someone can help by checking the error logs in that link https://hetz1.shaashvatsolutions.com/v1/vcs/github/callback?code=1d25000b90106fef8a54&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
Have you correctly set your domain there?
Because as per the error in the link, the part 'Access-Control-Allow-Origin' => 'https://localhost', mentions https://localhost as the allowed origin instead of your domain
Ohhh....but the domain is correctly set as then only I am able to access the server via appwrite console on that domain.....the domain redirects to appwrite console
Is there any other variable I need to define???
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...
- TablesDB `updateRows` returns `database_...
Hi Appwrite team! I’m seeing a strange issue with TablesDB bulk row updates on a self-hosted Appwrite instance. **Environment** - Appwrite self-hosted `1.9.0` ...
- [SOLVED] Realtime Missing Channels
```js useEffect(() => { let subscription: RealtimeSubscription; async function loadChips() { try { const {rows: chi...