Back

[SOLVED] Function deploy doesn't work (403 or 500 error)

  • 0
  • Functions
Disk_MTH
20 Nov, 2023, 08:05

Hi, so now the function deploys and runs correctly, but when I commit to the repo branch, the new version does not redeploy automatically, and I don't know why because I followed the Github App setup in appwrite

TL;DR
Title: [SOLVED] Function deploy doesn't work (403 or 500 error) Summary: The user was experiencing issues with function deployment, receiving 403 or 500 errors. They were advised to turn off Cloudflare's under attack mode and disable the CAPTCHA challenge. The problem was resolved and the function now deploys correctly. However, the automatic redeployment upon commit to the repo branch is not functioning as expected. Solution: 1. Turn down Cloudflare's under attack mode and disable the CAPTCHA challenge. 2. Verify that the function deploys and runs correctly. 3. If automatic redeployment upon commit is
Disk_MTH
20 Nov, 2023, 08:06

However, I can clearly see the callback attempt from Github but it is still in

  • 403 when the webhook callback url is proxied by cloudflare
  • 500 when I unproxy the webhook callback url
Disk_MTH
20 Nov, 2023, 08:09

The 2 first triggers are in 403, and the 2 seconds are in 500 :

Disk_MTH
20 Nov, 2023, 08:09

403 response :

Disk_MTH
20 Nov, 2023, 08:10

500 response :

ideclon
20 Nov, 2023, 08:12

This is a CF CAPTCHA challenge. I think you can turn it off in Cloudflare

Disk_MTH
20 Nov, 2023, 08:13

Oh ok I wil try to turn down the under attack mode and retry it

Disk_MTH
20 Nov, 2023, 08:17

works perfectly 👍; Tanks <:ant_BG:945025761058893894>

Disk_MTH
20 Nov, 2023, 08:18

[SOLVED] Function deploy doesn't work (403 or 500 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