Troubleshoot connectivity issues using the Diagnostic Report

Your webcam is streamed in 2 distinct places: one in the OctoPrint; the other in The Spaghetti Detective. When you have a problem with webcam streaming, the first step is to figure out which one is having issues.

Thanks to the wonderfully unreliable nature of the internet, The Spaghetti Detective plugin has to do a lot of work to make sure everything still functions correctly given occasional connectivity issues.

However, there are times when the connectivity issues are excessive to a point that they start to cause problems in The Detective. The Diagnostic Report is a tool we built to help you troubleshoot and fix the issues. 

Understand the Diagnostic Report

The Diagnostic Report may look like the image shown:

Depending on whether or not there have been errors, there may be up to 2 parts in the report:

  1. This part displays the issues related to the connection to The Spaghetti Detective servers. This part will be missing if there have been no server connection errors since the restart of OctoPrint.

  2. This part displays the issues related to the connection to your webcam. This part will be missing if there have been no webcam errors since the restart of OctoPrint.

How to assess the server connectivity issues

 How to assess the server connectivity issues

For the server connectivity issues (in part 1), these numbers are important:

  • Error rate. This number indicates how often the plugin fails to connect to The Spaghetti Detective servers. If this number is above 10%, your Raspberry Pi may not have a robust enough connection to the internet.

  • The timestamp of the most recent error. If this timestamp was a while ago, it probably means there was a period of time when your Raspberry Pi had a problem with the internet connection but it's fine now. However, if this timestamp was very recent, such as a few minutes or even seconds ago, your Raspberry Pi is probably having difficulties connecting to the internet right at this moment.

When the error rate is too high or the most recent error was just now, it's likely that you will see a "Your OctoPrint is offline" message on The Spaghetti Detective page. If that's the case, figure out the internet connection issue of your Raspberry Pi first.

How to assess the webcam connectivity issues

In most cases, your webcam is connected to the Raspberry Pi or is on the same WiFi network. So it should rarely fail. If you are seeing any errors here, it's most likely caused by the misconfigured webcam settings in OctoPrint.

Follow these steps to figure out the configuration problem and fix it.

0%
0%