# HUNT Workbench troubleshooting

Unfortunately, things don't always work as intended. Here is a collection of known issues that you might encounter in your HUNT Workbench. Contact us if you are still stuck after reading up.


See our HUNT Workbench FAQ for general questions, and our Immediate troubleshooting for issues during your first installation.

# Access

# Unable to access HUNT Workbench applications

If you were previously able to access your applications (such as RStudio), and then the application suddenly stopped working, one quick approach is to check your available diskspace with following command:

df -h /mnt/work

If you have enough resources, try restarting your HUNT Workbench environment. Follow this guide to restart your workbench.

If this does not help, you may have a look at our FAQ or Troubleshooting sections. Contact us on email or reach out in your lab channel on Slack for further investigation if this does not help.

# 400: Bad request - Firefox

Try with Chrome or check troubleshooting guide for Firefox in your Lab access link to install HUNT Cloud CA certificate.

# 403: Forbidden - Expired client certificate

Your HUNT Workbench certificate is time limited. You will meet the 403 Forbidden message when your certificate expire (example image below). Head over our do science service desk to order a certificate reissue.


# 403: Forbidden - oauth state does not match

Try to logout and login again. If logging in does not help, try different browser. We usually recommend Chrome, but here it is important to confirm whether it works in different browser. If this issue appear in all do not hesitate to reach out in your lab channel on Slack and remember to specify the error message oauth state does not match.


# 404: Page Not Found Error

Your workbench stopped working for no apparent reason and you are printed the NTNU logo with error 404 error? Follow the link to your control panel. Click on the red button to stop your sever, this may take some time. Click on the green/blue button to launch your server again, this may also take some time. Reach out to us on Slack or email if the problem is not resolved.

# 500: Internal Server Error - RStudio

If you are a fast clicker and get to an app before it's initialized in the background you might get the following error message:

500: Internal Server Error
Could not start rstudio in time

Try reloading the page (Ctrl + R / CMD + R) to reconnect with your RStudio session. Contact us if the error message persists.

# 502: Bad gateway

Reach out to us on Slack or email if you get the 502 error while trying to login to your HUNT Workbench. In such a case we may need to investigate potential causes on our end.

# 504: Gateway Timeout Error - RStudio

# Solution 1

The 504 error may be shown when you access /user/<username>/rstudio/ but RStudio fails to start. If you were previously able to access your RStudio in HUNT Workbench it is possible that RStudio saved more data in your environment files than it is able to load into memory.

One potential approach is to (1) first utilize your workbench terminal to manually resetting your RStudio settings:

mv "/mnt/work/workbench/${USER}/.local/share/rstudio" "/mnt/work/workbench/${USER}/.local/share/rstudio-$(date +%Y-%m-%d)"

And then (2) restart your HUNT Workbench environment. If the error still persists, don't hesitate to reach out in your lab channel on Slack or contact us for further assistance.

# Solution 2

Other potential issue might be full disk space in your work directory. You can check your disk space using following command:

df -h /mnt/work

# 504: Gateway Timeout Error

Reach out to us on Slack or email if you get the 504 error while trying to login to your HUNT Workbench. In such a case we may need to investigate potential causes on our end.

# Your connection is not private

If you were previously able to access your HUNT Workbench and your browser suddenly reports expired/unsafe certificates, e.g.: Your connection is not private or ERR_CERT_DATE_INVALID, contact us in your lab channel on Slack or contact us on email. We need to sign a new lab certificate and update the service.


If your disk space is full, discuss with your lab leader/coordinator if you should cleanup your disk space, or order a volume extension in Service Desk


# Error - 'matlab' executable not found in PATH

Access to MATLAB requires the application to be installed and activated in your lab.

If you click on the MATLAB icon and the application is missing you will meet a red error box stating that "matlab executable not found in PATH".

Contact your lab coordinator to investigate your licensing options and contact us in Slack or email us with your installation request.

NTNU users

NTNU holds licenses for all employees and students, so contact us if you want MATLAB in your lab.

# Icons in user interface disappeared

You will need to reset your user settings if the MATLAB icons disappeared and your application is stuck loading. Removing user settings can be done in your workbench terminal:

ls /mnt/work/workbench/$USER/.matlab
rm -r /mnt/work/workbench/$USER/.matlab

# Missing toolboxes

You will most likely not be able to install these yourself. Contact us on Slack or email if you need new toolboxes in your MATLAB installation.

# Experience

# Unresponsive environment

An unresponsive or slow HUNT Workbench may be caused by several things. Here's a small checklist to narrow down potential causes:

  • Use Google Chrome as your browser. Other browsers don't support all features and might cause potential silent failures.
  • Restart your HUNT Workbench environment to start fresh in the case something got hung up. Click here to see how.
  • Check the resource consumption on your home-machine to ensure that you have available free CPU and memory resources, for example in HTOP (see below).
# Check your resources

One way to check your resource consumption is to log into your lab home-machine and run HTOP. Consider to upgrade the machine size in the administer science Service desk if you are low on free resources.

Contact us for further investigation if none of these works.

# Need help

Did not find a solution to your problem?

Last Updated: 4/25/2024