server throws error with Prosys and Matrikon clients on events - node-opcua

I have been working through the examples in the node-opcua book which has been very helpful (and will be awesome when it is done!!!!). However, I have run into a problem when using the Prosys and Matrikon clients when the server is posting events. Specifically, the server crashes:
Users/brbl/Projects/GitHub/opcua-tutorial/node_modules/node-opcua-address-space/src/alarms_and_conditions/check_where_clause.ts:120
}
^
Error: Only OfType operator are allowed in checkWhereClause
at Object.checkWhereClause (/Users/brbl/Projects/GitHub/opcua-tutorial/node_modules/node-opcua-address-space/src/alarms_and_conditions/check_where_clause.ts:120:6)
at MonitoredItem._on_opcua_event (/Users/brbl/Projects/GitHub/opcua-tutorial/node_modules/node-opcua-server/source/monitored_item.ts:833:10)
at UAObject.emit (events.js:214:15)
at UAObject.EventEmitter.emit (domain.js:476:20)
at UAObject._bubble_up_event (/Users/brbl/Projects/GitHub/opcua-tutorial/node_modules/node-opcua-address-space/src/ua_object.ts:161:20)
at UAObject.raiseEvent (/Users/brbl/Projects/GitHub/opcua-tutorial/node_modules/node-opcua-address-space/src/ua_object.ts:144:14)
at Timeout._onTimeout (/Users/brbl/Projects/GitHub/opcua-tutorial/my_event_server.ts:95:11)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
Any guidance on how to fix the problem would be greatly appreciated. Thanks.

Related

Socket error 10053 software caused connection abort

I have a application which will receive files from FTP and uploaded in to Mainframe server.
I am getting a "Socket error 10053 software caused connection abort" when I assign
FTPTransfertype = ftASCII
If I change this to FtBinary I'm not getting this error but data not uploaded properly in this mode.
I am getting this error only in application server (Production server) not in the development server (here I faced this issue only once in the FTPTransfertype = ftASCII assignment)
I have changed the FTP connectivity mode to Passive but its not working..
Please help me on this.
I recomment to see Microsoft Windows Socket Errors page:
https://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx
In your case:
Software caused connection abort. An established connection was
aborted by the software in your host computer, possibly due to a data
transmission time-out or protocol error.

How to handle the error "UNet Client Disconnect Error: Timeout"?

How to handle the error "UNet Client Disconnect Error: Timeout"? How not reboot the application, when it occurs?
I now resolve this issue.
I think this can help you too.
myClient.RegisterHandler(MsgType.Error, OnError);
void OnError(NetworkMessage msg){
//Error handler code
}
This Error client receive with "UNET Client Disconnect Error: Timeout".
My solution: If i not have server. I set current client as Server.

Smack API throws "Session establishment not offered by server" Exception

I'm trying to connect to the Vines XMPP server from Java using the Smack API. However, when I use the following connection code:
ConnectionConfiguration connectionConfiguration = new ConnectionConfiguration("localhost", 5222);
this.connection = new XMPPConnection(connectionConfiguration);
connection.connect();
connection.login(AUCTION_LOGIN, AUCTION_PASSWORD, AUCTION_RESOURCE);
I receive the following error message:
Caused by: Session establishment not offered by server:
at org.jivesoftware.smack.SASLAuthentication.bindResourceAndEstablishSession(SASLAuthentication.java:456)
I understand the issue to be related to sessions now being deprecated from the XMPP protocol. I've been unsuccessful in finding a way to use the ConnectionConfiguration class and others to work around this problem.
You appear to be using an old, vulnerable Smack version (i.e. < 4.0.0).
The current stable Smack version does not throw such an exception, as it considers session binding to be option. It can even be completly disabled with setLegacySessionDisabled(true).

IWAB0135E An unexpected error has occurred

I have this error when I'm trying to invoke an operation of my web service. I'm using Eclipse and the web service is a simple "Say hello" one. Here's the entire error :
IWAB0135E An unexpected error has occurred.
java.net.ConnectException
Connection timed out: connect
Does anyone know how I could fix that ? Thank you in advance
It says "java.net.ConnectException Connection timed out: connect". Make sure that your end points are correct and service is listening properly.

SOAP-ENV:Server

Hi I am having an issue with the SOAP , when I call my services I get this error:
<env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>Error occured while service was processing.</faultstring>
</env:Fault>
Do you know how to solve this problem then please help me.
This is not a symptom of one specific problem. All it says is that an "Error occured while service was processing.".
You'll have to look at any server logs to find out what error this was.