#Webcam appears white

62 messages · Page 1 of 1 (latest)

high yarrow
#

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

#

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?

twin root
#

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)

high yarrow
#

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

twin root
#

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

high yarrow
#

ok

high yarrow
high yarrow
#

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

twin root
#

Can you open the camera stream directly in your browser and not through mainsail?

high yarrow
#

no

twin root
twin root
high yarrow
#

its not working

#

sorry

#

im not being very specific

twin root
high yarrow
#

kek whoops

#

guess the cookie is fine since its local only

#

tell you what

twin root
high yarrow
#

im just gonna backup my printer_data folder, install debian and start from square one

#

it is possible my nginx is totally fucked up

twin root
#

Can you try firefox before that?

high yarrow
#

sure

high yarrow
high yarrow
twin root
high yarrow
#

Yes

twin root
#

Really weird that the connection gets refused

high yarrow
#

Http, not https

high yarrow
twin root
#

Shouldn't matter for ip directly, should it?

high yarrow
#

I would just run mainsailos but I don't have a pi and AFAIK it's made for that

high yarrow
#

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

twin root
#

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

high yarrow
#

You're right, it shouldn't, and it isnt

#

I usually just use static local ip

twin root
high yarrow
#

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

twin root
#

That's the /webcam routing

twin root
high yarrow
#

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