Giter Club home page Giter Club logo

Comments (16)

game4automation avatar game4automation commented on July 28, 2024 2

You are right - it seemed to be to late yesterday. Now it works. Thanks a lot for your fast support.

from libua.

nauful avatar nauful commented on July 28, 2024

Hello Thomas,

Could you share a Wireshark capture of that call with security mode set to None?

I've also made a small code change, as this looks like a flag but not a data type, please try that.

Thanks,
Nauful

from libua.

game4automation avatar game4automation commented on July 28, 2024

Hi, where do I get the code change.

For Wireshark I am not an expert, how to do a fast capture (for beginners?)

Thanks
Thomas

from libua.

nauful avatar nauful commented on July 28, 2024

Either this repo, or you can update to the latest nuget package I pushed: https://www.nuget.org/packages/nauful-LibUA-core

Let's see if the new nuget package fixes your issue. If not, to capture in wireshark, click Capture -> Start on the menu, connect with security and encryption set to None, reproduce this error, Capture -> Stop on the menu, File -> Save As and upload the capture here. More info: https://www.wireshark.org/docs/wsug_html_chunked/ChCapCapturingSection.html

Thanks,
Nauful

from libua.

nauful avatar nauful commented on July 28, 2024

I don't see the opcua capture in there, please check that you captured from the correct network adapter (or loopback adapter if localhost). Here's how to check: https://opcconnect.opcfoundation.org/2017/02/analyzing-opc-ua-communications-with-wireshark/

Do you still get an exception in the latest commit? If so, where in the code is that?

Thanks,
Nauful

from libua.

game4automation avatar game4automation commented on July 28, 2024

libuacapture.zip

Oh sorry - as mentioned I am not a Wireshark expert. Now everything should be in. The Exception is still at the same location.

from libua.

nauful avatar nauful commented on July 28, 2024

For the captures, can you tell me what port you connected on?

Also, there's this code change:
dddad72#diff-1ce579e93332054aa094abe3152192bcde0709fc1586b02271917b0d2d6a518f

Can you tell me the value of encodingMask & 0x3F? If encodingMask is 64, that should be 0, and goes to the TwoByte case.

Thanks,
Nauful

from libua.

game4automation avatar game4automation commented on July 28, 2024

It is 53530. Will directly check in the code the 64 case....

from libua.

game4automation avatar game4automation commented on July 28, 2024

With your change now it throws an exception with encoding Mask 111

from libua.

nauful avatar nauful commented on July 28, 2024

I don't see any NodeId with a mask of 111/0x6F in the capture, perhaps a new capture?

Can you tell me where the parent is in the call stack? That will tell me what field it's trying to decode here.

from libua.

game4automation avatar game4automation commented on July 28, 2024

image

from libua.

nauful avatar nauful commented on July 28, 2024

Alright, I may have it now. Please try the latest source or nuget package.

Thanks,
Nauful

from libua.

game4automation avatar game4automation commented on July 28, 2024

Thanks a lot but again an exception at the same location but a different call stack:
image

from libua.

game4automation avatar game4automation commented on July 28, 2024

You should be easily able to check this - we are testing with standard Prosys OPCUA Simulation Server:
image

from libua.

nauful avatar nauful commented on July 28, 2024

I don't think this is the same issue. I was able to successfully decode your wireshark capture after the previous fix.

This looks like opening a secure channel is failing, which isn't something I've touched recently. Does it work with security set to None?

from libua.

nauful avatar nauful commented on July 28, 2024

Fantastic!

from libua.

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.