Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

502 Gateway Timeout issue when browsing to /users/statistics #9736

Open
acm5708 opened this issue Sep 8, 2023 · 0 comments
Open

502 Gateway Timeout issue when browsing to /users/statistics #9736

acm5708 opened this issue Sep 8, 2023 · 0 comments

Comments

@acm5708
Copy link

acm5708 commented Sep 8, 2023

When trying to browse to /users/statistics MISP appears to fail and throw a 502 Gateway timeout error. All timeouts and max execution time values have been increased along with the services restarted and no change has occurred. According to my error.log file it appears to be PHP related (see error below):

2023-09-08 15:33:08 Warning: Warning (2): array_key_exists() expects parameter 2 to be array, null given in [/var/www/MISP/app/View/Elements/genericElements/Form/Fields/pullRulesField.ctp, line 13]
Trace:
ErrorHandler::handleError() - APP/Lib/cakephp/lib/Cake/Error/ErrorHandler.php, line 230
include - APP/View/Elements/genericElements/Form/Fields/pullRulesField.ctp, line 13
View::_evaluate() - APP/Lib/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Lib/cakephp/lib/Cake/View/View.php, line 933
View::_renderElement() - APP/Lib/cakephp/lib/Cake/View/View.php, line 1224
View::element() - APP/Lib/cakephp/lib/Cake/View/View.php, line 418
include - APP/View/Elements/genericElements/Form/fieldScaffold.ctp, line 68
View::_evaluate() - APP/Lib/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Lib/cakephp/lib/Cake/View/View.php, line 933
View::_renderElement() - APP/Lib/cakephp/lib/Cake/View/View.php, line 1224
View::element() - APP/Lib/cakephp/lib/Cake/View/View.php, line 418
include - APP/View/Elements/genericElements/Form/genericForm.ctp, line 59
View::_evaluate() - APP/Lib/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Lib/cakephp/lib/Cake/View/View.php, line 933
View::_renderElement() - APP/Lib/cakephp/lib/Cake/View/View.php, line 1224
View::element() - APP/Lib/cakephp/lib/Cake/View/View.php, line 418
include - APP/View/Feeds/add.ctp, line 175
View::_evaluate() - APP/Lib/cakephp/lib/Cake/View/View.php, line 971
View::_render() - APP/Lib/cakephp/lib/Cake/View/View.php, line 933
View::render() - APP/Lib/cakephp/lib/Cake/View/View.php, line 473
Controller::render() - APP/Lib/cakephp/lib/Cake/Controller/Controller.php, line 968
FeedsController::edit() - APP/Controller/FeedsController.php, line 476
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - APP/Lib/cakephp/lib/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - APP/Lib/cakephp/lib/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - APP/Lib/cakephp/lib/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 99

Following the error info, within pullRulesField.ctp the "$pullRules" variable is returning NULL instead of data.

I am out of ideas. Anyone have any thoughts?

@adulau adulau transferred this issue from MISP/misp-modules May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant