Twitch-cli EventSub test passes but API responds webhook callback verification failed

Twitch will make a call to you. (or anyone loading the webpage/website)

This will then appear in the nginx access logs.
Nginx they will pass the request over to your c script handler.
And then the C Script can log the request attempt as well.

I’m asking if NGINX is seeing Twitch calling your server.

You mentioned that you were using Cloudflare (over on github), if you changed this to make cloudflare Just pass the request over, cloudflare may still be blocking the request Twitch makes, as it erroneously things Twitch is a “bad script/bot”

So I’m asking if you are seeing anything in your NGINX access log, to confirm that NGINX got the hit and it wasn’t blocked by Cloudflare or other firewall type software.

If NGINX saw it, but your script did not then you need to solve why NGINX didn’t pass the request to your script.

So this reads to me as

  • yes nginx saw a POST request from Twitch
  • my script did not see a POST request from Twitch.

So this would suggest a NGINX misconfiguration