inet_pton(): Unrecognized address unknown

Permalink
I'm having this message when trying to log in to my site:

inet_pton(): Unrecognized address unknown

I'm running concrete 5.7.2

any ideas, please?

View Replies:
martbase replied on at Permalink Reply
Hi,

I am getting the same error using concrete 5.7.3.1 on some internet connections
inet_pton(): Unrecognized address unknown

Anyone found a solution or work around for this?
concretegp replied on at Permalink Reply
In my case it was a Suricata IDS Policy in our network that wasn't allowing authentication through HTTP, we changed our Apache Server configuration to use HTTPS and it worked.
martbase replied on at Permalink Reply
Found a fix on concrete5's github repository that will be introduced with version 5.7.4 here
https://github.com/concrete5/concrete5-5.7.0/pull/1951...

Some proxies send unknown instead of IP address in headers. #1951

Copied the fixed IPService.php to
/concrete/src/Permission/IPService.php

Website now works without inet_pton() error