IP Camera does not work after new install

Camera model
Blue Iris/Foscam/Amcrest IP3M

What is the problem?
Will not display stream. Gives Webcam stream not loaded error

What did you already try to solve it?
I have tried 3 different camera feeds. This is ip camera, NOT usbcam or raspicam. I have working URL's that work fine in the browser. In octoprint where the camera should be the error image even shows the url with "Currently configured stream URL:". I can click on this and a new tab comes on with the stream working. I have been using this in octoprint for years. (5+) but downloaded the most recent octopi and installed new. Can not get them to work.

Logs (/var/log/webcamd.log, syslog, dmesg, ... no logs, no support)
I would be happy to get anything from any log but currently have not been able to find anything relevant. webcamd.log appears to only have something to do with raspicam or usbcam, nothing about ip cam or my url does not appear in any of the logs.

Additional information about your setup (OctoPrint version, OctoPi version, ...)
OctoPrint : 1.5.3
OctoPi 0.18.0

this is the curl output from the pi.

curl -v http://192.168.0.133:81/mjpg/mk3s/video.mjpg

  • Expire in 0 ms for 6 (transfer 0x1e788a0)
  • Trying 192.168.0.133...
  • TCP_NODELAY set
  • Expire in 200 ms for 4 (transfer 0x1e788a0)
  • Connected to 192.168.0.133 (192.168.0.133) port 81 (#0)

GET /mjpg/mk3s/video.mjpg HTTP/1.1
Host: 192.168.0.133:81
User-Agent: curl/7.64.0
Accept: /

  • HTTP 1.0, assume close after body
    < HTTP/1.0 200 OK
    < Server: BlueServer/5.3.9.13
    < Date: Fri, 05 Mar 2021 03:05:02 GMT
    < P3P: CP="CAO COR CURa ADMa DEVa OUR IND ONL COM DEM PRE"
    < Access-Control-Allow-Origin: *
    < Set-Cookie: session=05bf658b6df86f05279d2e5b338635dd; path=/
    < Connection: close
    < Cache-Control: no-cache, no-store
    < Content-Type: multipart/x-mixed-replace;boundary===STILLIMAGEBOUNDARY==
    <
    Warning: Binary output can mess up your terminal. Use "--output -" to tell
    Warning: curl to output it to your terminal anyway, or consider "--output
    Warning: " to save to a file.
  • Failed writing body (0 != 1096)
  • Closing connection 0

Well this is crazy. Not sure if this was the problem or not. I found some obscure post that said there was an issue if you had not configured and connected to your printer yet. Not sure how the two would be connected but I moved on and setup the printer and and confirmed I was reading the SD/etc. The per prusa instructions I loaded IpOnConnect plugin. After that the interface reloaded and the camera started working.