Giter Club home page Giter Club logo

Comments (19)

nauful avatar nauful commented on July 28, 2024

Hello,

Can you share a Wireshark capture with no security?

from libua.

franklupo avatar franklupo commented on July 28, 2024

i don't know how to do with Wireshark

from libua.

nauful avatar nauful commented on July 28, 2024

https://help.salesforce.com/s/articleView?id=000385344&language=en_US&type=1

Otherwise you might be monitoring too many items in a single call. Try batches of a few items at once.

from libua.

franklupo avatar franklupo commented on July 28, 2024

opcua.zip

from libua.

franklupo avatar franklupo commented on July 28, 2024

Hi,
I don't know if it helps but with this library it works
https://github.com/convertersystems/opc-ua-client

best regards

from libua.

nauful avatar nauful commented on July 28, 2024

Looks like a PublishResponse is too large for the sender/receiver according to the initial configuration. I need to see a capture with no security, this connection is secured with encryption so I cannot read the messages.

from libua.

franklupo avatar franklupo commented on July 28, 2024

opcua2.zip

from libua.

nauful avatar nauful commented on July 28, 2024

Still encrypted:
image

You have to debug through this since I can monitor items with all of the test servers I have access to. If you can share an unencrypted capture I can try to help. Otherwise I can't find an issue.

from libua.

franklupo avatar franklupo commented on July 28, 2024

encryption where should I disable?

from libua.

nauful avatar nauful commented on July 28, 2024

var messageSecurityMode = MessageSecurityMode.SignAndEncrypt;

Change SignAndEncrypt to Sign.

from libua.

franklupo avatar franklupo commented on July 28, 2024

Is None

from libua.

nauful avatar nauful commented on July 28, 2024

Check in Wireshark that you can see the contents of the PublishRequest message. It should show a full disassembly of the body if not encrypted. Otherwise only the headers are visible.

Example of a full body:
image

from libua.

franklupo avatar franklupo commented on July 28, 2024
var messageSecurityMode = MessageSecurityMode.None;
var securityPolicy = SecurityPolicy.None;

from libua.

franklupo avatar franklupo commented on July 28, 2024

i'm using the port 4841 and wireshark is set 4840. I changed the port to 4841
try now

opcua3.zip

from libua.

nauful avatar nauful commented on July 28, 2024

I can see the contents now. Not sure why it fails, the server publishes 0 notifications, the client sends another request and the server fails with BadUnexpectedError.

The only issue I can think of might be this:
image

Perhaps request a publishing interval of 5 seconds (5000).

from libua.

franklupo avatar franklupo commented on July 28, 2024

Reopen issue please

from libua.

nauful avatar nauful commented on July 28, 2024

I can try to assist you with library usage but I prefer to keep issues for problems with the library itself. Please try my suggestions above and let me know if that works.

from libua.

franklupo avatar franklupo commented on July 28, 2024

The problem is the parameter filter in MonitoringParameters,
if present response Goof is null return BadEncodingLimitsExceeded
IF presente the notification not work.

from libua.

nauful avatar nauful commented on July 28, 2024

Thanks, will note that if I see this issue again.

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.