Timeout 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
Timeout on PublishRequest
Avatar
Patrick Rohlfs
New Member
Members
Forum Posts: 1
Member Since:
08/19/2020
sp_UserOfflineSmall Offline
1
08/04/2023 - 01:54
sp_Permalink sp_Print

Hi everyone,

I have a case where an OPC UA server sends a ServiceFault with the message BadTimeout 0x800a0000 where the Request Id matches a PublishRequest from the client. After the ServiceFault the server sends directly a PublishResponse, but with a newer Request ID. After that the communication continues normally and e.g. ReadRequests are answered correctly without delay. These ServiceFaults, always with a Request Id matching a PublishRequest, are constantly repeated in the network log. The question is, if it is defined in the specification, should the server react differently here or how should the timeout message be interpreted by the client? Does anyone have an idea? Thanks shcon times in advance!

PR

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
08/04/2023 - 15:27
sp_Permalink sp_Print

Servers maintain a queue of PublishRequests and hold onto them until there is data to send. This can result in timeouts if the Client sets the TimeoutHint to a value that is too low (the appropriate values depends on the Subscription PublishingIntervals and the number of outstanding Publish requests).

IOW, the behavoiur you see is normal and can be fixed by increasing the TimeoutHint sent on your PublishRequests.

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