Sample Server sending BadTooManyOperations when shutting down|OPC UA Implementation: Stacks, Tools, and Samples|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
Sample Server sending BadTooManyOperations when shutting down
Avatar
Julien BENNET
Member
Members
Forum Posts: 6
Member Since:
02/04/2016
sp_UserOfflineSmall Offline
1
03/04/2020 - 09:24
sp_Permalink sp_Print

Okay ... we have real life RTU which actually send error code  BadTooManyOperations,0x80100000 when you are sending/requesting something too large, and so... our client logic is to send/request something smaller then.

But the Sample Server sends BadTooManyOperations when shutting down !

public void ScheduleIncomingRequest(IEndpointIncomingRequest request)
{
  if (m_stopped)
  {
      request.OperationCompleted(null, StatusCodes.BadTooManyOperations);

The description of this error reads : "The request could not be processed because it specified too many operations."

Shall I submit a pull request to fix this ? maybe send BadServerHalted instead ?

I think this a really nasty problem, since many servers out there are based on the OPC Foundations Server.. and this error code is just confusing client code.

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
03/04/2020 - 10:47
sp_Permalink sp_Print

You need to raise this on GitHub:
https://github.com/OPCFoundati.....ETStandard

Avatar
Julien BENNET
Member
Members
Forum Posts: 6
Member Since:
02/04/2016
sp_UserOfflineSmall Offline
3
03/05/2020 - 02:35
sp_Permalink sp_Print

Ok thanks Randy. Since I am not seeing opposition, I will submit a pull request.

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