Ignition Designer - Connection Refused on Backup Restore

Hey All,

Recently I had to restore some tags from an old backup of our production Ignition instance (8.1.20). All running on Windows OS (shouldn't matter but the exact error message may differ). We have SSL/TLS configured in the production Ignition instance itself, so it's configured with the certificates and Force Secure Redirect enabled (not the default), this will become important later.

I restored this backup to a fresh install of the latest version (8.1.44).

This restore worked and in web config (when connecting via http://127.0.0.1:8088) I could see all the settings have been correctly restored, but it didn't appear to restore the SSL/TLS certificates (I didn't realise this at the time).

Note that Force Secure Redirect is still enabled, but cannot be disabled because SSL/TLS isn't configured.

When I tried to use Designer to connect to this instance (also over http://127.0.0.1:8088), I kept getting the error message "ConnectException: Connection refused: getsockopt".

Running Notepad with Administrator privileges, I could disabled the Force Secure Redirect option in the file "C:\Program Files\Inductive Automation\Ignition\data\gateway.xml" by changing the option gateway.forceSecureRedirect from true to false.

Documented here in case others have come across the same issue.

I believe this is the same experience that this post describes: Ignition Designer - Connection refused

Production screenshot showing our SSL / TLS configuration for comparison, upon restore some settings have changed, such as the port, but not the Force Secure Redirect which I think should have been.