Rank 2: Process
I send it to you.
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
I send it to you.
Hmm looks okay.
Maybe the client secret is incorrect though?
Does docker compose exec appwrite vars match your env file?
Rank 2: Process
Yes, it does
Rank 2: Process
I tried to add incorrect client secret key and it showed me the next error:
Rank 2: Process
Rank 2: Process
So, I think the problem is other stuff
any chance you can modify the source code to try and dump more info? You would need to
docker compose exec appwrite vi /usr/src/code/vendor/utopia-php/vcs/src/VCS/Adapter/Git/GitHub.phpvar_dump($res['body']);docker compose restart appwrite to apply the changesThen, test again. The logs should then dump the response from GitHub and maybe it will give more info as to why the token response from GitHub is null
Rank 2: Process
Ok, I completed the previous steps and the result is as follows:
Rank 2: Process
Rank 2: Process
Rank 2: Process
After this, I tried to search for these logs, and I asked the AI chat about it and it says:
Rank 2: Process
Whoa weird...is the time on your system correct? Maybe it's ahead a little bit?
Rank 2: Process
Yeah, it’s actually correct, but I’m using a VPN when I work, so it was, as you said, ahead a little bit.
Rank 2: Process
I corrected the time and tested it again. It’s working now. Thank you for your support.
Rank 2: Process
]Error 500 Cannot assign null to property Utopia\VCS\Adapter\Git\GitHub::$accessToken of type string
Rank 2: Process
Error 500 Cannot assign null to property Utopia\VCS\Adapter\Git\GitHub::$accessToken of type string
Rank 2: Process
[SOLVED] Error 500 Cannot assign null to property Utopia\VCS\Adapter\Git\GitHub::$accessToken
Rank 1: Thread
However, I installed it with Coolify on a remote server.
Rank 1: Thread
I ran cmd docker exec appwrite-agg44c8 vars and everything is the same as the variables set in the Coolify service.
Rank 1: Thread
When viewing the logs of the appwrite service container
Rank 1: Thread
My Github App
Rank 1: Thread
@Steven you give me some help?
Please create a new post instead of posting in an old thread. In addition, please don't tag people as it can be disruptive