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

Failed with error 'BadNodeIdunknown' when use uaExpert and server example #3

Open
soolaugust opened this issue Dec 3, 2020 · 3 comments

Comments

@soolaugust
Copy link

Hi,

When I try the server example, and use uaExpert software to test it. browser is okay, but when I call Call me Al method, it report following error:

image

Do you know why?

@ctron
Copy link
Owner

ctron commented Dec 4, 2020

Not really, do you have any server logs?

@soolaugust
Copy link
Author

this is the cast of server logs:

10:26:11.304 [milo-shared-thread-pool-4] DEBUG org.eclipse.milo.opcua.sdk.server.namespaces.OpcUaNamespace - Read value Running from attribute Value of NodeId{ns=0, id=2259}
10:26:11.433 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] lifetime counter reset to 12000
10:26:11.433 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] keep-alive counter reset to 50
10:26:11.433 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] returned keep-alive NotificationMessage sequenceNumber=1.
10:26:11.434 [milo-shared-thread-pool-4] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.PublishQueue - Queued PublishRequest requestHandle=1000056, size=2
10:26:16.310 [milo-shared-thread-pool-0] DEBUG org.eclipse.milo.opcua.sdk.server.namespaces.OpcUaNamespace - Read value Running from attribute Value of NodeId{ns=0, id=2259}
10:26:16.499 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] lifetime counter reset to 12000
10:26:16.499 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] keep-alive counter reset to 50
10:26:16.499 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] returned keep-alive NotificationMessage sequenceNumber=1.
10:26:16.503 [milo-shared-thread-pool-0] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.PublishQueue - Queued PublishRequest requestHandle=1000059, size=2
10:26:21.321 [milo-shared-thread-pool-4] DEBUG org.eclipse.milo.opcua.sdk.server.namespaces.OpcUaNamespace - Read value Running from attribute Value of NodeId{ns=0, id=2259}
10:26:21.557 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] lifetime counter reset to 12000
10:26:21.557 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] keep-alive counter reset to 50
10:26:21.557 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] returned keep-alive NotificationMessage sequenceNumber=1.
10:26:21.565 [milo-shared-thread-pool-4] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.PublishQueue - Queued PublishRequest requestHandle=1000061, size=2
10:26:26.327 [milo-shared-thread-pool-0] DEBUG org.eclipse.milo.opcua.sdk.server.namespaces.OpcUaNamespace - Read value Running from attribute Value of NodeId{ns=0, id=2259}
10:26:26.617 [milo-shared-scheduled-executor-2] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] lifetime counter reset to 12000
10:26:26.617 [milo-shared-scheduled-executor-2] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] keep-alive counter reset to 50
10:26:26.617 [milo-shared-scheduled-executor-2] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] returned keep-alive NotificationMessage sequenceNumber=1.
10:26:26.623 [milo-shared-thread-pool-0] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.PublishQueue - Queued PublishRequest requestHandle=1000063, size=2
10:26:31.336 [milo-shared-thread-pool-4] DEBUG org.eclipse.milo.opcua.sdk.server.namespaces.OpcUaNamespace - Read value Running from attribute Value of NodeId{ns=0, id=2259}
10:26:31.672 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] lifetime counter reset to 12000
10:26:31.672 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] keep-alive counter reset to 50
10:26:31.672 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] returned keep-alive NotificationMessage sequenceNumber=1.
10:26:31.674 [milo-shared-thread-pool-4] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.PublishQueue - Queued PublishRequest requestHandle=1000065, size=2
10:26:36.344 [milo-shared-thread-pool-0] DEBUG org.eclipse.milo.opcua.sdk.server.namespaces.OpcUaNamespace - Read value Running from attribute Value of NodeId{ns=0, id=2259}
10:26:36.732 [milo-shared-scheduled-executor-0] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] lifetime counter reset to 12000
10:26:36.732 [milo-shared-scheduled-executor-0] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] keep-alive counter reset to 50
10:26:36.732 [milo-shared-scheduled-executor-0] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] returned keep-alive NotificationMessage sequenceNumber=1.
10:26:36.737 [milo-shared-thread-pool-0] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.PublishQueue - Queued PublishRequest requestHandle=1000067, size=2
10:26:41.348 [milo-shared-thread-pool-4] DEBUG org.eclipse.milo.opcua.sdk.server.namespaces.OpcUaNamespace - Read value Running from attribute Value of NodeId{ns=0, id=2259}
10:26:41.790 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] lifetime counter reset to 12000
10:26:41.790 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] keep-alive counter reset to 50
10:26:41.790 [milo-shared-scheduled-executor-3] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.Subscription - [id=1] returned keep-alive NotificationMessage sequenceNumber=1.
10:26:41.801 [milo-shared-thread-pool-4] DEBUG org.eclipse.milo.opcua.sdk.server.subscriptions.PublishQueue - Queued PublishRequest requestHandle=1000069, size=2

@ctron
Copy link
Owner

ctron commented Dec 16, 2020

Could it be that you had some other subscription running while recording the logs?

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