Hi, as already noted, 'fastly-client-ip' is the header to use. According to this Stackoverflow post [1], the Firebase Cloud Functions docs points to using 'fastly-client-ip' [2].
Google Cloud Platform is a different platform for Cloud Functions which runs in App Engine, see this Stackoverflow post [3]. So if you are using a Firebase Cloud Function then using the 'x-forwarded-for' or 'fastly-client-ip' should be the headers to use. [1] https://stackoverflow.com/a/51850187 [2] https://www.npmjs.com/package/request-ip#how-it-works [3] https://stackoverflow.com/a/37530362 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/03153ef0-f986-4785-bf6d-ac05b0ae1a98%40googlegroups.com.