Invalid input for update_ip_address

A short follow up.
The “fix” I’ve provided above causes some issue like the one described here.

For now we work around this by wrapping this “split” - part into a begin…rescue…end like this:

begin
  ip_port_split = request.ip.split(':')
  ip_only = ip_port_split.first
rescue
  ip_only = request.ip
end

Kind Regards
Sascha

2 Likes