Slim Error everytime with Packet Capture

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Post Reply
willmax
Posts: 4
Joined: Tue Nov 02, 2021 1:50 pm

Slim Error everytime with Packet Capture

Post by willmax » Tue Nov 02, 2021 1:55 pm

Hello All,

Everytime I go to capture an interface on a device I get a slim error. I am on the newest version of pro. Please see the error below:

Type: ErrorException
Code: 8
Message: Undefined offset: 0
File: /opt/unetlab/html/includes/api_capture.php
Line: 99

#0 /opt/unetlab/html/includes/api_capture.php(99): Slim\Slim::handleErrors(8, 'Undefined offse...', '/opt/unetlab/ht...', 99, Array)
#1 /opt/unetlab/html/api.php(1546): apiCapture(Object(Lab), Array, '1', Array)
#2 /opt/unetlab/html/includes/Slim/Route.php(468): {closure}(Array)
#3 /opt/unetlab/html/includes/Slim/Slim.php(1357): Slim\Route->dispatch()
#4 /opt/unetlab/html/includes/Slim/Middleware/Flash.php(85): Slim\Slim->call()
#5 /opt/unetlab/html/includes/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()
#6 /opt/unetlab/html/includes/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()
#7 /opt/unetlab/html/includes/Slim/Slim.php(1302): Slim\Middleware\PrettyExceptions->call()
#8 /opt/unetlab/html/api.php(2443): Slim\Slim->run()
#9 {main}


Can someone help me?

Thank you.

Uldis (UD)
Posts: 5180
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: Slim Error everytime with Packet Capture

Post by Uldis (UD) » Wed Nov 03, 2021 8:39 am

Dockers are not installed.
EVE Pro require dockers for capture

apt update
apt upgrade
apt install eve-ng-dockers
reboot

willmax
Posts: 4
Joined: Tue Nov 02, 2021 1:50 pm

Re: Slim Error everytime with Packet Capture

Post by willmax » Wed Nov 03, 2021 7:07 pm

Thank you so much, that fixed my issue!!!! Dockers were indeed not installed.

Thanks again.

Post Reply