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
AddressValueError: Expected 4 octets in '11.22.33.44,55.66.77.88'
File "django/core/validators.py", line 302, in validate_ipv4_address
ipaddress.IPv4Address(value)
File "ipaddress.py", line 1308, in __init__
self._ip = self._ip_int_from_string(addr_str)
File "ipaddress.py", line 1195, in _ip_int_from_string
raise AddressValueError("Expected 4 octets in %r" % ip_str)
Sentry shows the first IP as real one
The second one, probably some proxy or something, not sure.
This happens infrequently.
I've searched for similar issues in this repository.
Steps to reproduce the behavior
Set up Sentry. Get alerts.
Expected behavior
No exception.
Screenshots
No response
Exception traceback
AddressValueError: Expected 4 octets in '11.22.33.44,55.66.77.88'
File "django/core/validators.py", line 302, in validate_ipv4_address
ipaddress.IPv4Address(value)
File "ipaddress.py", line 1308, in __init__self._ip =self._ip_int_from_string(addr_str)
File "ipaddress.py", line 1195, in _ip_int_from_stringraise AddressValueError("Expected 4 octets in %r"% ip_str)
ValidationError: ['Enter a valid IPv4 address.']
File "django/core/validators.py", line 328, in validate_ipv46_address
validate_ipv4_address(value)
File "django/core/validators.py", line 304, in validate_ipv4_addressraise ValidationError(
ValidationError: ['Enter a valid IPv6 address.']
File "django/core/validators.py", line 331, in validate_ipv46_address
validate_ipv6_address(value)
File "django/core/validators.py", line 321, in validate_ipv6_addressraise ValidationError(
ValidationError: ['Enter a valid IPv4 or IPv6 address.']
File "weblate/middleware.py", line 67, in __call__
validate_ipv46_address(address)
File "django/core/validators.py", line 333, in validate_ipv46_addressraise ValidationError(
This is the actual error emailed by Sentry to me.
The setup is cloudflare > nginx on host (ssl termination) > weblate in docker.
If there was something wrong with it, I'd get such alerts all the time, no? This happens once a week or so.
Describe the issue
An exception:
(actual IP addresses redacted)
Sentry shows the first IP as real one
The second one, probably some proxy or something, not sure.
This happens infrequently.
I already tried
Steps to reproduce the behavior
Set up Sentry. Get alerts.
Expected behavior
No exception.
Screenshots
No response
Exception traceback
Additional context
No response
The text was updated successfully, but these errors were encountered: