{"action":"created","issue":{"url":"https://api.github.com/repos/JonnyWong16/plexpy/issues/1103","repository_url":"https://api.github.com/repos/JonnyWong16/plexpy","labels_url":"https://api.github.com/repos/JonnyWong16/plexpy/issues/1103/labels{/name}","comments_url":"https://api.github.com/repos/JonnyWong16/plexpy/issues/1103/comments","events_url":"https://api.github.com/repos/JonnyWong16/plexpy/issues/1103/events","html_url":"https://github.com/JonnyWong16/plexpy/issues/1103","id":253973720,"number":1103,"title":"PlexPy does not correcly detect source IPv6 in X-Forwarded-For header","user":{"login":"scream88","id":12324196,"avatar_url":"https://avatars1.githubusercontent.com/u/12324196?v=4","gravatar_id":"","url":"https://api.github.com/users/scream88","html_url":"https://github.com/scream88","followers_url":"https://api.github.com/users/scream88/followers","following_url":"https://api.github.com/users/scream88/following{/other_user}","gists_url":"https://api.github.com/users/scream88/gists{/gist_id}","starred_url":"https://api.github.com/users/scream88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scream88/subscriptions","organizations_url":"https://api.github.com/users/scream88/orgs","repos_url":"https://api.github.com/users/scream88/repos","events_url":"https://api.github.com/users/scream88/events{/privacy}","received_events_url":"https://api.github.com/users/scream88/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-30T12:02:06Z","updated_at":"2017-08-30T13:44:18Z","closed_at":"2017-08-30T13:44:18Z","author_association":"NONE","body":"**Version:**\r\nVERSION 1.4.22\r\n\r\n**Branch:**\r\nmaster\r\n\r\n**Commit hash:**\r\nec685407bbd4924b7c94c2dab2f1754089e77322\r\n\r\n**Operating system:**\r\nUbuntu 16.04 LTS\r\n\r\n**Python version:**\r\n2.7.13 (default, Apr 20 2017, 12:13:37) [GCC 6.3.0]\r\n\r\n**What you did?**\r\nMy PlexPy runs behind a traefik rproxy. The PlexPy backend has a internal ipv4 address.\r\n\r\nClient (Internet, ipv6) -> traefik (frontend, ipv6) -> traefik (backend, ipv4 10.x.x.x) -> plexpy (ipv4 10.x.x.y).\r\n\r\n**What happened?**\r\nConfiguration is working without any functional issue. If a client connects over ipv6 under \"ACTIVITY\" it shows the internal ipv4 address (10.x.x.x) and does not show the ipv6 address that is delivered in the x-forwarded-for header.\r\n\r\n**What you expected?**\r\nShow ipv6 address in ACTIVITY section."},"comment":{"url":"https://api.github.com/repos/JonnyWong16/plexpy/issues/comments/325994447","html_url":"https://github.com/JonnyWong16/plexpy/issues/1103#issuecomment-325994447","issue_url":"https://api.github.com/repos/JonnyWong16/plexpy/issues/1103","id":325994447,"user":{"login":"JonnyWong16","id":9099342,"avatar_url":"https://avatars1.githubusercontent.com/u/9099342?v=4","gravatar_id":"","url":"https://api.github.com/users/JonnyWong16","html_url":"https://github.com/JonnyWong16","followers_url":"https://api.github.com/users/JonnyWong16/followers","following_url":"https://api.github.com/users/JonnyWong16/following{/other_user}","gists_url":"https://api.github.com/users/JonnyWong16/gists{/gist_id}","starred_url":"https://api.github.com/users/JonnyWong16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonnyWong16/subscriptions","organizations_url":"https://api.github.com/users/JonnyWong16/orgs","repos_url":"https://api.github.com/users/JonnyWong16/repos","events_url":"https://api.github.com/users/JonnyWong16/events{/privacy}","received_events_url":"https://api.github.com/users/JonnyWong16/received_events","type":"User","site_admin":false},"created_at":"2017-08-30T13:44:18Z","updated_at":"2017-08-30T13:44:18Z","author_association":"OWNER","body":"PlexPy does not read any IP addresses, it only displays what the Plex server is reporting through the API. \r\n\r\nThere is nothing I can do. It had to be resolved by Plex.\r\n\r\nhttps://forums.plex.tv/discussion/254026/plex-api-sessions-status-not-honoring-x-forwarded-for-x-real-ip-with-ipv6-clients"}}
{"actor":{"display_login":"JonnyWong16"}}