Closed rishdang closed 6 years ago
There is nothing in misp log about 500 error can you searxh it?
I am sorry, my bad. Forgot to attach apache logs, here they are.
X.Y.Z.A - - [08/Sep/2018:16:32:43 +0000] "GET /servers/getVersion.json HTTP/1.1" 200 3052 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:43 +0000] "GET /attributes/describeTypes.json HTTP/1.1" 200 20685 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:43 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:43 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:43 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:43 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:43 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:44 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:44 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:44 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:44 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:49 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:50 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:50 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:50 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:50 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:50 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:50 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:50 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:50 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:51 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:51 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:51 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:51 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:51 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:51 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:52 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:52 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:52 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:52 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:32:52 +0000] "POST /events/restSearch/download HTTP/1.1" 500 3377 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:34:33 +0000] "GET /servers/getVersion.json HTTP/1.1" 200 3052 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:34:33 +0000] "GET /attributes/describeTypes.json HTTP/1.1" 200 20685 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:34:33 +0000] "POST /events HTTP/1.1" 200 4103 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:34:33 +0000] "POST /events/upload_sample HTTP/1.1" 400 3650 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:34:34 +0000] "POST /events/2963 HTTP/1.1" 200 6445 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:34:34 +0000] "POST /events/2963 HTTP/1.1" 200 6445 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:34:34 +0000] "POST /events/2963 HTTP/1.1" 200 7156 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:34:35 +0000] "POST /events/2963 HTTP/1.1" 200 8600 "-" "PyMISP 2.4.54 - Python 2.7.9"
X.Y.Z.A - - [08/Sep/2018:16:34:35 +0000] "POST /events/2963 HTTP/1.1" 200 10669 "-" "PyMISP 2.4.54 - Python 2.7.9"
Here are additional logs from MISP instance, looks more like a CakePHP / MISP error. Any ideas?
/var/www/MISP/app/tmp/logs/error.log
2018-09-08 16:32:43 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:43 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:43 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:43 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:44 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:44 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:44 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:44 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:44 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:49 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:50 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:50 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:50 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:50 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:50 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:50 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:50 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:51 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:51 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:51 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:51 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:51 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:51 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:51 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:52 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:52 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:52 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:52 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:32:52 Error: [Error] Class 'MethodNotFoundException' not found
Request URL: /events/restSearch/download
Stack Trace:
#0 [internal function]: EventsController->restSearch('download')
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
2018-09-08 16:34:34 Error: [BadRequestException] Distribution level 5 is not supported when uploading a sample without passing an event ID. Distribution level 5 is meant to take on the distribution level of an existing event.
Request URL: /events/upload_sample
Stack Trace:
#0 [internal function]: EventsController->upload_sample()
#1 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(491): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#2 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#3 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#4 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#5 {main}
No idea i dont use it anymore, but as clue chexk the api endpoints in your pymisp and latest misp, could be that
Ah okay, let me check that, will come back on this.
Checked it, though API endpoints are same, PyMISP versions are different (2.4.54 is supported by cuckoo, while the MISP is running 2.5.91), will share some more inputs.
This is resolved, upgraded to MISP 2.4.95, API endpoints have changed.
Thanks for your support.
Cuckoo is unable to fetch results from MISP, but is able to submit the results.
Cuckoo Version 2.0.6 running on Debian 8, MISP version v2.4.94 running on Debian 8
This can be reproduced by: Simply running an analysis
I can see that authentication to MISP via API is happening correctly, but MISP is throwing error 500 when results are being posted to MISP instance for IOC. Also, I couldn't help but notice that only POST requests were sent by cuckoo and no reverse connection was established by MISP in response to IOC searches, although
The processing.conf & reporting.conf configuration section for MISP looks like this -
Can you please guide on how to correctly fetch IOC results from MISP? I did looked at https://blog.rootshell.be/2017/01/25/quick-integration-misp-cuckoo/ for an integration primer through patched cuckoo files, but was unsure if it may lead to some regression or compatibility issues.
##### LOGS ######
Cuckoo Error Logs
MISP Error Logs