Comments (2)
I believe I am seeing this as well, I get the same error being thrown within TcpAsyncOperation.End(), on digging the serviceresult object is coming from within TcpMessgeSocket.GetNextMessage (as you mention). Again the discovery registration works but this is very annoying when you are in a debug session as this error occurs every 30 seconds or so.
from ua-.net-legacy.
BadSecureChannelClosed is one of the accepted and expected errors when closing a channel. The same for BadRequestInterrupted.
// wait for the close to succeed.
if (operation != null)
{
try
{
operation.End(timeout);
}
catch (ServiceResultException e)
{
switch (e.StatusCode)
{
case StatusCodes.BadRequestInterrupted:
case StatusCodes.BadSecureChannelClosed:
{
break;
}
default:
{
Utils.Trace(e, "Could not gracefully close the channel.");
break;
}
}
The BadSecureChannelClosed error for the operation is set by the TcpClientChannel.Shutdown() method:
foreach (WriteOperation operation in operations)
{
operation.Fault(new ServiceResult(StatusCodes.BadSecureChannelClosed, reason));
}
The fix in this case would be to supress the log entry for the BadSecureChannelClosed error, from the ServiceResultException constructor.
from ua-.net-legacy.
Related Issues (20)
- The CertificateGenerator utility is not installed. HOT 1
- Object model and Documentation UA .NET C#
- uastack!OpcUa_EndpointConfiguration_Encode+0x6c05 Got crashed in UaStack module while aStringPrivate::UaStringPrivate(const char *other) : m_iRefCnt(0) { OpcUa_String_Initialize(this); OpcUa_String_AttachCopy(this, (OpcUa_CharA*)other); }
- How to use UA Sample Client to connect siemens pcu 4.07 ua server with account and password? HOT 1
- opc ua sdk got crashed while doing uastring private class HOT 3
- Cannot browse tags in topic using UA COM Server Wrapper application
- The first namespace in the table must be the OPC-UA namespace. HOT 4
- Security: https channel always create endpoint with Non securityMode HOT 2
- Implementation of OPC client in a simulation software. HOT 1
- ApplicationConfiguration.SaveToFile() removes "RejectSHA1SignedCertificates" HOT 2
- Memory consumption MonitoredItem
- EXECPTION: The UA COM Host process is not registered on the machine. HOT 4
- proxy server HOT 1
- OPC UA Data Access Sample Client
- browse more than 20k tags takes long using UA COM Server Wrapper application HOT 4
- AE Addresspace in UA Wrapper is duplicated HOT 3
- How To Call Method HOT 1
- Deadlock in UA server
- Fix the REDME.md
- Is UA-.NET-Legacy Public maintained for critical security updates ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ua-.net-legacy.