Of late after an upgrade I’ve seen a whole bunch of errors in the logs like
ActionDispatch::RemoteIp::IpSpoofAttackError (IP spoofing attack?! HTTP_CLIENT_IP="22.214.171.124" HTTP_X_FORWARDED_FOR="126.96.36.199, 188.8.131.52") /var/www/discourse/vendor/bundle/ruby/2.3.0/gems/actionpack-4.2.9/lib/action_dispatch/middleware/remote_ip.rb:125:in 'calculate_ip'
I couldn’t find anything on the discussion forum so I googled it and found this:
Am wondering if cellphone users are being impacted by this Rails IP check and if there’s some way to turn it off for discourse?