Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We have seen cases where verify_ip fails on ipv4 vs ipv6 expression of localhost #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maparent
Copy link
Contributor

Eg from our stderr:
ERROR:tornado.general:Attempted to attach to session 7ceo057h (::1) from different IP (127.0.0.1)
ERROR:tornado.general:Attempted to attach to session 60qsy81d (127.0.0.1) from different IP (::1)
I do a simple normalization to the ipv4 version: I'm sure something smarter could be done.
This is at least a way to pinpoint the issue.

ERROR:tornado.general:Attempted to attach to session 7ceo057h (::1) from different IP (127.0.0.1)
ERROR:tornado.general:Attempted to attach to session 60qsy81d (127.0.0.1) from different IP (::1)
Normalize the ipv6 to ipv4 expression of localhost.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant