# Buggy code
def host_to_server_and_port(host, scheme):
    if host is None:
        return None, None

    if ":" in host:
        server, port = host.split(":", 1)
    else:
        server = host
        port = "443" if scheme == "https" else "80"

    return server, port


# Traceback (CookieError)
2016-11-02 00:17:16,691 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2016-11-02 00:17:19,844 - octoprint.util.pip - INFO - Found pip at /home/pi/oprint/bin/pip, version is 8.1.1
2016-11-02 00:17:20,100 - octoprint.plugin.core - INFO - Initialized 12 plugin implementation(s)
2016-11-02 00:17:20,334 - octoprint.plugin.core - INFO - 12 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/announcements
|  Automatic Shutdown (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_automaticshutdown
|  Autoscroll (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_autoscroll
|  Cost Plugin (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/cura
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/discovery
|  EEPROM Marlin Editor Plugin (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_eeprom_marlin
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/softwareupdate
|  STL Viewer (0.3.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_stlviewer
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/virtual_printer
2016-11-02 00:17:20,336 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2016-11-02 00:17:20,346 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2016-11-02 00:17:20,351 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2016-11-02 00:17:20,371 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2016-11-02 00:17:21,692 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from http://plugins.octoprint.org/plugins.json
2016-11-02 00:17:21,788 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _http._tcp
2016-11-02 00:17:21,806 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _octoprint._tcp
2016-11-02 00:17:21,809 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2016-11-02 00:17:21,811 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for SSDP
2016-11-02 00:17:22,104 - octoprint.plugins.announcements - INFO - Loaded channel _important from http://octoprint.org/feeds/important.xml in 0.25s
2016-11-02 00:17:22,670 - octoprint.plugins.stlviewer - INFO - STL Viewer loaded!
2016-11-02 00:17:22,902 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter.fang64.lan/'}
2016-11-02 03:11:10,154 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter/'}
2016-11-02 03:14:01,795 - octoprint.server - INFO - Shutting down...
2016-11-02 03:14:02,184 - octoprint.server - INFO - Goodbye!
2016-11-02 03:14:16,125 - octoprint.server - INFO - Starting OctoPrint 1.2.16 (master branch)
2016-11-02 03:14:16,259 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/.octoprint/plugins, /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins and installed plugin packages...
2016-11-02 03:14:17,892 - octoprint.plugin.core - INFO - Found 12 plugin(s) providing 12 mixin implementations, 7 hook handlers
2016-11-02 03:14:17,901 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2016-11-02 03:14:17,940 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2016-11-02 03:14:19,684 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2016-11-02 03:14:22,884 - octoprint.util.pip - INFO - Found pip at /home/pi/oprint/bin/pip, version is 8.1.1
2016-11-02 03:14:22,888 - octoprint.plugin.core - INFO - Initialized 12 plugin implementation(s)
2016-11-02 03:14:23,143 - octoprint.plugin.core - INFO - 12 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/announcements
|  Automatic Shutdown (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_automaticshutdown
|  Autoscroll (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_autoscroll
|  Cost Plugin (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/cura
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/discovery
|  EEPROM Marlin Editor Plugin (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_eeprom_marlin
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/softwareupdate
|  STL Viewer (0.3.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_stlviewer
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/virtual_printer
2016-11-02 03:14:23,145 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2016-11-02 03:14:23,154 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2016-11-02 03:14:23,159 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2016-11-02 03:14:23,180 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2016-11-02 03:14:37,260 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2016-11-02 03:14:37,314 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _http._tcp
2016-11-02 03:14:37,331 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _octoprint._tcp
2016-11-02 03:14:37,335 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for SSDP
2016-11-02 03:14:37,368 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2016-11-02 03:14:37,442 - octoprint.plugins.stlviewer - INFO - STL Viewer loaded!
2016-11-02 03:14:37,518 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter.fang64.lan/'}
2016-11-02 03:14:48,850 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter/'}
2016-11-02 03:15:01,339 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 03:15:02,935 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2016-11-02 03:24:51,097 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 03:24:51,171 - octoprint.server - INFO - Shutting down...
2016-11-02 03:24:51,519 - octoprint.server - INFO - Goodbye!
2016-11-02 03:25:05,352 - octoprint.server - INFO - Starting OctoPrint 1.2.16 (master branch)
2016-11-02 03:25:05,410 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/.octoprint/plugins, /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins and installed plugin packages...
2016-11-02 03:25:06,708 - octoprint.plugin.core - INFO - Found 12 plugin(s) providing 12 mixin implementations, 7 hook handlers
2016-11-02 03:25:06,718 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2016-11-02 03:25:06,758 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2016-11-02 03:25:06,905 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2016-11-02 03:25:23,967 - octoprint.util.pip - INFO - Found pip at /home/pi/oprint/bin/pip, version is 8.1.1
2016-11-02 03:25:23,970 - octoprint.plugin.core - INFO - Initialized 12 plugin implementation(s)
2016-11-02 03:25:23,978 - octoprint.plugin.core - INFO - 12 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/announcements
|  Automatic Shutdown (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_automaticshutdown
|  Autoscroll (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_autoscroll
|  Cost Plugin (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/cura
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/discovery
|  EEPROM Marlin Editor Plugin (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_eeprom_marlin
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/softwareupdate
|  STL Viewer (0.3.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_stlviewer
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/virtual_printer
2016-11-02 03:25:23,980 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2016-11-02 03:25:23,990 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2016-11-02 03:25:23,994 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2016-11-02 03:25:24,015 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2016-11-02 03:25:25,091 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _http._tcp
2016-11-02 03:25:25,109 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _octoprint._tcp
2016-11-02 03:25:25,113 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for SSDP
2016-11-02 03:25:25,157 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2016-11-02 03:25:25,188 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2016-11-02 03:25:25,257 - octoprint.plugins.stlviewer - INFO - STL Viewer loaded!
2016-11-02 03:25:25,326 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter.fang64.lan/'}
2016-11-02 03:25:27,666 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 03:25:36,973 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter/'}
2016-11-02 03:26:46,885 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 03:26:47,591 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 03:32:43,091 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 03:32:43,742 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 03:32:49,563 - octoprint.server.api - INFO - Performing command: sudo shutdown -r now
2016-11-02 03:32:49,777 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 03:32:49,896 - octoprint.server - INFO - Shutting down...
2016-11-02 03:32:49,996 - octoprint.server - INFO - Goodbye!
2016-11-02 03:33:10,526 - octoprint.server - INFO - Starting OctoPrint 1.2.16 (master branch)
2016-11-02 03:33:10,583 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/.octoprint/plugins, /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins and installed plugin packages...
2016-11-02 03:33:12,817 - octoprint.plugin.core - INFO - Found 12 plugin(s) providing 12 mixin implementations, 7 hook handlers
2016-11-02 03:33:12,827 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2016-11-02 03:33:12,866 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2016-11-02 03:33:13,011 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2016-11-02 03:33:16,307 - octoprint.util.pip - INFO - Found pip at /home/pi/oprint/bin/pip, version is 8.1.1
2016-11-02 03:33:16,311 - octoprint.plugin.core - INFO - Initialized 12 plugin implementation(s)
2016-11-02 03:33:16,319 - octoprint.plugin.core - INFO - 12 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/announcements
|  Automatic Shutdown (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_automaticshutdown
|  Autoscroll (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_autoscroll
|  Cost Plugin (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/cura
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/discovery
|  EEPROM Marlin Editor Plugin (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_eeprom_marlin
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/softwareupdate
|  STL Viewer (0.3.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_stlviewer
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/virtual_printer
2016-11-02 03:33:16,321 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2016-11-02 03:33:16,330 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2016-11-02 03:33:16,334 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2016-11-02 03:33:16,356 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2016-11-02 03:33:30,330 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2016-11-02 03:33:30,381 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _http._tcp
2016-11-02 03:33:30,398 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _octoprint._tcp
2016-11-02 03:33:30,402 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2016-11-02 03:33:30,403 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for SSDP
2016-11-02 03:33:30,502 - octoprint.plugins.stlviewer - INFO - STL Viewer loaded!
2016-11-02 03:33:30,574 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter.fang64.lan/'}
2016-11-02 03:33:33,386 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 03:33:46,183 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter/'}
2016-11-02 03:34:33,652 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 03:34:37,335 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 03:34:42,524 - octoprint.server.api - INFO - Performing command: /home/pi/scripts/webcam start
2016-11-02 03:33:06,458 - octoprint.server - INFO - Starting OctoPrint 1.2.16 (master branch)
2016-11-02 03:33:06,518 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/.octoprint/plugins, /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins and installed plugin packages...
2016-11-02 03:33:07,828 - octoprint.plugin.core - INFO - Found 12 plugin(s) providing 12 mixin implementations, 7 hook handlers
2016-11-02 03:33:07,837 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2016-11-02 03:33:07,877 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2016-11-02 03:33:08,023 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2016-11-02 03:33:11,495 - octoprint.util.pip - INFO - Found pip at /home/pi/oprint/bin/pip, version is 8.1.1
2016-11-02 03:33:11,499 - octoprint.plugin.core - INFO - Initialized 12 plugin implementation(s)
2016-11-02 03:33:11,508 - octoprint.plugin.core - INFO - 12 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/announcements
|  Automatic Shutdown (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_automaticshutdown
|  Autoscroll (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_autoscroll
|  Cost Plugin (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/cura
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/discovery
|  EEPROM Marlin Editor Plugin (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_eeprom_marlin
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/softwareupdate
|  STL Viewer (0.3.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_stlviewer
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/virtual_printer
2016-11-02 03:33:11,510 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2016-11-02 03:33:11,520 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2016-11-02 03:33:11,523 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2016-11-02 03:33:11,543 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2016-11-02 03:59:33,594 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2016-11-02 03:59:33,653 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _http._tcp
2016-11-02 03:59:33,671 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _octoprint._tcp
2016-11-02 03:59:33,675 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2016-11-02 03:59:33,677 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for SSDP
2016-11-02 03:59:33,684 - octoprint.plugins.stlviewer - INFO - STL Viewer loaded!
2016-11-02 03:59:33,897 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter.fang64.lan/'}
2016-11-02 03:59:38,824 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 04:00:03,736 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter/'}
2016-11-02 04:00:03,808 - octoprint.server.api - INFO - Performing command: /home/pi/scripts/webcam start
2016-11-02 04:00:04,101 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 04:00:04,755 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 04:05:32,852 - py.warnings - WARNING - /home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/util/__init__.py:546: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if source == target:

2016-11-02 04:05:32,854 - py.warnings - WARNING - /home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/util/__init__.py:564: UnicodeWarning: Unicode unequal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
  if value_source != value_target:

2016-11-02 04:05:35,839 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 04:05:36,366 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 04:05:39,140 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2016-11-02 04:13:32,000 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 04:13:32,611 - octoprint.server - INFO - Shutting down...
2016-11-02 04:13:33,440 - octoprint.server - INFO - Goodbye!
2016-11-02 04:13:47,150 - octoprint.server - INFO - Starting OctoPrint 1.2.16 (master branch)
2016-11-02 04:13:47,210 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/.octoprint/plugins, /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins and installed plugin packages...
2016-11-02 04:13:48,528 - octoprint.plugin.core - INFO - Found 12 plugin(s) providing 12 mixin implementations, 7 hook handlers
2016-11-02 04:13:48,538 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2016-11-02 04:13:48,577 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2016-11-02 04:13:48,721 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2016-11-02 04:13:52,262 - octoprint.util.pip - INFO - Found pip at /home/pi/oprint/bin/pip, version is 8.1.1
2016-11-02 04:13:52,266 - octoprint.plugin.core - INFO - Initialized 12 plugin implementation(s)
2016-11-02 04:13:52,522 - octoprint.plugin.core - INFO - 12 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/announcements
|  Automatic Shutdown (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_automaticshutdown
|  Autoscroll (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_autoscroll
|  Cost Plugin (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/cura
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/discovery
|  EEPROM Marlin Editor Plugin (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_eeprom_marlin
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/softwareupdate
|  STL Viewer (0.3.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_stlviewer
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/virtual_printer
2016-11-02 04:13:52,524 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2016-11-02 04:13:52,534 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2016-11-02 04:13:52,605 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2016-11-02 04:13:52,627 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2016-11-02 04:14:07,012 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _http._tcp
2016-11-02 04:14:07,031 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _octoprint._tcp
2016-11-02 04:14:07,036 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for SSDP
2016-11-02 04:14:07,080 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2016-11-02 04:14:07,112 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2016-11-02 04:14:07,166 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 04:14:07,250 - octoprint.plugins.stlviewer - INFO - STL Viewer loaded!
2016-11-02 04:14:07,357 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter.fang64.lan/'}
2016-11-02 04:14:27,132 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter/'}
2016-11-02 04:15:36,138 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 04:19:34,890 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 04:20:13,054 - octoprint.server.util.sockjs - INFO - New connection from client: 10.10.0.255
2016-11-02 04:30:53,724 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 04:34:53,201 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 04:35:50,338 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 05:22:52,539 - octoprint.server.util.sockjs - INFO - Client connection closed: 10.10.0.255
2016-11-02 06:10:18,940 - octoprint.server - INFO - Shutting down...
2016-11-02 06:10:19,864 - octoprint.server - INFO - Goodbye!
2016-11-02 06:10:36,796 - octoprint.server - INFO - Starting OctoPrint 1.2.16 (master branch)
2016-11-02 06:10:36,859 - octoprint.plugin.core - INFO - Loading plugins from /home/pi/.octoprint/plugins, /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins and installed plugin packages...
2016-11-02 06:10:53,534 - octoprint.plugin.core - INFO - Found 12 plugin(s) providing 12 mixin implementations, 7 hook handlers
2016-11-02 06:10:53,544 - octoprint.filemanager.storage - INFO - Initializing the file metadata for /home/pi/.octoprint/uploads...
2016-11-02 06:10:53,551 - octoprint.filemanager.storage - INFO - ... file metadata for /home/pi/.octoprint/uploads initialized successfully.
2016-11-02 06:10:53,707 - octoprint.plugins.softwareupdate - INFO - Loaded version cache from disk
2016-11-02 06:10:57,016 - octoprint.util.pip - INFO - Found pip at /home/pi/oprint/bin/pip, version is 8.1.1
2016-11-02 06:10:57,020 - octoprint.plugin.core - INFO - Initialized 12 plugin implementation(s)
2016-11-02 06:10:57,028 - octoprint.plugin.core - INFO - 12 plugin(s) registered with the system:
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/announcements
|  Automatic Shutdown (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_automaticshutdown
|  Autoscroll (0.0.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_autoscroll
|  Cost Plugin (0.1.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_cost
|  CuraEngine (<= 15.04) (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/cura
|  Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/discovery
|  EEPROM Marlin Editor Plugin (0.1.0) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_eeprom_marlin
|  Navbar Temperature Plugin (0.8) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_navbartemp
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/pluginmanager
|  Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/softwareupdate
|  STL Viewer (0.3.1) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_stlviewer
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/plugins/virtual_printer
2016-11-02 06:10:57,036 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2016-11-02 06:10:57,040 - octoprint.filemanager - INFO - Added 0 items from storage type "local" to analysis queue
2016-11-02 06:10:57,045 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/webassets...
2016-11-02 06:10:57,066 - octoprint.server - INFO - Reset webasset folder /home/pi/.octoprint/generated/.webassets-cache...
2016-11-02 06:10:57,911 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _http._tcp
2016-11-02 06:10:57,928 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for _octoprint._tcp
2016-11-02 06:10:57,932 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance "Solidoodle 2" for SSDP
2016-11-02 06:10:57,948 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2016-11-02 06:10:57,980 - octoprint.server - INFO - Listening on http://127.0.0.1:5000
2016-11-02 06:10:58,012 - octoprint.plugins.stlviewer - INFO - STL Viewer loaded!
2016-11-02 06:10:58,159 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter.fang64.lan/'}
2016-11-02 06:11:09,736 - octoprint.server - INFO - Preemptively caching / for {'query_string': 'l10n=en', 'path': '/', 'base_url': 'http://3dprinter/'}
2016-11-02 06:17:41,307 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:10.10.0.255
2016-11-02 06:17:43,465 - octoprint.plugins.announcements - INFO - Loaded channel _important from http://octoprint.org/feeds/important.xml in 0.86s
2016-11-02 06:19:47,510 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:19:47,614 - octoprint - ERROR - Exception on /favicon.ico [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:19:47,640 - octoprint - ERROR - Exception on /favicon.ico [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:20:14,008 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:20:14,213 - octoprint - ERROR - Exception on /favicon.ico [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:20:44,765 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:10.10.0.255
2016-11-02 06:21:04,063 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:10.10.0.255
2016-11-02 06:21:49,803 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:23:03,812 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:24:07,947 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:24:12,180 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:24:13,730 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:24:13,982 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:24:14,139 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:24:35,270 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:10.10.0.255
2016-11-02 06:24:35,682 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:10.10.0.255
2016-11-02 06:25:45,360 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:10.10.0.255
2016-11-02 06:25:48,987 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:10.10.0.255
2016-11-02 06:25:51,692 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:25:53,267 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:10.10.0.255
2016-11-02 06:26:09,682 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:10.10.0.255
2016-11-02 06:26:11,386 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:26:12,927 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:26:26,897 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:10.10.0.255
2016-11-02 06:26:28,566 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:26:30,795 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:26:40,373 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:29:16,979 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:29:17,216 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:29:17,449 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:29:57,363 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:30:02,188 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:37:03,878 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:37:04,788 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:37:05,297 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:38:36,081 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:38:36,894 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:38:37,101 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:38:40,546 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:38:42,762 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:39:03,616 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:39:04,104 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:39:04,801 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:39:04,822 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:39:04,842 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:39:04,861 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:39:04,882 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:36,855 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:37,466 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:37,589 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:37,774 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:37,876 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:37,979 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:43,614 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:43,795 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:44,305 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:44,480 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:44,986 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,022 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,058 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,090 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,117 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,159 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,182 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,224 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,249 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,280 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,316 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,345 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,382 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,412 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,448 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:40:45,484 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:41:18,217 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:41:27,653 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:41:28,372 - octoprint - ERROR - Exception on /webcam [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:41:31,998 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:41:32,825 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:41:33,006 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:41:33,169 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:41:33,319 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:41:38,034 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:41:51,355 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:46:00,388 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:48:32,208 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:10.10.0.255
2016-11-02 06:48:35,782 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:10.10.0.255
2016-11-02 06:48:43,174 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:10.10.0.255
2016-11-02 06:49:03,456 - octoprint.server.util.sockjs - INFO - Client connection closed: ::ffff:10.10.0.255
2016-11-02 06:49:16,864 - octoprint.server.util.sockjs - INFO - New connection from client: ::ffff:10.10.0.255
2016-11-02 06:51:36,735 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]
2016-11-02 06:51:48,265 - octoprint - ERROR - Exception on / [GET]
Traceback (most recent call last):
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1817, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1479, in full_dispatch_request
    response = self.process_response(response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 1693, in process_response
    self.save_session(ctx.session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/app.py", line 837, in save_session
    return self.session_interface.save_session(self, session, response)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg/flask/sessions.py", line 329, in save_session
    domain=domain, path=path, secure=secure)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/OctoPrint-1.2.16-py2.7.egg/octoprint/server/util/flask.py", line 411, in set_cookie
    flask.Response.set_cookie(self, key + flask.request.cookie_suffix, *args, **kwargs)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/wrappers.py", line 856, in set_cookie
    self.charset))
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/http.py", line 789, in dump_cookie
    morsel = _ExtendedMorsel(key, value)
  File "/home/pi/oprint/local/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg/werkzeug/_internal.py", line 273, in __init__
    self.set(name, value, value)
  File "/usr/lib/python2.7/Cookie.py", line 459, in set
    raise CookieError("Illegal key value: %s" % key)
CookieError: Illegal key value: session_Pa000:1210:8121::3]


# Fixed code
def host_to_server_and_port(host, scheme):
    if host is None:
        return None, None

    default_port = "443" if scheme == "https" else "80"
    host = host.strip()

    if ":" in host:
        # we might have an ipv6 address here, or a port, or both

        if host[0] == "[":
            # that looks like an ipv6 address with port, e.g. [fec1::1]:80
            address_end = host.find("]")
            if address_end == -1:
                # no ], that looks like a seriously broken address
                return None, None

            # extract server ip, skip enclosing [ and ]
            server = host[1:address_end]
            tail = host[address_end + 1 :]

            # now check if there's also a port
            if len(tail) and tail[0] == ":":
                # port included as well
                port = tail[1:]
            else:
                # no port, use default one
                port = default_port

        elif self.__class__.valid_ip(host):
            # ipv6 address without port
            server = host
            port = default_port

        else:
            # ipv4 address with port
            server, port = host.rsplit(":", 1)

    else:
        server = host
        port = default_port

    return server, port