I've been using OctoPrint for about a week with no problems. Then, right after finishing a print I wasn't able to connect to my printer. When I try to, I get an error saying: "Refused to connect"
Thanks for any help!
What did you already try to solve it?
Checked cables
Made sure the printer is showing up in Device Manager - it is
Reinstalled Windows
Reinstalled OctoPrint, using Windows installer. Up to the point where I enter (my ip):5000 but that's where I get the error.
I'm a bit confused what the issue is right now. Do you have issues to connect to the OctoPrint webui or connecting to the printer itself when you're logged in on the OctoPrint webui?
ok
since I'm not entirely sure what happened and where to find the logs for this instance I'm tagging @jneilliii
it's weird that it doesn't work even when you reinstalled Windows.
Yeah, re-running the installer will only allow for adding instances unfortunately as it tracks the previously used ports both in the registry and running services/used ports. If defaults were used during the install the logs can be found in C:\OctoPrint\basedir\5000.
EDIT: The provided system info bundle from the original post appears to be from a pi...
Yeah, looks like a botched install/upgrade. Was this running 1.8.7 and upgraded to 1.9.0? I know windows can have problems with this process because the files get locked and can't be overwritten while octoprint service is running. Have been meaning to figure out a way to easily do this with upgrade patch installs, but just haven't had the time. Best bet would be to try to manually force a reinstall of OctoPrint. In order to do that you should be able to stop the service in service manager of windows and then open a command prompt as administrator and run this command.
I just ran through the process myself at work and that does work, but did throw an error for one of the modules because of missing MS Visual C++ build tools missing. You should be able to install those if you don't already have them installed (also required for OctoLapse plugin and I think PrintTimeGenius maybe.
select โDesktop development with C++โ, making sure these options specifically are enabled.
Ok, I stopped the OctoPrint Service and ran the command you gave. It looked successful until the end as it gave me messages like "Legacy Install Error" and "Failed building wheel for netifaces".
I've copied what I got into the attached file.
Afterwards I installed the MS Visual C++ build tools.
great, glad to hear. the best way would be to ignore the update within octoprint's web interface itself and use the following command to upgrade after stopping the service.