Dysphoria
Member
Hi there,
I have some trouble, setting up a new site. When logging in with my user, XF will throw this error message:
The installation is running with nginx + php-fpm behind haproxy. Therefore I verified already that php is able to see the correct client ip.
I added this to index.php for debuging purpose.
Do you have any idea where this error message is coming from? Important note maybe, this is not a fresh installation, but an import from an existing installation on a new server.
XF Version:
| XF version : 2030470 (2.3.4)
| Last upgrade: 2030470 (2025-01-04)
I have some trouble, setting up a new site. When logging in with my user, XF will throw this error message:
Code:
InvalidArgumentException: Invalid binary IP: in src/XF/Util/Ip.php at line 35
XF\Util\Ip::binaryToString() in src/XF/Session/Session.php at line 254
XF\Session\Session->regenerate() in src/XF/Session/Session.php at line 274
XF\Session\Session->changeUser() in src/XF/ControllerPlugin/LoginPlugin.php at line 210
XF\ControllerPlugin\LoginPlugin->completeLogin() in src/addons/xenMade/AED/XF/ControllerPlugin/Login.php at line 12
xenMade\AED\XF\ControllerPlugin\Login->completeLogin() in src/XF/Pub/Controller/LoginController.php at line 165
XF\Pub\Controller\LoginController->actionLogin() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2826
XF\App->run() in src/XF.php at line 806
XF::runApp() in index.php at line 23
The installation is running with nginx + php-fpm behind haproxy. Therefore I verified already that php is able to see the correct client ip.
I added this to index.php for debuging purpose.
Code:
$debug_info = [
'REMOTE_ADDR' => $_SERVER['REMOTE_ADDR'] ?? 'not set',
'HTTP_X_FORWARDED_FOR' => $_SERVER['HTTP_X_FORWARDED_FOR'] ?? 'not set',
'HTTP_X_REAL_IP' => $_SERVER['HTTP_X_REAL_IP'] ?? 'not set',
'HTTP_X_FORWARDED_PROTO' => $_SERVER['HTTP_X_FORWARDED_PROTO'] ?? 'not set'
];
error_log("XenForo IP Debug: " . json_encode($debug_info));
Do you have any idea where this error message is coming from? Important note maybe, this is not a fresh installation, but an import from an existing installation on a new server.
XF Version:
| XF version : 2030470 (2.3.4)
| Last upgrade: 2030470 (2025-01-04)