Active Session IP address is incorrect

Summary

The IP address in the Active Sessions area is incorrect and changes on page refresh.

I have seen this behaviour using a mobile hotspot and also with a connection with a static IP.

Steps to reproduce

  1. Go to https://gitlab.com/profile/active_sessions
  2. Note that the IP address for your active session is incorrect
  3. Refresh the page
  4. The IP address has changed to another incorrect value

What is the current bug behavior?

The IP address of the active session is incorrect, and changes when the page is refreshed.

What is the expected correct behavior?

The IP address of the current session should reflect the current IP address used to access gitlab.com

Relevant logs and/or screenshots

Here is a screen recording of the IP address changing on refresh:

https://files.cyykratahk.com/gitlab-active-sessions-ip-changing.mp4

Output of checks

This bug happens on GitLab.com