The Tunneller does not recognize the IP and port of the UAServer when creating a proxyUA.

Created by Jose Fabian Solano, Modified on Wed, 18 May 2022 at 04:31 PM by Jose Fabian Solano


1.    First, we must verify if we have a connection with the UA Server, in this case we must execute a cmd and ping the ServerUA IP.


2.    After performing the ping test, we verify that the UAServer port is open, we do this with a telnet test.

Texto

Description automatically generated

 3.    Now, we will perform a test to verify that we can read the memory addresses from the UAServer and verify the             source time of the data.


4.    After verifying the previous point, we must add a new proxy in the Tunneller. We add it normally, after already adding the data of our UAProxy verify if it took the data, if we see that it maintains a different ip and a different port number in the UA Server URL tab, we are going to stop this service and modify the xml file corresponding to this UAProxy.


 

5.    Then, we must go to the following direction, where we will find the configuration files of the proxies that we have created: C:\Program Files (x86)\Matrikon\OPC\UA Proxy\Configuration


6.    We locate the UAProxy configuration file that generates the problem, we right click it and open it in notepad.

Important: There are two files with the same name, we need to open the one with .xml


7.    We must locate the following parameters: in this case I prefer to use the notepad search assistant.

 

<DisableEndPointDescriptionsCheck>1</DisableEndPointDescriptionsCheck>

 

If this parameter shows a 0, we must change it to a 1.



 

<UAViewServiceCheck>0</UAViewServiceCheck>

 

If this parameter shows a 1, we must change it to a 0.

 

After changing these parameters, you're going to need the search assistant again, but in this case, you're going to search for the word "EndpointUrl", and you're going to change any ip addresses that don't match the correct UAProxy address.

 

Example:

 

<EndpointUrl>opc.tcp://192.168.1.198:4840</EndpointUrl>    

 

If we modify this parameter with the data correct, it should be shows like this:

 

<EndpointUrl>opc.tcp://172.19.1.203:52020</EndpointUrl>



 

8.    After changing the incorrect EndpointUrl lines to the correct data, we must save the notepad, in this case I prefer to save twice.

9.     Then you can go to Tunneller and Run the UAProxy Service that we modified.

10.    If everything saved correctly, you could run the OPCExplorer application and try to connect to the UAProxy.

11.    And try to read data.




Note: if you dont know the name of your UAProxy configuration File, you can see the name using the Tunneller.

You have to click the ServerUA, and then go the option Classic (COM) Details












Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article