Back

404 Error While Git installation to your project

  • 0
  • Functions
  • Web
harendra
7 Sep, 2023, 18:16

45 chars

TL;DR
User is experiencing a 404 error while trying to install Git to their project. They added the server IP to the "IP allow list," but the error still persists. They have tried adding the client secret and the private key, but it is not working. They are looking for a demo screenshot on how to use the private key. There is a suggestion to uninstall the GitHub app from the account and try the installation process again. The user is unsure if they should pass the .pem file path or paste the key. They are also asking for clarification on the format of the key. The user mentions that the key should start with `
Binyamin
7 Sep, 2023, 18:16

The key should start with -----BEGIN RSA PRIVATE KEY-----

Binyamin
7 Sep, 2023, 18:17

That is the SHA256 hash of the key

Binyamin
7 Sep, 2023, 18:17

Check if you downloaded a file and copy is value

harendra
7 Sep, 2023, 18:17

oh, should i need to pass .pem file path or paste the key

Binyamin
7 Sep, 2023, 18:17

Paste, I think

harendra
7 Sep, 2023, 18:17

sure

Binyamin
7 Sep, 2023, 18:18

Yes just paste the key

harendra
7 Sep, 2023, 18:22

same issue, i have pasted it in "<key>", in multiline

Binyamin
7 Sep, 2023, 18:23

I havne't done that yet in my instance so I'm not sure

harendra
7 Sep, 2023, 18:23

okay, will try again

Drake
7 Sep, 2023, 18:30

another thing you should do is uninstall the github app from your account (https://github.com/settings/installations) and try the flow again

harendra
7 Sep, 2023, 18:32

I have done this also, can you please give the demo screenshot how to use private key?

Drake
7 Sep, 2023, 18:33

also make sure the callback urls are the same order as mentioned in the docs

Drake
7 Sep, 2023, 18:35
TypeScript
_APP_GITHUB_PRIVATE_KEY_OR_WHATEVER="-----BEGIN RSA PRIVATE KEY-----\nanotherline\nanother\n----END RSA KEY or whatever the footer is"
Drake
7 Sep, 2023, 18:35

multiline also works...but may get screwed up during upgrades

harendra
7 Sep, 2023, 18:38

sure, trying it

harendra
7 Sep, 2023, 18:39

Not working

harendra
7 Sep, 2023, 18:40
Binyamin
7 Sep, 2023, 18:41

What about the client secert?

harendra
7 Sep, 2023, 18:44

added it, but same issue

Binyamin
7 Sep, 2023, 18:44

I can try it later if ot works I can update you here

harendra
7 Sep, 2023, 18:57

In url it is still showing the error, but finally it fetched the github repos

harendra
7 Sep, 2023, 18:57

thank you @Binyamin @Steven for your time

harendra
7 Sep, 2023, 19:00

I think the ip was creating problem, i have added the server ip to "IP allow list"

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