Not with OctoPi; I am fairly sure that gets preset to port 80 here:
Though that does leave the question how it was set to port 5000 on your setup. Did you perhaps at some point remove your config.yaml to have it recreated from scratch by OctoPrint?
I think I can at least make a check for this configuration, or at least have the portnumber configurable.
I wasn't using octopi, I was using default raspbian and added octoprint so I think I just didn't configure it correctly. I went ahead and deleted the old partition and used the octopi image working fine now. Thanks for all the help guys
Yeah, there's no telling on this pi, it's running an older nightly build of octopi 0.18 and there is a good chance during testing something I deleted that config.yaml.
I have downloaded the plugin recently and it is working fine.
but I believe that the basic authentication is not working for me, when I'm accessing the ngrok link there is no username and password are popping up from the browser, it will open directly the login page of octoprint.
is this behavior is right? or did I miss configure the plugin?
Hi @nori0aw, sorry I missed this comment. The tunnel should ask for a username and password. However, once you have entered that, your browser may remember the username and password (or actually the "session") until you restart the browser. Could you try closing all browser windows and opening the tunnel again? Could you try a different browser and/or your browser incognito mode?
Hi @fieldOfView, thank you for your reply,
I have tried to restart both the Octopi system & the browser with incognito at the same time and still no luck. I also will tried to uninstall and reinstall the plugin with the same result.
I think it's an issue with Ngrok in my region.
I think I have fixed the issue. Are you running OctoPrint on Python 3 (if so, good for you!)? And did you install the ngrok plugin after the 25th of October?
I am new to octopi, I have set it up just recently (2 month ago), not sure how to check for the python version on octopi but I'm running version 1.4.2.
for the ngrok plugin i have tried to re-install it 10 days ago.
I have tried today the new update that you published (0.3.1) also I face the same issue.
This actually seemed like a good idea, so I took a stab at it. Will submit a PR to see if @fieldOfView wants to implement or not. Just need to clean up the code for when the tunnel gets closed.
PR submitted, if anyone would like to try it out you can install by copying/pasting the URL below in Plugin Manager > Get More > ...from URL and clicking install.