“An error occurred.”
I got an “an error occurred” message when trying to access the freenas web gui during a backup from another machine.
I was able to get the gui back up and running with out the need for a restart use the following steps to solve this question:
Try running service nginx restart
That should do it.