Help! USB connection issues with Octoprint 1.4 and MP10

I just got a new Monoprice MP10 printer. I’m using Octoprint 1.4 on an Ubuntu laptop stationed nearby. I can connect to the printer and move the head but I have the following problems

  1. When I try to start a print, I get a lot of disconnection errors and the prints fail. I have successfully printed from gcode files on the SD card

  2. When I try to upload gcode from the interface to the SD card it fails and leaves a 0 byte file on the SD card.

I have had success with a M3D micro printer using the same octoprint setup, never had USB connection failures like this.

What did you already try to solve it?
I've swapped cables, power cycled the printer, turned the wifi on and off.

Logs

octoprint.log

2020-06-09 19:04:22,113 - octoprint.server - INFO - --- Log roll over detected ---------------------------------------------------
2020-06-09 19:04:22,114 - octoprint.server - INFO - OctoPrint 1.4.0
2020-06-09 19:04:22,116 - octoprint.plugin.core - INFO - 21 plugin(s) registered with the system:
|  Action Command Prompt Support (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/announcements
|  Anonymous Usage Tracking (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/backup
|  Core Wizard (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/corewizard
|  CuraEngine Legacy (1.1.0) = /home/shared/OctoPrint/venv2/local/lib/python2.7/site-packages/octoprint_curalegacy
|  Discovery (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/discovery
|  Error Tracking (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/errortracking
|  GitFiles (1.1.5) = /home/shared/OctoPrint/venv2/local/lib/python2.7/site-packages/octoprint_gitfiles
|  Logging (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/logging
|  Login UI (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/loginui
| !M33 Fio (1.22) = /home/shared/OctoPrint/venv2/local/lib/python2.7/site-packages/octoprint_m33fio
| !Malyan/Monoprice Connection Fix (0.1.3) = /home/shared/OctoPrint/venv2/local/lib/python2.7/site-packages/octoprint_malyan_connection_fix
|  Octoslack (2.0.0) = /home/shared/OctoPrint/venv2/local/lib/python2.7/site-packages/octoprint_Octoslack
|  Plugin Manager (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
|  Printer Safety Check (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
| !Slack (0.2.3) = /home/shared/OctoPrint/venv2/local/lib/python2.7/site-packages/octoprint_slack
|  Software Update (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
|  Tempsgraph Plugin (0.3.6) = /home/shared/OctoPrint/venv2/local/lib/python2.7/site-packages/octoprint_tempsgraph
|  Virtual Printer (bundled) = /home/shared/OctoPrint/venv2/lib/python2.7/site-packages/octoprint/plugins/virtual_printer
Prefix legend: ! = disabled, # = blacklisted, * = incompatible
2020-06-09 19:04:22,124 - octoprint.environment - INFO - Detected environment is Python 2.7.17 under Linux (linux2). Details:
|  hardware:
|      cores: 2
|      freq: 2401.0
|      ram: 3955765248
|  os:
|      id: linux
|      platform: linux2
|  python:
|      pip: 20.1.1
|      version: 2.7.17
|      virtualenv: /home/shared/OctoPrint/venv2

serial.log

2020-06-08 16:36:39,060 - Recv:  T:186.37 /190.00 B:59.08 /65.00 @:55 B@:127
2020-06-08 16:36:41,059 - Recv:  T:186.70 /190.00 B:59.28 /65.00 @:51 B@:127
2020-06-08 16:36:43,056 - Recv:  T:186.57 /190.00 B:59.29 /65.00 @:54 B@:127
2020-06-08 16:36:45,059 - Recv:  T:186.68 /190.00 B:60.01 /65.00 @:53 B@:127
2020-06-08 16:36:47,057 - Recv:  T:186.85 /190.00 B:60.41 /65.00 @:51 B@:127
2020-06-08 16:36:49,063 - Recv:  T:186.77 /190.00 B:60.42 /65.00 @:53 B@:127
2020-06-08 16:36:51,059 - Recv:  T:186.82 /190.00 B:60.96 /65.00 @:52 B@:127
2020-06-08 16:38:13,186 - Changing monitoring state from "Operational" to "Starting"
2020-06-08 16:38:13,229 - Send: N0 M110 N0*125
2020-06-08 16:38:23,111 - Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
2020-06-08 16:38:23,116 - Send: N1 M105*38
2020-06-08 16:38:53,143 - Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
2020-06-08 16:38:53,151 - Send: N2 M105*37
2020-06-08 16:39:23,181 - Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
2020-06-08 16:39:23,188 - Send: N3 M105*36
2020-06-08 16:39:53,211 - Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
2020-06-08 16:39:53,217 - Send: N4 M105*35
2020-06-08 16:40:23,243 - Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
2020-06-08 16:40:23,249 - Send: N5 M105*34
2020-06-08 16:40:53,279 - No response from printer after 8 consecutive communication timeouts, considering it dead. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
2020-06-08 16:40:53,329 - Changing monitoring state from "Starting" to "Offline (Error: Too many consecutive timeouts, printer still connected and alive?)"
2020-06-08 16:40:53,332 - Connection closed, closing down monitor
2020-06-09 19:42:54,356 - Connecting to: /dev/ttyACM0
2020-06-09 19:42:54,383 - Changing monitoring state from "Offline" to "Opening serial port"
2020-06-09 19:42:54,385 - Connected to: Serial<id=0x7f27b8275890, open=True>(port='/dev/ttyACM0', baudrate=19200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2020-06-09 19:42:54,386 - Changing monitoring state from "Opening serial port" to "Connecting"
2020-06-09 19:43:24,414 - There was a timeout while trying to connect to the printer
2020-06-09 19:43:24,436 - Changing monitoring state from "Connecting" to "Offline"
2020-06-09 19:43:24,442 - Connection closed, closing down monitor
2020-06-09 20:01:28,611 - Connecting to: /dev/ttyACM0
2020-06-09 20:01:28,639 - Changing monitoring state from "Offline" to "Opening serial port"
2020-06-09 20:01:28,645 - Connected to: Serial<id=0x7f27b8483c10, open=True>(port='/dev/ttyACM0', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=10.0, xonxoff=False, rtscts=False, dsrdtr=False), starting monitor
2020-06-09 20:01:28,652 - Changing monitoring state from "Opening serial port" to "Connecting"
2020-06-09 20:01:58,686 - There was a timeout while trying to connect to the printer
2020-06-09 20:01:58,710 - Changing monitoring state from "Connecting" to "Offline"
2020-06-09 20:01:58,718 - Connection closed, closing down monitor

My setup

  • Octoprint v 1.4.0
  • Ubutu 18.04
  • Python Virtualenv 2.7
  • Monoprice MP10 printer

You may try this: Malyan/Monoprice Connection Fix

Thanks
I have that plugin -
The problem isn't the initial connection but in maintaining a connection