Giter Site home page Giter Site logo

Comments (4)

faithoflifedev avatar faithoflifedev commented on August 14, 2024

Hello @Cu-Toof ,

I found the following regarding the "Connection closed..." issue - https://stackoverflow.com/questions/55879550/how-to-fix-httpexception-connection-closed-before-full-header-was-received - a number of the solutions are related to the underlying network and there is no code change that I can make to resolve them.

If the problem is related to the requestData then I'm not sure that there is any change that I can make. Onvif is an XML based protocol and XML is very verbose.

I would more expect that applications would have a problem with the response data. I have yet to find a decent XML parser that supports namespaces in Dart. My work-around was to convert the Onvif XML response to JSON and then to Dart objects. This is very memory inefficient for large responses, but until a better XML parser comes around ...

The only partial solution I can offer right now is to add a section to the README asking people to list Onvif device models that they know the package works with and those where it doesn't. That way some people will know in advance if their Onvif device is supported.

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

Hello @Cu-Toof ,

I published a new version today - 1.0.0-dev.2 - you can give it a try and see if it solves your issue.

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

Hello @Cu-Toof ,

I was able to identify a bug that was causing this issue with some devices. The new v1.0.2 resolves the issue.

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

#32 gives more detail about this issue.

from easy_onvif.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.