My webcap appears white.
my crowsnest config looks like this
https://nopaste.boris.sh/#XQAAAQC1BAAAAAAAAAAtmMpHEcQkCKg2JN3tA+WV5N3VHuY5V+eqq01gLsauDNEsqIHi3aKXpXiKtIeDUhiwkk2o/qvZGIcJkJNsQbTOGnWeTgoi0THhW7qGUwkCkcCb0gJ7id+6xMtTOgCSC/d64hed9dFtYCKaNRtIzYP3O8pfuWqxctKc+PXXc84UtRC6NFMOEu8WQaTS4l5D9PBsYOambjmmJsv8j4p476ZH4B6+hrJi0BHQUXeYi6aQXMwq+DfDwSD1u+ZGkC2UTUMso/gf6xvGzATQpCl45pKTFmGyLs082W759hT3OkMKJMUeIfH8PrrFqaGSA+slDkhW7FO8qeh4LV+qobeLuhJN18/0Rjrb1SafbqDRZfDFeW2bcO+tJhmqTUONYmV8ZOp6hybMoJCrsmtpXTU83qhBFwC78w7DDFpVGNDLH9S4upvelf3+9g1BDdIvwFXm2yYUYDgwHnI2/gjN8vVWdtxoQfAc5k0UyF1iD8r3zLKiVHtzwHMEb2RQnCpsTkUIWvCH/oMe7mueVC0Ve7nO089vDxIPTKl6Mjw3pGlGvwgvVrzIsFT8RGJ5UQp19F4vRVImA/qlDnfLFdgppblPv9u7mVjZyJsjYD9KaxBWMGBI2hpCIpETN4iEAqT2UCA9B3jtoaV6J3G85W+40fYmldSM+5rHYd0OCOyva2jjwoekcA66lqHYvyqT7WvTJiRQCNBcoD/4xlqyGuTMOm2mOurzfAxL3LXUWICluzpneT8PoM1JCsil2wXOvW2vLdeSXiho5rEo/EHGOMtJ/oryOEN9MJq1ZUX2GJJpqVX92CsSQefywenQkmSJvL2KZREC6y0butp/uhA/AWtxiP78ZcMU
The bottom of my crowsnest log looks like this (the stuff above it is just supported controls and formats)
https://nopaste.boris.sh/#XQAAAQCkAQAAAAAAAAAtjAMDEFiouNguOVupoeCs5r7IUVELtnNjUaA9niX0dER1BC771tAly9NAx2XA4QQxZgAxt3yUUB+iTDOH2+Gll922/ac6rFpbaei9Jyer6WwBzNYJuzzj8Tv4MCFgUxkXXzcQ0H1qljUOu/MGJelWD4SKd2M8PvLB0XFVxnQYKpeSBK5ikeRkwmByLQJLcEb8R2cIXyLm+Po/o9MGa4WUW4BmHs+154dHm7ITASBr/rJZ6BVAycxRd0/cdIychECLU85sphR0d1A8qgV1Vitq7WG1nXEWuBgq1G+7hrZtIYm8eZiPOjWTmUPQEUdi+qqFZVznVBqRNJOPS//7eHg5
my mainsail is running on docker, but I attached it to the host network
the compose for it looks like this:
https://nopaste.boris.sh/?l=yaml#XQAAAQABAQAAAAAAAAA7GUqsC9K+WM9j7tDg7xLPFncNlXhPKARscYHcNyaOjQyPN15pad6RF6KSlSwkcIe+TQ3c3tyRCHXyeQAa8i6t9wCYKaum4RCuXwMSMpIWW0o/vQxnFU3Xti23YmnaxeEDZvnF466AMT5iDKDbzVuykzi5/GQPa0Z3FoDW1bisTJTfl2onGdmPSnptYw465NAlE9QA/A0AD1GGkv8jo8LEgl/+xYP3
#Webcam appears white
62 messages · Page 1 of 1 (latest)
i should state that this is all running on the same machine. nathan-server is the hostname of that machine and its local ip is 192.168.1.33 (i assigned it to be static)
it thinks its trying to connect to mainsail?
Set delete_log: true and log_level: debug inside your crowsnest.conf and send a new log. (Download the whole log and send it as a file here)
could that be something? the cors domains i think are set correctly
[authorization]
trusted_clients:
10.0.0.0/8
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.168.0.0/16
FE80::/10
::1/128
cors_domains:
*.lan
*.local
*://localhost
*://localhost:*
*://my.mainsail.xyz
*://app.fluidd.xyz```
i tested with multiple browsers on multiple different devices so it isnt that
Are you behind a proxy?
Or how exactly is your setup?
Also please change your device to /dev/v4l/by-id/usb-Generic_NexiGo_N960E_FHD_Webcam_200901010001-video-index0 as this won't change between reboots and send your mainsail settings
ok
nope
moonraker, klipper, and crowsnest are all running directly on a pc running ubuntu that is connected to the printer and a camera
mainsail is also running on that same pc, but it is ran on docker
which afaik is a supported use case
what do you mean when you say mainsail settings
Can you open the camera stream directly in your browser and not through mainsail?
no
The webcam settings you set to add the cam
So stream isn't working directly or you don't know how?
Same error on the browser console?
Remove the /webcam from the url and try again
same result
im just gonna backup my printer_data folder, install debian and start from square one
it is possible my nginx is totally fucked up
Can you try firefox before that?
sure
same result as librewolf
i will report back, this machine really needs it anyway
And just to be sure, you tried out http://192.168.1.33:8080/?action=stream right?
Yes
Really weird that the connection gets refused
Http, not https
Yeah I think my nginx is messed up
Shouldn't matter for ip directly, should it?
I would just run mainsailos but I don't have a pi and AFAIK it's made for that
It does matter
Http isnt secure and https is, they're different protocols
Most websites just redirect you to an https version of you go to the http version of the site
yeah ik
But the camera streams shouldn't redirect you, unless you specifically setup nginx to redirect your 8080 port to https
Or if you use hostnames
Yeah, and I meant if you just accessing the ip directly with the port nginx shouldn't matter, as it shouldn'T run through nginx
I saw some nginx stuff get configured when I installed croesnest, that's why I mentioned that it's possible for my nginx conf to be messed up
That's the /webcam routing
That's why I wrote that one. But yeah, just try a new installation, if you were to make it anyway 😄
yeah so i have no fucking clue
the issue persisted
so i got rid of the docker container and installed mainsail like i had previously, but this time it worked properly and persists after a system reboot. the camera works too through this mainsail install, so it must have something to do with docker. i have no clue