BadNoSubscription on PublishRequest|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
BadNoSubscription on PublishRequest
Avatar
Hitoshi Fukuda
Member
Members
Forum Posts: 3
Member Since:
10/10/2023
sp_UserOfflineSmall Offline
1
10/10/2023 - 18:18
sp_Permalink sp_Print

Hello,everyone.

I have a case where an OPC UA server sends a ServiceFault with the message BadNoSubscription 0x80790000.

About 10 minutes before the message appeared, a RepublishRequest to the server and a RepublishResponse from the server were output only once.
After that, publishRequest and publishResponse are exchanged for 10 minutes, but a ServiceFault is returned for publishRequest.

Please let me know if you have any insight as to the cause of this.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
10/11/2023 - 21:57
sp_Permalink sp_Print

The subscription is timing out.

This is usually because you are not sending a publish request or all publish requests are being used by higher priority subscriptions.

Avatar
Hitoshi Fukuda
Member
Members
Forum Posts: 3
Member Since:
10/10/2023
sp_UserOfflineSmall Offline
3
10/11/2023 - 23:18
sp_Permalink sp_Print

Thank you for your response.

The connection is one-to-one, so there should not be any other priority subscriptions.

Is there a relationship between the subscription expiring and the RepublishRequest coming from the server?

Avatar
Paul Hunkar
Cleveland, Ohio, USA
Moderator
Members

Moderators-Specifications

Moderators-Companion

Moderators-Implementation

Moderators-Certification

Moderators-COM
Forum Posts: 112
Member Since:
02/24/2014
sp_UserOfflineSmall Offline
4
10/12/2023 - 06:01
sp_Permalink sp_Print

Remember that you can queue up multiple PublishRequests, so the server can dequeue the request and send a response when needed (typically more then one are queued, are you queueing more than one?).  These PublishRequests are share between all subscription on a session. 

Do you have the settings used for the Subscription? Publishing interval? keepalive?

Paul Hunkar - DSInteroperability

Avatar
Hitoshi Fukuda
Member
Members
Forum Posts: 3
Member Since:
10/10/2023
sp_UserOfflineSmall Offline
5
10/23/2023 - 16:41
sp_Permalink sp_Print

Thank you for your response.

We have not been able to confirm that it is even set up because we are using a library published by the OPC Council.

I would like to know if anyone knows the subscription specifications for the libraries published by the OPC Council.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
6
10/23/2023 - 19:22
sp_Permalink sp_Print

Are you using the code from: https://github.com/OPCFoundati.....ETStandard?

Then it should be doing things properly on the client side when it comes to sending publish requests.

You need to check the parameters, such as CurrentLifetime, returned from the server after the subscription is created.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 42
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855