Keep getting 502 Bad Gateway on Webcam

Camera model logitech quickcam pro 9000

What is the problem? Keep getting 502 errors on my webcam stream

What did you already try to solve it? Refresh the stream, changed the usb port the webcam is plugged into

Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)
octoprint.log (1.3 MB)
Additional information about your setup (OctoPrint version, OctoPi version, ...) Octoprint Version 1.4.0.
Version 0.17.0, running on Raspberry Pi 3 Model B Rev 1.2