Back

[SOLVED] VCS Github redirect throws "Signing key cannot be empty" in v1.4.1

  • 0
  • Self Hosted
  • Functions
  • Webhooks
Joshi
31 Aug, 2023, 22:42

I followed the steps which are shown here https://user-images.githubusercontent.com/29069505/264758256-f8783a48-3d13-4ff6-964e-3ad098311f92.png 👀.

When I go to Functions in the console and try to connect to Github, after giving the Github App permissions it redirects back to my website but showing this error.

TL;DR
The user encountered an error message "Signing key cannot be empty" when trying to connect to Github in v1.4.1. They received suggestions to create a new post with their current problem and to use the command `docker compose exec appwrite vars` to check the `_APP_VCS_GITHUB_PRIVATE_KEY` variable. They were also advised to change the `_APP_ENV` env var to `development` for a stacktrace of the error. It was noted that the error occurred when (3) was activated and that the user should follow the steps shown in the provided image.
Joshi
31 Aug, 2023, 22:45

The docs sayAs (1) and (2) should be http, I put https, is that wrong? And should (3) be enabled or not?

Joshi
31 Aug, 2023, 22:48

If I untoggle (3) it just redirects me to the github installation page but doesnt do anything

Drake
31 Aug, 2023, 23:17

can you try changing the _APP_ENV env var to development so that this error page will show a stacktrace? I'm curious what exactly is throwing the error

Drake
31 Aug, 2023, 23:19

oh wait. can you try running docker compose exec appwrite vars and check your _APP_VCS_GITHUB_PRIVATE_KEY variable?

Joshi
31 Aug, 2023, 23:20

I set all my enviroment variables

Joshi
31 Aug, 2023, 23:21

"Signing key cannot be empty" error only showed up because I activated (3).

Joshi
31 Aug, 2023, 23:22

What is expected to happen after the user clicks on "connect with github" in functions?

Drake
31 Aug, 2023, 23:24

use https rather than http

Joshi
31 Aug, 2023, 23:24

I did

Joshi
31 Aug, 2023, 23:25

I'll start the procedure from stratch and will report back

Joshi
31 Aug, 2023, 23:25

You can close this. I'll open a new support ticket

Drake
31 Aug, 2023, 23:25

probably not 3

Joshi
31 Aug, 2023, 23:26

@Steven What should I put here?

Drake
31 Aug, 2023, 23:26

your appwrite instance url?

Joshi
31 Aug, 2023, 23:27

with "/v1"?

Joshi
31 Aug, 2023, 23:44

@Steven This issue has been caused by (3). I'm still struggling making vcs work, see here: https://discord.com/channels/564160730845151244/1146953271739695188

Drake
1 Sep, 2023, 15:31

can you create a new post with your current problem? feel free to tag me

Drake
1 Sep, 2023, 15:31

[SOLVED] VCS Github redirect throws "Signing key cannot be empty" in v1.4.1

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