Troubleshooting
Why adding a user locks up an Ignition Edge gateway
Short answer
When adding a user or role freezes both the Gateway Configuration pages and the Designer until a reboot, the fault is in the gateway's internal configuration database, not the client. Capture a thread dump with the gateway command-line utility before restarting, then check free disk space, antivirus exclusions and VM datastore latency, and escalate with two dumps plus the wrapper log.

On this page
- Is the hang in the browser, the network, or the gateway?
- How do I capture a thread dump before restarting?
- What does the thread dump say about the internal database?
- Is the failure limited to user and role writes?
- Which host conditions stall the internal database?
- How do I close this out with support and verify the fix?
- Questions asked
When adding a user or role freezes the browser, the Gateway Configuration pages and the Designer all at once, and only a reboot of the host PC recovers it, the fault is inside the gateway process, not the browser or the network. Both the web pages and the Designer session are served by the same gateway, and a thread dump taken during the hang shows contention for the internal configuration database. The sequence below captures that evidence before a restart destroys it, then narrows the cause hop by hop.
The case this article follows: Ignition Edge 7.9.13 on Windows 10 Pro x86, Java 1.8.0_231-b11, running as a VMware guest, with the default internal user source. A newly created user source failed the same way, and the user-admin permission toggle was already enabled.
Is the hang in the browser, the network, or the gateway? #
Because the Designer dies at the same moment as the browser page, expect the gateway itself; confirm it with two quick readings while the gateway is still hung. From a second browser or PC, request the gateway home page, and from PowerShell test the web port, which is 8088 by default:
Test-NetConnection 192.168.1.50 -Port 8088
Use the gateway's actual address and configured port. Then read the Ignition Windows service state. The three outcomes decide the next step:
- TCP connects, the page never returns, service Running: the socket was accepted but the request-handling threads are blocked inside the gateway. Go straight to the thread dump.
- TCP connect fails or times out: the fault is the VM network path, the host firewall, or a dead process. Fix that path and retest the add-user action before anything else.
- A second client loads pages normally: a browser-session problem on the first client. Clear the session and retest.
How do I capture a thread dump before restarting? #
Use the gateway command-line utility with its thread-dump option while the gateway is still hung, because a reboot destroys the only artifact that identifies the blocked lock. On 7.9 the documented flag is -t (--tdump), which performs a thread dump in the gateway and prints it to the command line; confirm the flag in your own build's help output before running it. Open a command prompt, run the utility from the Ignition install directory, and repeat it once or twice more a minute apart so you can compare holders. Save the dumps together with the wrapper log from the install's logs folder, timestamped to the hang. On 8.1.13 and later the gateway can also capture dumps automatically during high-CPU events, but for 7.9 the manual dump is the path.
Record the minimum case data alongside the dumps: Ignition version, Java build, host OS, virtualization platform, and the user-source type.
What does the thread dump say about the internal database? #
Read the dump for the pattern, not the class names. A lock holder that appears in both dumps is stuck; a holder that changes between dumps is slow.
| Pattern in the dump | Mechanism | Next step |
|---|---|---|
| Many request threads BLOCKED or WAITING on one lock | One thread holds the lock; everything queues behind it, including the Designer session | Find the owning thread and read its stack |
| Owner stack inside a database or file I/O call | The write to the internal config store never completes: storage latency, a file lock, or corruption | Run the environment checks below |
| Owner stack in user-source or security code | A fault in the user-management path itself | Escalate with the dump attached |
| No blocked threads, one thread busy on CPU | A busy loop, not contention | Take repeated dumps and compare |
The case this article follows showed the second pattern: several threads contending for the internal database, which is not normal on a healthy gateway.
Is the failure limited to user and role writes? #
Test one more write path before blaming the security code: change a benign gateway setting or create a new object under Configure while watching for the same stall. If other configuration writes also hang, the internal database write path is failing for everything and the cause is environmental; go to the next section. If only user and role writes stall on both the default internal source and a brand-new source, the fault is in the security code path for this build, and the thread dump is your escalation evidence.
Which host conditions stall the internal database? #
The internal database lives as files under the gateway's data directory, so anything that slows or locks those files stalls every configuration write at once. On a VMware guest, check these in order and record each reading:
- Free space on the volume holding the Ignition data directory. Zero or near-zero free space blocks every write.
- Real-time antivirus or backup agents scanning the Ignition install and data directories. The manufacturer's documented exclusion list covers the Ignition installation directory for the Gateway service; add the exclusion, retry the add-user action, and compare. A broader write-up of antivirus exclusions on a SCADA host is in this guide to configuring Citect 2018 antivirus exclusions and support.
- Datastore latency on the VM host during the hang. A saturated or snapshot-heavy datastore shows up as stalled file I/O in the owning thread's stack.
- Service-account permissions on the data directory.
Note the Java build in the case (here 1.8.0_231) but do not swap runtimes on 7.9.13 without the manufacturer's guidance. Take a gateway backup from a working state before any change, and test recovery by restarting the Ignition service rather than rebooting the PC: if a service restart clears the lockup, the fault is inside the gateway process, not Windows.
How do I close this out with support and verify the fix? #
A gateway that stops answering every client on a routine security edit is a defect-class problem, so open a case with the manufacturer's support and offer a live session; the internal database state is only visible live. Attach the two thread dumps, the wrapper log, the version data above, and the results of the checks in this article.
After a fix or host-side correction, verify in this order: create a test role and confirm the page returns within normal response time; create a test user in the default internal source and assign the role; create a test user in a new user source; keep the Designer open through each step and confirm it stays connected; finally restart the Ignition service and confirm the test role and users persist in Gateway Configuration. If the gateway is an edge box that keeps failing after these fixes, the fallback is replacing the unit with a fanless industrial mini PC as the gateway host; the repair always comes first.
Questions asked
Can I recover the gateway without rebooting the PC?
Restart the Ignition Windows service first. If the gateway pages load after the service restart, the blocked state lived inside the gateway process, and the restart is the faster recovery. Capture the thread dump before restarting, because the restart destroys the evidence.
Does the Allow User Admin setting cause the lockup?
No. In the reported case it was already checked, and the hang occurred both on the default internal user source and on a newly created one. The fault sits behind that toggle, in the configuration write path, so re-checking the box changes nothing.
Can I take the thread dump after the gateway stops responding?
Yes, as long as the gateway service is still running. The gateway command-line utility talks to the process directly, not through the web pages, so it works while the browser is frozen. If the service itself has stopped, there is no dump to take.
Why ask for two thread dumps instead of one?
A single dump shows who held the lock at one instant. Two dumps taken a minute or more apart show whether the same thread still holds it, which means stuck, or whether the holder changes, which means slow storage rather than a deadlock.
Could a newer Ignition version avoid this fault?
No documented fix for this exact hang is published. Test an upgrade in a copy of the system with the same add-user steps before moving production, and keep the thread dumps from the failing version for the support case either way.

