Problem
When using a script function that allows you to interact with the database, such as Server.GetOPCValue, server.SetOPCValue, or server.FindObject, on older versions of Geo SCADA, you may encounter error code 0x80072f7d.
The Geo SCADA script uses the original WebX ports to access the Geo SCADA database, which has two sets of web ports: non-secure web ports for standard HTTP access and secure web ports for HTTPS access. By default, Geo SCADA's web ports listen for incoming connections on TCP port 80 for HTTP traffic and TCP port 443 for HTTPS traffic. The original WebX only supports TLS 1.0 and 1.1. Some vendors no longer support or block TLS 1.0 and 1.1.
Solution
This error code is caused by an unsupported version of TLS as it may not be supported on new system security policies, which require a higher TLS version (1.2 or higher). The IIS (Internet information services) Reverse Proxy functionality was introduced in Geo SCADA 2021 to resolve issues related to TLS settings. The reverse proxy is intended to perform TLS negotiation on behalf of the Geo SCADA server and will connect to the server's ports. For more details on configuring the reverse proxy settings for the original WebX server, please refer to this section in the manual. You can also find useful links related to the original WebX and download the manual setup of the IIS reverse proxy here.
Therefore, to address this concern, you can opt for the non-secure web port using the standard HTTP protocol, which doesn't require encryption. To achieve this, open the Server Configuration dialog and navigate to the System Configuration | WebX screen. Disable the HTTPS port by unchecking the box, as shown below. After making these changes, be sure to apply them and restart the Geo SCADA server.
Alternatively, consider upgrading to GS 2021 or later to leverage the reverse proxy functionality.
For more information on scripting connection errors, please refer to this knowledge base article