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

v0.0.7 doesn't fix the no response #15

Closed
baseship opened this issue May 30, 2019 · 18 comments
Closed

v0.0.7 doesn't fix the no response #15

baseship opened this issue May 30, 2019 · 18 comments

Comments

@baseship
Copy link

After i make the compilation new at the closed issue, the camera worked around for 2 hours.
But now there's no connection recevied, then i downloaded the new Version of HKCam 0.0.7 and flash it with etcher, that's the result...
IMG_1CC7A31B9DFD-1

@RaymondMouthaan
Copy link

Did you remove the camera first and re-added it?

@brutella
Copy link
Owner

Sorry that v0.0.7 doesn't fully resolve this issue.
I think this issue only happens when the iOS devices connects with an IPv6 address.
Still investigating…

@brutella
Copy link
Owner

Fingers crossed that 488f2c7 fixes this issue.

Would be great if somebody could verify that by compiling and updating the hkcam binary.
https://github.com/brutella/hkcam/wiki/How-To-Update#update-from-source

@RaymondMouthaan
Copy link

@brutella, I will... However I am running 0.0.7 from this morning and until now it still works. Any idea how to reproduce the issue faster?

@brutella
Copy link
Owner

@RaymondMouthaan This issue only seems to affects incoming IPv6 connections. Maybe you can reproduce the issue when you are on an IPv6 only WiFi network.

@RaymondMouthaan
Copy link

@RaymondMouthaan This issue only seems to affects incoming IPv6 connections. Maybe you can reproduce the issue when you are on an IPv6 only WiFi network.

as far as I know I don't have an IPv6 network, so I guess we have to be patience until it occurs or even better if it will not :-)

@RaymondMouthaan
Copy link

@brutella, just build, installed and started 488f2c7, fingers crossed it works 👍

@dfbills
Copy link

dfbills commented May 30, 2019

I'm on a IPv6 network and cannot connect after updating to 0.0.7 on both Mac and PI.

@brutella
Copy link
Owner

@dfbills Could you please try the above mentioned fix?

@brutella
Copy link
Owner

Please everybody update to 3a825f0

@dfbills
Copy link

dfbills commented Jun 1, 2019

I compiled 3a825f0, ran on the PI, and was able to successfully add to HomeKit. Running on the Mac build is still not working and does not show up in "Add Accessory."

Log shows:

Warlock:hkcam dfbills$ make run
go run cmd/hkcam/main.go
DEBUG 2019/06/01 13:59:42 camera_control.go:153: add: 3102379.jpg
DEBUG 2019/06/01 13:59:42 camera_control.go:194: {"assets":[{"id":"3102379.jpg","date":"2019-05-06T17:46:18-04:00"}]}
INFO 2019/06/01 13:59:42 ip_transport.go:186: Listening on port 61758

No additional info appears after many minutes.

@brutella
Copy link
Owner

brutella commented Jun 1, 2019

You don't have to add the camera again to HomeKit if you just replaced the binary.

If you want that the camera appears as a new device, you have to delete the contents of the folder /var/lib/hkcam/data.

@dfbills
Copy link

dfbills commented Jun 1, 2019

@brutella - Thanks! For those following this thread, on the Mac, this is the data contents of the "Camera" folder at the root level of the hkcam project.

I finally have both Mac and Pi versions up and streaming again.

Screenshot 2019-06-01 15 07 36

@brutella
Copy link
Owner

brutella commented Jun 3, 2019

Does it work now for everybody with the changes in 3a825f0?

@RaymondMouthaan
Copy link

@brutella, running 3a825f0 for two days now and it works!

@baseship
Copy link
Author

baseship commented Jun 3, 2019

The changes now work. Thanks. Is the Raspian Image also fixed?

@brutella
Copy link
Owner

brutella commented Jun 3, 2019

@baseship v0.0.8, which includes the fix, will be released tomorrow.

@brutella
Copy link
Owner

brutella commented Jun 4, 2019

Should be fixed in v0.0.8

@brutella brutella closed this as completed Jun 4, 2019
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

4 participants