Simulate A Crash
We can simulate errors with Vector using the console!
- Open up the firewall to provide access to the
vic-enginewebserver if you haven't already. To do this quicklyssh -L 8888:localhost:8888 root@ - Refer to the page for a list of available functions. In this case we'll use
IntentionalAbortto simulate a software crash and verify that Vector will do a soft reboot.You issue the command in directly from your web browser but most professional developers would use a CLI tool like
curlorwget. On your computer, and NOT the Vector ssh session:curl "http://localhost:8888/consolefunccall?func=IntentionalAbort"