Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No event notifications #124

Closed
brotleuchte opened this issue Jul 1, 2023 · 3 comments
Closed

No event notifications #124

brotleuchte opened this issue Jul 1, 2023 · 3 comments

Comments

@brotleuchte
Copy link

Hi,
I'm using the nuget package and trying to get event notifications to work by using the client sample code. The UAExpert client shows events, e.g. of type ProgramTransition or AuditEvent. I also tried the Server Object Node.

statusCode = m_client.CreateMonitoredItems(m_subscriptionId, TimestampsToReturn.Both,
    new MonitoredItemCreateRequest[]
    {
         new MonitoredItemCreateRequest(
             new ReadValueId(new NodeId(5, 31), NodeAttribute.EventNotifier, null, new QualifiedName()),
             MonitoringMode.Reporting,
             new MonitoringParameters(clientHandleEventMonitor, 0, new EventFilter(eventFilterOperands, null), 1, true)),
    }, out monitorCreateResults);

Am I missing something such as no AuditEvent notifications by default or so?

@nauful
Copy link
Owner

nauful commented Jul 3, 2023

I would check:

  1. The target node is correct and publishes.
  2. Monitoring mode is correct in the server.
  3. eventFilterOperands are correct.

This should trigger your application's NotifyEventNotifications method.

Could you please share a Wireshark traffic capture with no security mode? This will help me troubleshoot further.

@brotleuchte
Copy link
Author

Hey nauful,
I think my eventFilterOperands are not correct. Unfortunately other things got prioritized and everything else is working so far so I can't spend much time to this event topic the next couple of days. But it is still on my list. I appreciate your work so =)

@nauful
Copy link
Owner

nauful commented Jul 5, 2023

The server might not return any events depending on your filtering options. Feel free to post here when you have more information or questions.

@nauful nauful closed this as completed Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants