Skip to content

___netlify-handler logs multiple GET / a second #1298

Answered by kamerat
kamerat asked this question in Q&A
Discussion options

You must be logged in to vote

TL;DR: We had Azure health propes scanning our site multiple times a second

I finally found the issue. I thought it was the middleware that was causing this. I suddenly got a mail from netlify today again saying we've used up 70% of our 2mill function requests. Since we did not have middleware anymore, I had to go back to see what build caused these logs. It seems it was after I made changes to our root making it SSR instead of static.

After some good debugging with a colleauge, we saw that the requests all came from Microsoft IPs. We also got the headers and eureka!
- The user-agent was "Edge Health Probe"

We had some Azure Front Door things setup for some redirects. With theese, we also…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@ascorbic
Comment options

@kamerat
Comment options

Comment options

You must be logged in to vote
1 reply
@ascorbic
Comment options

Answer selected by kamerat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants