Plugins timing out during install



I have octoprint installed on a raspberry pi B +. I have been using it for a few weeks with no problems and have installed a couple plugins like the bed visualizer. Today when I went to install Octolapse I keep getting errors. Has anyone seen this before?plugin_pluginmanager_console (2).log (72.2 KB)


Feels like a Python v2.x versus v3.x sort of thing.


Thanks for the reply. Is there anything I can check? Here is what I see during the startup

2018-07-21 01:53:48,536 - octoprint.plugin.core - INFO - 10 plugin(s) registered with the system:
| Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/announcements
| Core Wizard (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/corewizard
| CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/cura
| Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/discovery
| Logging (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/logging
| OctoPi Support Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/octopi_support
| Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/pluginmanager
| Printer Safety Check (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/printer_safety_check
| Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/octoprint/plugins/virtual_printer


I'd thought that foosel was going to ramp up Python on the 1.3.9x image but I'm probably confused. My 1.3.9rc4 is also using python2.7 like you are.

If I do the following, it now reports v10.0.1 of pip in the virtual environment (which she rev'd up recently).

cd ~/OctoPrint
source venv/bin/activate
pip --version
pip 10.0.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)

It would be interesting to see if you have the same version of pip.


I downgraded mine from 18.0

/home/pi/oprint/bin/python2 -m pip --version
pip 9.0.3 from /home/pi/oprint/local/lib/python2.7/site-packages (python 2.7)


Installing using SSH through Putty shows this

Collecting Pillow (from Octolapse==0.3.1)
Downloading (14.5MB)
43% |█████████████▉ | 6.3MB 47kB/s eta 0:02:56Exception:
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/", line 215, in main
status =, args)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/commands/", line 324, in run
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/req/", line 380, in prepare_files
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/req/", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/", line 821, in unpack_url
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/", line 659, in unpack_http_url
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/", line 882, in _download_http_url
_download_url(resp, link, content_file, hashes)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/", line 603, in _download_url
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/utils/", line 46, in check_against_chunks
for chunk in chunks:
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/", line 571, in written_chunks
for chunk in chunks:
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/utils/", line 139, in iter
for x in it:
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/", line 560, in resp_read
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/urllib3/", line 436, in stream
data =, decode_content=decode_content)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/urllib3/", line 401, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/lib/python2.7/", line 35, in exit
self.gen.throw(type, value, traceback)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/urllib3/", line 316, in _error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
ReadTimeoutError: HTTPSConnectionPool(host='', port=443): Read timed out.
You are using pip version 9.0.3, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


@foosel is the best person to advise on this. I'm sure the dependency stack needs to be just right on this.


That looks like your OctoPrint instance can't fetch required dependencies from pypi - see that "Read timed out" message there regarding Could be something as simple as a hiccup on their side, or something being off in your network. Same error throughout your uploaded log.

Note that this isn't an OctoPrint issue, it's an issue a couple layers down - pip is a stock Python utility that OctoPrint only uses for installing plugins & updates, it is required to work properly and here it looks like there are some issues. I just did a quick test and for me Pillow downloads just fine off PyPi, so either it was a temporary issue ( doesn't show any incidents though) or it's something off in your local network.


I suppose it could be a DNS problem as well...


For a DNS issue I'd expect an "unknown host" error though, not a read timeout.


In my case, it would be the guys who are jack-hammering the street outside for the last few weeks, installing new Internet cabling. <_<