-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error during Onvif.connect #32
Comments
Hi @LODYZ , I really don't know what's happening with that connection issue. I've read here - https://dart.dev/tools/pub/troubleshoot - that anti-virus software can cause the issue. I also found that one of the code changes that you referred to here - LODYZ@aed87fa - did not make it into the new build. I've published v2.1.0-dev.9 that includes the change. |
Hi @faithoflifedev, i've inspected the situation and probably found the problem. Using the Flutter DevTools i noticed that:
At this point i compared this connection phase with "my" v2.0.13+19 version.
In conclusion i think this famous "Connection closed while receiving data" error is simply an authentication problem. I hope it could be useful. Let me know if you find a match. |
@LODYZ, I think we have some progress here. It looks like the device you are using requires an authenticated header for the Let me know if this resolves the issue for you. |
Hi @faithoflifedev, problem solved 🎉 |
Hi @LODYZ, I've finally gotten access to a device that allowed me to recreate this issue for a specific Onvif command. For the Even though this wasn't your specific issue, I'm adding this here so that the related issue is at least somewhat documented. The moral of the story is that there are errors in the spec documents and also bad spec implementations on devices that cause a double whammy for troubleshooting. The next release will have the "Connection closed" issue resolved for and |
Hi @faithoflifedev , I am trying the new version. I'm getting this error during Onvif.connect.
Let me know if you need more attempts or information to understand the problem. Thank You!
The text was updated successfully, but these errors were encountered: