Skip to content

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

@jowilsonfo

Description

@jowilsonfo

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}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions