Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"404 Page not found" error on visiting Web Interface #132

Open
freumichCH opened this issue Jun 16, 2022 · 5 comments
Open

"404 Page not found" error on visiting Web Interface #132

freumichCH opened this issue Jun 16, 2022 · 5 comments

Comments

@freumichCH
Copy link

Hello
I'm getting a 404 Error on visiting the web interface.
Issuing netstat shows following:

root@raspberrypi:~# netstat -tuplen | grep hkcam
tcp6       0      0 :::8081                 :::*                    LISTEN      0          21483      776/hkcam           
udp        0      0 0.0.0.0:5353            0.0.0.0:*                           0          21484      776/hkcam           
udp6       0      0 :::5353                 :::*                                0          21488      776/hkcam       

Start command looks like following:
./hkcam -data_dir=/var/lib/hkcam/data -multi_stream=true -port=8081 -verbose

Can someone lead me in the right direction to solve this issue? Unfortunately i have no experience in golang.

Thanks in advance!

@freumichCH freumichCH changed the title "404 Page not found" error on visiting Homepage "404 Page not found" error on visiting Web Interface Jun 16, 2022
@GLOUPY-RnD
Copy link

Same here.. 404 page not found.
I DHCP the pi on my router so I'm sure of it's IP address and double checked the port.
Gandalf is still in the way ! -_-

Any idea of what I'm missing ?

@flatsiedatsie
Copy link

flatsiedatsie commented Apr 30, 2023

I'm seeing the same. I've tried:

/
/index.html

but I always get

404 page not found

This is the verbose logging:

sudo ./hkcam -data_dir=/var/lib/hkcam/data -multi_stream=true -port=8080 -verbose
INFO 2023/04/30 16:02:12 main.go:73: version v0.1.0 (built at 2022-03-04T21:28:23Z+0100)
DEBUG 2023/04/30 16:02:12 camera_control.go:194: {"assets":[]}
DEBUG 2023/04/30 16:02:12 server.go:208: listening at [::]:8080
DEBUG 2023/04/30 16:02:23 logger.go:161: "GET http://candle.local:8080/ HTTP/1.1" from 192.168.0.118:57428 - 404 19B in 87.291µs
DEBUG 2023/04/30 16:02:23 logger.go:161: "GET http://candle.local:8080/favicon.ico HTTP/1.1" from 192.168.0.118:57428 - 404 19B in 56.77µs
DEBUG 2023/04/30 16:02:37 logger.go:161: "GET http://candle.local:8080/index.html HTTP/1.1" from 192.168.0.118:57428 - 404 19B in 57.291µs

The directory is made:

ls /var/lib/hkcam/data
configHash  keypair  schema  uuid  version
  • Camera is a popular Logitech HD camera that is well supported.
  • The 99 loopback camera exists
  • Raspberry Pi 3 with 32 bit Raspberry Pi OS

@svn2208
Copy link

svn2208 commented Jun 9, 2023

I've facing the same issue :(

@tinopucci
Copy link

tinopucci commented Mar 8, 2024

This is old(ish) issue thread, but have to ask.
@flatsiedatsie did you get this 404 (on IPv4) resolved?

Or anyone, you may chip in?

@flatsiedatsie
Copy link

@tinopucci I believe I ended up going a different route in the end, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants