FYI 8.3 & 8.1 OPC UA Server Port Conflict

This is a little ridiculous on my part, but I’m in industrial controls and we are working on getting into Ignition (we haven’t really worked with SCADA’s before so this stuff is pretty new and I’m the only one here working on this practice). We have some customers looking to upgrade from 8.1 to 8.3, and I already have 8.1 installed. I didn’t want to create conflicts for customers so I decided to install 8.3 and keep 8.1 installed for the time being. I figured having both would create many issues, but I was pleasantly surprised for the most part. Almost every port automatically changed to prevent conflicts and everything seems to be running smoothly. The only port that didn’t change was for Ignition’s OPC UA Server. It wouldn’t be that big of a deal, but unfortunately for me, the error I was getting only said there was a security issue and wouldn’t elaborate on an exact issue. As a result, I got sent down a few different rabbit holes until I figured out the port conflict and found the only way of changing it was to change the port in my configuration file (it wouldn’t let me change it in the gateway). I’m sure more experienced developers would have identified the issue immediately, but for noobs such as myself having this issue, this is why it isn’t working.

Error I got was: [remote=localhost/127.0.0.1:62541] errorMessage=ErrorMessage{error=StatusCode[name=Bad_SecurityChecksFailed, value=0x80130000, quality=bad], reason=status=Bad_SecurityChecksFailed, description=An error occurred verifying security.}

This is the file path for the config file: C:\Program Files\Inductive Automation\Ignition\data\config\resources\core\ignition\opc-connection\Ignition OPCUA Server\config

Section is labeled endpoint. Remember to restart the gateway for the changes to take effect, and of course update the port for the OPC UA server in its settings.

We strongly recommend using VMs or Docker to install multiple versions side by side. Keep your host system clean :slightly_smiling_face:

1 Like

Check out the above for using docker with ignition.