Docs: Your First Snap webcam-webui does not work once installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
New
|
Undecided
|
Unassigned |
Bug Description
The example webcam-webui does not work after installing the built snap.
https:/
This seems to be because the walkthrough doesn't cover interfaces, nor how to connect your snap to those interfaces. Since the walkthrough uses the camera interface, this should be part of the instructions.
When trying to use the snap (note the instructions ALSO say we should use strict confinement in snapcraft.yaml), the following appears in syslog:
Aug 3 19:10:57 galactica ubuntu-
Aug 3 19:10:57 galactica ubuntu-
Aug 3 19:10:57 galactica ubuntu-
Aug 3 19:10:57 galactica ubuntu-
Aug 3 19:10:57 galactica ubuntu-
Aug 3 19:10:57 galactica ubuntu-
Aug 3 19:10:57 galactica kernel: [66880.927735] audit: type=1400 audit(147026585
Aug 3 19:10:57 galactica kernel: [66880.927803] audit: type=1400 audit(147026585
I'm still trying to figure out how to make this snap talk to my webcam.
Additionally, the webserver itself is not accessible. The snap either doesn't start the go webserver, or it's just not listening.
The walkthrough indicates it should be port 8080:
panic(http.
but trying to connect to localhost (I'm running this on Xenial) fails to connect.
This should have been fixed with the change in the bug marked as duplicate. Please check and reopen if you are still having problems with snapcraft 2.14.
Thank you!