Node-red :opc-ua-server msg error Error: The connection may have been rejected by server

In Node-red flow while configuring the opcua server getting below error ,we have added certificate and credential as well still getting same error.
Note:The flow was working before. After the Restart of OPCUA server ,we are facing this error nothing is changed in the flow.

Error Message:
1.opc-ua-server
msg : error
"Error: The connection may have been rejected by server,↵Err = (Secure Channel Closed)"

2.Error: The connection may have been rejected by server,
Err = (Invalid message header detected)

check the node-red logs. there will be more to the error. like this one: Opc Ua and Certificate - #3 by matteovi

we have used self signed certificate and credential also valid, still we are not able to connect with server getting below error now.

[OPCUA-IIoT-Browser:a96e7020050a59e2] Error: Client Not sessionActive On Browser
[error] [OPCUA-IIoT-Connector:opc-ua-server] Error: Fail to connect to server at opc.tcp:// to collect server's certificate (in findEndpoint)
(err =The connection may have been rejected by server,
Err = (premature socket termination socket timeout : timeout=60000))