You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I set the host to :: , the returned IP address (both request.client_ip and request.ip ) is incorrect when accessing via IPv4.
Just like this: ::ffff:127.0.0.1
Is there an existing issue for this?
Describe the bug
When I set the
host
to::
, the returned IP address (bothrequest.client_ip
andrequest.ip
) is incorrect when accessing via IPv4.Just like this:
::ffff:127.0.0.1
Code snippet
Expected Behavior
Returns the correct IPv4 address
How do you run Sanic?
As a script (
app.run
orSanic.serve
)Operating System
Linux
Sanic Version
24.6.0
Additional context
No response
The text was updated successfully, but these errors were encountered: