Tiza Group

Home / Guides / Testing, commissioning and faults

Operator Session Closes in the Middle of Switching

Why the operator session expires during switching: inactivity, credential validity, clocks, links or server failover. We configure it remotely.

By Shadai García, CEO and protection engineer at Tiza Group.

Short answer

A session that closes during switching follows either a rule or a fault: a poorly measured inactivity timeout, a credential whose validity ends, clocks out of step, an unreachable directory, the same account open at another station, or an application or link restart. First confirm the real state of the equipment before repeating any command.

Symptom

The operator is running a sequence, opens the confirmation box or selects the next device, and gets the login screen, a “permission denied” or greyed-out buttons. Sometimes the window stays open but the command no longer goes out. It may always happen after a similar number of minutes, at a fixed time or erratically.

The danger is the half-finished switching: the operator does not know whether the order left, whether the device remained selected or where in the sequence things stand. How each user receives permissions is described in role-based access control under IEC 62351-8.

Before diagnosing: bring the installation to a known state

  • Stop the sequence. Do not move on to the next step.
  • Confirm the device position by indication and measurements; if in doubt, by verification on site.
  • Tell whoever coordinates the switching and note the exact time on screen.
  • Resume only with a valid session, reviewing the sequence from the last verified step.

Likely causes, from most to least likely

CauseHow to recognize itWhat confirms itWhat rules it out
Inactivity logout that ignores what the operator is doingHappens while waiting for clearance, on the radio or looking at another screenTime from last action to closure is nearly constant and equals the settingIt closes while the keyboard is in use
Maximum session or credential validityCloses at the same time after login, active or notClosing time equals login plus validityDuration varies widely between sessions
Clocks out of step between station, server and credential issuerEarly closures or rejections right after loginMeasurable clock difference or lost time sourceAll synchronized to the same source
Directory or authentication server unreachableFails at renewal; coincides with network troubleDirectory connection errors at that timeServer responds and logs no errors
Application or server restart or failoverSeveral stations drop at onceChange of active server or restart in the logsOnly one station affected
Unstable remote session linkHappens on remote access, not on the local stationFirewall or VPN drops the connection, sometimes on its own timerThe closure appears on the local HMI
Account in use at two stationsCloses when someone else logs inLog shows another login with the same userNo simultaneous logins
Role change or revocationStarts after account changesAudit trail with a group, role or certificate changeNo changes in the period

How to diagnose it

  1. Reconstruct three or more cases: user, station, login time, time of last action, closing time and what was being done.
  2. Calculate two differences: closure minus login and closure minus last action. The one that stays constant points to total validity or inactivity; if neither does, look for external events.
  3. Compare the clocks of the station, HMI server, authentication server and the devices that validate the credential.
  4. Read the security logs of the HMI, operating system, directory and IED or gateway. Look for the stated reason: expiry, disconnection, closure by another login or administrator action.
  5. Find where each timer lives. There may be one in the application, another in the operating system screen lock, another in the remote session, another in the firewall and another in the relay. The shortest one wins.
  6. Tell lock from logout. A lock hides or blocks action and keeps the session; a logout destroys it and may discard the pending selection.
  7. Check the command. In IEC 61850 select-before-operate, the selection has its own time limit (sboTimeout), independent of the session: a command that expires is not the same as a session that closes.
  8. Reproduce without switching: on a test system, or by leaving a session open and watching when and with what message it ends.

What to do

  • Inactivity: set the value according to the station and risk, measuring how long legitimate waits during switching last. Consider locking instead of logging out if the system allows it and the room is controlled.
  • Maximum validity: aim to cover the shift with margin, or have renewal warn in advance without interrupting a command in progress.
  • Time: restore synchronization before touching session settings.
  • Central authentication down: define emergency local accounts, held in custody, audited and tested.
  • Shared or duplicated accounts: one per person and an explicit handover procedure.
  • Redundancy: check whether the session survives a failover; if not, the procedure must say what to verify on logging back in.
  • Remote access: align firewall, VPN and application timers. An unattended remote session should end.

IEC 62443-3-3 includes requirements for session lock, remote session termination and concurrent session control, and starts from the principle that security measures must not impede essential functions. The setting is decided by operations and security together, not by one alone.

Reading logs and comparing times is safe. Changing access policies can lock everyone out: do it with a backup, a tested recovery user and outside switching operations.

Illustrative example

Three closures: logins at 06:02, 08:15 and 10:40; last actions at 07:11, 08:47 and 12:05; closures at 07:21, 08:57 and 12:15. Closure minus login gives 79, 42 and 95 minutes, with no pattern. Closure minus last action gives 10 minutes in all three.

It is inactivity. In all three the operator was waiting for telephone clearance for the next step, watching the diagram without touching anything: the application only counted clicks and keystrokes. The operating team agreed on a screen lock with re-entry by the same user, which keeps the sequence, and kept the short logout on remote access. The values were documented and tested.

Field checklist

  • Real state of the switched device confirmed.
  • Login, last action and closing times noted.
  • Exact screen message saved.
  • Clocks compared.
  • Application, system, network and device timers listed.
  • Authentication and event logs reviewed.
  • Simultaneous logins of the account ruled out.
  • Recent role or certificate changes checked.
  • Duration test done without real switching.

What not to do

  • Do not repeat the command without confirming the device position.
  • Do not use a colleague’s password to finish the switching.
  • Do not remove session limits on every station and access path.
  • Do not move the clock by hand to “stretch” the credential.
  • Do not change roles or policies with switching in progress.

When to call us

If you cannot find which timer closes the session, if central authentication fails, or you need roles and times that protect without hindering switching, we review logs, directory, HMI and devices. We configure it remotely. Write to us.

References

  • IEC 62351-8, role-based access control for power system management.
  • IEC 62443-3-3, system security requirements and security levels.
  • IEC 61850-7-2, abstract communication service interface and control models.
  • NIST SP 800-53, controls AC-11 (device lock) and AC-12 (session termination).
  • IEEE 1686, cybersecurity capabilities of intelligent electronic devices.

Frequently asked questions

What do I do if the session closes right after selecting or executing a command?

Do not repeat the command. Verify the actual position of the equipment and the measurements, check the event log to see whether the order arrived and executed, and report per the operating procedure. Only then decide how to continue the sequence.

Should the inactivity logout be disabled on the operator station?

Not as a reaction. It is a risk decision: a permanently attended station with controlled physical access may justify different treatment from a remote session, but it must be decided, documented and compensated with other controls.

Does a generic shift account solve the problem?

It hides the symptom and creates another: you no longer know who switched. It is better to keep individual accounts with roles and adjust session validity and the handover procedure.

WhatsApp