You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried accessing klipper via google VPS. Using SSH tunneling on my host machine, I could not use port 80. So I use 8080 instead, but I could not access the webcam. I fixed it by modifying the Mainsail installation of kiauh. The problem is getHostUrl() returns a URL without the port number and Mjpegstreamer and the likes uses it to access the resource, if the URL is using a port other than 80, then there that issue. I located it in /assets/b7111f84.js on my installation of Mainsail. It's already minified, but I hope you can locate the exact source file so it can be fixed. The code looks like this:
Make a proxy for your mainsail. I did it with ssh tunneling to other computer, in my case it is GCP VPS. ssh -R 8080:localhost:80 -N username@host_address
Additional information:
No response
The text was updated successfully, but these errors were encountered:
you have to use an absolute path in your webcam settings. changing the getUrl function will create many other issues.
in an older version we changed this behavior some time before, but there was multiple other issues with cross installations. so i don't think i will/can fix this with creating multiple other issues.
Mainsail Version:
2.6.0
Browser:
Chrome
Device:
Desktop PC
Operating System:
Windows
What happened?
I tried accessing klipper via google VPS. Using SSH tunneling on my host machine, I could not use port 80. So I use 8080 instead, but I could not access the webcam. I fixed it by modifying the Mainsail installation of kiauh. The problem is getHostUrl() returns a URL without the port number and Mjpegstreamer and the likes uses it to access the resource, if the URL is using a port other than 80, then there that issue. I located it in /assets/b7111f84.js on my installation of Mainsail. It's already minified, but I hope you can locate the exact source file so it can be fixed. The code looks like this:
Changing it to fixed the problem:
What did you expect to happen instead?
It should work.
How to reproduce this bug?
Make a proxy for your mainsail. I did it with ssh tunneling to other computer, in my case it is GCP VPS.
ssh -R 8080:localhost:80 -N username@host_address
Additional information:
No response
The text was updated successfully, but these errors were encountered: