Sudden exception based on IP
Permalink
I installed Concrete5 today after being away from the community for some years.
Installation went well. I could play around.
I then login few hours later (same computer, different IP) and gets the attached error.
Any ideas?
Installation went well. I could play around.
I then login few hours later (same computer, different IP) and gets the attached error.
Any ideas?
Hello. Which version of Concrete5 did you install and on which version of PHP are you?
c5 8.3.2 and PHP 7.0.6 CGI
Forgot to mention:
I tried accessing from different IP-addresses.
Disabled and enabled cloudflare
Cleared session cookies.
Same error.
I tried accessing from different IP-addresses.
Disabled and enabled cloudflare
Cleared session cookies.
Same error.
For some reason, the script is unable to determine your IP address and throwing that error. Is there anything on your server or computer that could do that?
Do you know if you're using IPv6 or IPv4 address?
Do you know if you're using IPv6 or IPv4 address?
Connecting via wifi, it's IPv4 and via phone hotspot it's IPv6.
I am using cloudflare, but has had no other problems using my hosting as upstream.
I can try to disable it and see if that helps.
I am using cloudflare, but has had no other problems using my hosting as upstream.
I can try to disable it and see if that helps.
I have discovered that when turning off CloudFlare, it works.
So I guess it's in the interaction between CloudFlare and the hosting provider something goes wrong. However I have a hard time imagining that no other C5 users are on CloudFlare.
So I guess it's in the interaction between CloudFlare and the hosting provider something goes wrong. However I have a hard time imagining that no other C5 users are on CloudFlare.
The core team has a package to deal with cloudflare related session issue. Apparently the idea is cloudflare has to be set as a trusted proxy for c5.
So i guess you could try to set your proxy from the dashboard or maybe try the package that automates it.
https://github.com/concrete5/cloudflare_proxy...
I haven't tried it so no guarantee
So i guess you could try to set your proxy from the dashboard or maybe try the package that automates it.
https://github.com/concrete5/cloudflare_proxy...
I haven't tried it so no guarantee
Alas that one doesn't seem to work.
I download it and install it.
Same error. :/
I download it and install it.
Same error. :/
Perhaps database-based session handling might work.
All of my c5 sites use Cloudflare. However, since they're on shared hosting, the hosting company may have done whatever magic is necessary to make it seamless.
I'm afraid that's the extent of my experience with CDNs and cloudflare.