MS Webhook getting Cached

I have a web app that receives a webhook from Microsoft when a user's Teams presence updates. I need to see this on the server so I can execute other functions, but Cloudflare is caching the POST request from Microsoft about 80% of the time. I added a page rule and a cache rule about 24 hours ago, but I am still experiencing the same issue. Any idea what I can do to stop this? This is the cache rule set to bypass. When I "simulate a request trace" on the endpoint, I see that it does hit both the page rule and the cache rule: (http.request.uri.path eq "/presence/notifications/")
7 Replies
Smiddy
SmiddyOP2mo ago
? it is, i can see it in the logs
No description
Smiddy
SmiddyOP2mo ago
Its not being served by the Origin, i am also not seeing the request on the server and when, I can also see the "server by Cloudflare go up when i don not see the request on the server
No description
Idle
Idle2mo ago
maybe check your event logs and see what happens to the request
Smiddy
SmiddyOP2mo ago
No description
Smiddy
SmiddyOP2mo ago
when i use POST man to hit the endpoint, 20ms response, I'm sure CF is stopping the traffic getting to the server, when dev and using ngrok it solid no issues
No description
Idle
Idle2mo ago
client closed means client closed not server closed
Smiddy
SmiddyOP2mo ago
Yeah i expect it because it not getting the response it is expecting from the server is my thought but it is never offered, I dont see the request in my logs

Did you find this page helpful?