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

Bug: An Internal Error Has Occurred when access Diagnostics or Report Download pages inside Administration - Server Settings & Maintenance #202

Open
jowilsonfo opened this issue Nov 28, 2024 · 0 comments

Comments

@jowilsonfo
Copy link

Actual behavior
An Internal Error Has Occurred.
Error: An Internal Error Has Occurred. Please try your action again. If the problem persists, please contact administrator.

Expected behavior
Display diagnostics page or Download Report page

Steps to reproduce
Administration - Server Settings & Maintenance - Diagnostics page
Administration - Server Settings & Maintenance - Download Report page

Version
v2.5.2 (33d3907686d1fc41123b7d2fa5b9ad1703121cff)

Operating System
AlmaLinux

Operating System version
Linux 8f627e8fe987 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Wed Sep 11 18:02:00 EDT 2024 x86_64 x86_64 x86_64 GNU/Linux

PHP version
PHP 8.2.13

Browser
Chrome and Edge

Browser version
latest

Relevant log output
I've just upgraded a test instance and trying to access the Administration - Server Settings & Maintenance - Diagnostics page trigger this in error.log

2024-11-28 14:35:27 Error: [Exception] It is not possible convert to string encrypted JSON value.
Request URL: /servers/serverSettings/diagnostics
Stack Trace:
#0 /var/www/MISP/app/Lib/Tools/CurlClient.php(353): EncryptedValue->__toString()
#1 /var/www/MISP/app/Lib/Tools/CurlClient.php(175): CurlClient->generateDefaultOptions()
#2 /var/www/MISP/app/Lib/Tools/SyncTool.php(98): CurlClient->configProxy()
#3 /var/www/MISP/app/Lib/Tools/SyncTool.php(39): SyncTool->createHttpSocket()
#4 /var/www/MISP/app/Model/AppModel.php(3491): SyncTool->setupHttpSocket()
#5 /var/www/MISP/app/Model/Server.php(4313): AppModel->setupHttpSocket()
#6 /var/www/MISP/app/Controller/ServersController.php(1137): Server->getCurrentGitStatus()
#7 [internal function]: ServersController->serverSettings()
#8 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(500): ReflectionMethod->invokeArgs()
#9 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction()
#10 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke()
#11 /var/www/MISP/app/webroot/index.php(107): Dispatcher->dispatch()
#12 {main}

If I try to access the Administration - Server Settings & Maintenance - Download Report page trigger this in error.log

2024-11-28 14:36:22 Error: [Exception] It is not possible convert to string encrypted JSON value.
Request URL: /servers/serverSettings/download
Stack Trace:
#0 /var/www/MISP/app/Lib/Tools/CurlClient.php(353): EncryptedValue->__toString()
#1 /var/www/MISP/app/Lib/Tools/CurlClient.php(175): CurlClient->generateDefaultOptions()
#2 /var/www/MISP/app/Lib/Tools/SyncTool.php(98): CurlClient->configProxy()
#3 /var/www/MISP/app/Lib/Tools/SyncTool.php(39): SyncTool->createHttpSocket()
#4 /var/www/MISP/app/Model/AppModel.php(3491): SyncTool->setupHttpSocket()
#5 /var/www/MISP/app/Model/Server.php(4313): AppModel->setupHttpSocket()
#6 /var/www/MISP/app/Controller/ServersController.php(1137): Server->getCurrentGitStatus()
#7 [internal function]: ServersController->serverSettings()
#8 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(500): ReflectionMethod->invokeArgs()
#9 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction()
#10 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke()
#11 /var/www/MISP/app/webroot/index.php(107): Dispatcher->dispatch()
#12 {main}

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