Giter Site home page Giter Site logo

Comments (21)

faithoflifedev avatar faithoflifedev commented on August 14, 2024

@wmhseir3, you may not actually be using v0.0.13

I was able to replicate a similar error and the relevant part is :
Exception: Error code: {Code: {Value: {$: env:Sender}, Subcode: {Value: {$: ter:InvalidArgVal}, Subcode: {Value: {$: ter:NoProfile}}}}, Reason: {Text: {@xml:lang: en, $: The requested profile token ProfileToken does not exist.}}, Node: {$: http://www.w3.org/2003/05/soap-envelope/node/ultimateReceiver}, Role: {$: http://www.w3.org/2003/05/soap-envelope/role/ultimateReceiver}, Detail: {Text: {$: can not find this profile}}}

The important part is at the end {Text: {@xml:lang: en, $: The requested profile token ProfileToken does not exist.}} which tells us that your profile token is invalid.

The profile token is case sensitive, I generated this error by changing my correct "Profile_1" token to incorrect "profile_1"

from easy_onvif.

wmhseir3 avatar wmhseir3 commented on August 14, 2024

hi, your assumption to replicate a similar error may be right in your end but not applicable with the issue in my case.
The profile token is correct as with case sensitive regarded but yield the "Unhandled Exception: Exception: DioError [DioErrorType.other]: HttpException: Invalid response line" issue using 0.0.13.

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

Hello @wmhseir3 , does v0.0.15 produce the same error? The camera move logic was changed significantly recently.

from easy_onvif.

wmhseir3 avatar wmhseir3 commented on August 14, 2024

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

@wmhseir3 , please try out v1.0.2 a number of bugs affecting some devices have been resolved.

from easy_onvif.

wmhseir3 avatar wmhseir3 commented on August 14, 2024

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

@wmhseir3
I've published v1.0.5 which among several other things backs out the dependencies that required overrides.

Let me know if this version solves the issues.

from easy_onvif.

wmhseir3 avatar wmhseir3 commented on August 14, 2024

from easy_onvif.

wmhseir3 avatar wmhseir3 commented on August 14, 2024

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

I've added my twitter handle to my GitHub profile, if you would like to PM me - twitter: @faithoflifedev

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

Hi @wmhseir3 , I've just published v1.0.9 which has been tested against 3 different Onvif devices. A number of errors where found and corrected. If you get a chance, try this new version.

from easy_onvif.

wmhseir3 avatar wmhseir3 commented on August 14, 2024

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

@wmhseir3 , I assume you left out the part of the log that does the authentication to the camera. If this isn't the case, then that's your problem.

If it's the case that authentication did occur properly, then it looks like the camera does not like the Request that the code is generating. The only way I could troubleshoot this is by having access to the same model camera.

from easy_onvif.

wmhseir3 avatar wmhseir3 commented on August 14, 2024

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

@wmhseir3, it looks like twitter has receiving direct messages disabled by default. Sorry about that. I've enabled that now.

When I have some spare time, I'll try out the happytimesoft server as well.

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

@wmhseir3, v1.1.0 works with the happytimesoft Onvif server

Simulator Screen Shot - iPhone 13 Pro Max - 2022-05-30 at 13 43 31

from easy_onvif.

wmhseir3 avatar wmhseir3 commented on August 14, 2024

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

Hello @wmhseir3 , I have some bad news for you. I did extensive testing with easy_onvif and with a node onvif package, and neither package will perform a RelativeMove on a TL-IPC43AN-4 camera. Strangely, AbsoluteMove works fine. The error returned by the camera does not give any useful information towards any further resolution.

Here are the things you can try next:

  • check with the manufacturer to see if there is a firmware upgrade that resolves the issue
  • you could try using the results of a ptz GetStatus to get the cameras current pan/tilt position, then use AboluteMove to simulate a RelativeMove
  • switch to a different model or manufacturer.

from easy_onvif.

wmhseir3 avatar wmhseir3 commented on August 14, 2024

from easy_onvif.

wmhseir3 avatar wmhseir3 commented on August 14, 2024

from easy_onvif.

faithoflifedev avatar faithoflifedev commented on August 14, 2024

I/flutter (31546): DioError [DioErrorType.response]: Http status error [500]

The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request. This error is usually returned by the server when no other error code is suitable.

Essentially the device is not accepting the request. Are you sure you've properly authenticated?

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.