Unable to get user’s IP properly.
Using Cloudflare’s dns proxy, user access is being sent to the reverse proxy server, and the reverse proxy server is sending it to the actual web server. HTTP_CF_CONNECTING_IP is set, so I can get the user’s IP, and I’ve been using it for several years… It worked normally until yesterday. (I was able to get the user’s IP)
However, from today, the HTTP_CF_CONNECTING_IP value is coming in as an ipv6 value starting with “2a06:98c0”.
If you connect about 10 times, you can get the user’s IP 5 times, but about 5 times, the IP comes in with the above value.
If it’s a problem with the settings, it should be consistently wrong or good, but that doesn’t seem to be the case.
We have not modified any settings or modified any content of the Services. It worked fine until yesterday.
What should I do to get the user’s IP properly?
Are you restoring visitor IP? A quick here will show how to do that. Let us know if that helps.
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.