Comments (16)
You are right - it seemed to be to late yesterday. Now it works. Thanks a lot for your fast support.
from libua.
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.
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.
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.
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.
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.
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.
It is 53530. Will directly check in the code the 64 case....
from libua.
With your change now it throws an exception with encoding Mask 111
from libua.
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.
from libua.
Alright, I may have it now. Please try the latest source or nuget package.
Thanks,
Nauful
from libua.
Thanks a lot but again an exception at the same location but a different call stack:
from libua.
You should be easily able to check this - we are testing with standard Prosys OPCUA Simulation Server:
from libua.
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.
Fantastic!
from libua.
Related Issues (20)
- Error monitoring HOT 19
- Improve library NodiId.TryParse HOT 1
- OPC UA PubSub via UDP HOT 1
- Unable to pass "null" as filter in MonitoredItemCreateRequest HOT 2
- Problem with freeOPAUA HOT 16
- Can not write value to my variable HOT 7
- How to create an ExtensionObject? HOT 1
- UaClient error to read a matrix HOT 7
- How to read an ExtensionObject? HOT 6
- Error DefaultAddressSpace HOT 1
- TranslateBrowsePath does not mark the final BrowsePathTarget correctly HOT 2
- Nullreference Exception in Client Sample HOT 1
- LingerState: Unhandled Exception - Invalid Argument HOT 1
- Method calls are not executed HOT 5
- EUInformation and Range HOT 4
- Switch to use ArrayPool in memorybuffer to reduce allocation pressure HOT 1
- Browsing S7 OPCUA Server, Outputs not returned (FunctionalGroupType?) HOT 7
- Missing ServiceResult returns of CheckServiceFaultResponse() in Client.cs HOT 1
- BadAttributeIdInvalid when browsing Server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libua.