Back

v1.5.4 rc:404 when trying to ‘Add Installation’ in Settings-> Git Configuration

  • 0
  • Self Hosted
  • Functions
Rando
29 Mar, 2024, 18:22

I watched the 20 minute video and I read through the 2 other threads about getting 404 errors with git but my problem seems to be a little different.

  • I’ve got both callback urls configured and in the correct order
    • Request user authentication is checked
    • Redirect on update is checked
  • My RSA key is all one line with \n and enclosed in double quotes
  • My app name is correct
  • My webhook secret is correct
  • My permissions are set correctly

The only thing I can think of that might be different about my installation is that I’m not running appwrite on port 443. It’s on port 34443. Does the port need to be included in the _APP_DOMAIN_TARGET ? The doc says it should be a CNAME so I didn’t include it…

The URL that’s generating the 404 is:

https://github.com/apps/my-apps-name/installations/new/permissions?target_id=165401593

TL;DR
Developers experiencing a 404 error when trying to 'Add Installation' in Git Configuration settings. The error may be due to Appwrite not running on the default port 443. The port needs to be included in the `_APP_DOMAIN_TARGET` variable. Update the domain target to include the port number where Appwrite is running. This should resolve the 404 error.
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