foglamp / foglamp-south-opcua

FogLAMP OPC/UA South plugin: an asynchronous OPC UA plugin that registers for change events on OPC UA objects and injects data from the OPC/UA server into FogLAMP
Apache License 2.0
0 stars 0 forks source link

FogLAMP GUI client not connected to freeopcua server #16

Open lucidlynx100 opened 5 years ago

lucidlynx100 commented 5 years ago

Hi @MarkRiddoch @Singhal-Vaibhav

I have installed FogLAMP and added foglamp-south-opcua plugin in my Ubuntu 18.04 Linux PC. I have created a south service in FogLAMP GUI to subscribe the data change of the current time. To verify this south OPCUA plugin, I have used example_server application in freeopcua stack.

When I am trying to connect the example_server application from FogLAMP GUI client, the following error pops up in the terminal (server) and also unable to see the data change in the GUI client.

Error: opc_tcp_async | error receiving message header: End of file

Screenshot of the error attached below: Screenshot (32)

Thanks in advance!

MarkRiddoch commented 5 years ago

Hi @lucidlynx100

Firstly thank you for showing an interest in FogLAMP, it is always nice other from people who are interested in what we are doing and to find out what FogLAMP is being used for. It is through interactions with users and interested parties that we can plan and develop the directions for FogLAMP in the future.

I will take a look into this and get back to you. Most of the testing I ave done recently has been using the ProSys OPC UA simulator, it as been a wile since I have tried with the freeeopcua example server so it is possible a bug has crept in since then.

Hopefully I will have an answer for you very soon. Regards and thanks again for your interest Mark

lucidlynx100 commented 5 years ago

Hi @MarkRiddoch

Thanks for the reply. Meanwhile, I have used Prosys OPC UA Simulation server to verify the FogLAMP client. Still I'm not able to connect FogLAMP client with Prosys server. The configuration of the Prosys server I have used, attached below

Screenshot (36)

To connect with Prosys server, in FogLAMP GUI, I have used:

Screenshot (37)

Still there are no sessions and connection logs in Prosys simulation server. Can you help me to resolve this issue?

Thanks.

MarkRiddoch commented 5 years ago

Hi @lucidlynx100,

I've been working on the initial problem and have found a issue that has been introduced that was preventing the ProSys Simulator form working. I have also taken the opportunity to make the subscription mechanism for the plugin more flexible. The freeopcua example server is still causing issues, mostly related to response timeouts, so until I get to the bottom of that I do not want to release a new version of the plugin. The current work I have done is available in the branch FOGL-2724, hopefully I will resolve the issue with the example_server soon and we will release another version of this plugin.

Thank you again for reporting this, Mark

lucidlynx100 commented 5 years ago

Hi @MarkRiddoch

Thanks. I have used FOGL-2724 branch as you mentioned and now I am able to see the communication between Prosys server and FogLAMP client. Also I feel that the GUI is not completely scalable as it shows incorrect data when loading multiple south plugins. Waiting for the new version of the plugin.

Thanks again.