v2.0.1 removes the deprecated get_ipaddr method. get_ip_from_headerget_remote_address has to be used instead or the service fails to start with the following error message:
Traceback (most recent call last):
File "/usr/local/bin/matrix-registration", line 5, in <module>
from matrix_registration.app import cli
File "/usr/local/lib/python3.8/site-packages/matrix_registration/app.py", line 9, in <module>
from flask_limiter.util import get_ipaddr
ImportError: cannot import name 'get_ipaddr' from 'flask_limiter.util' (/usr/local/lib/python3.8/site-packages/flask_limiter/util.py)
v2.0.1 removes the deprecated
get_ipaddr
method.get_ip_from_header
get_remote_address
has to be used instead or the service fails to start with the following error message: