mkevenaar / OctoPrint-Spoolman

OctoPrint companion plugin to update Spoolman
GNU Affero General Public License v3.0
18 stars 3 forks source link

Spoolman Reports Invalid HTTP Request #30

Closed bepstein111 closed 1 year ago

bepstein111 commented 1 year ago

The problem

I have a testing instance of spoolman setup via docker on the same PC I run two instances of octoprint on. I just re-installed debian from scratch and set up both instances using community octoprint_deploy.sh script. I installed a number of plugins including this one, and configured the URL for this plugin (btw, the example says HTTPS://(local-ip):7912, even though spoolman doesn't seem to have an option to serve HTTPS at all let alone on port 7912, at least not via docker). Anyway, I entered in a few test rolls to spoolman, but am getting an error whenever Octoprint tried to make a request to spoolman (from the spoolman docker logs):

WARNING: Invalid HTTP request received.

Is it possible that this plugin only does HTTPS by default? If so, that seems kinda like an issue for anyone who doesn't want to set up ssl just for a local server.

Version of OctoPrint-Spoolman

0.1.0

Version of OctoPrint

1.9.3

Operating system running OctoPrint

Debian 12 bookworm

Printer model & used firmware incl. version

CR-10/Ender-3 both w/ Marlin 2

Browser and version of browser, operating system running browser

Windows/Linux w/ Chrome

Checklist of files to include below

Additional information & file uploads

octoprint-systeminfo-20231029181346.zip

mkevenaar commented 1 year ago

@bepstein111 The plugin hasn't been released yet. I am still working on the development. Please watch the repository for the first release.