Allow remote access from eaxCloud
Migrated page, not yet verified against the current code. Treat values, paths and examples as indicative until this notice is removed.
People in your eaxCloud organisation can open a remote session to this site at the levels you allow, sign in with the site’s own accounts, and every Studio and runtime screen at the site shows when a session is open. One click at the site ends every session.
The site decides. eaxCloud can refuse more than the site allows, never allow more: a session needs this site’s switch for its level and the organisation’s switch in eaxCloud.
Before you start
Section titled “Before you start”- This server is enrolled with eaxCloud (Tools > Cloud) and its cloud link is on.
- You are an Administrator, signed in at the site (not through remote access, not with an API token).
- View sessions work on every edition. Operate and engineer sessions need Starter, Pro or Enterprise.
- In eaxCloud, an Owner has turned on Remote access for this organisation (Remote access page).
- Network: remote access needs no firewall rule beyond the cloud link’s. It uses the same outbound address and port, and no inbound port. Turning on a switch opens a second outbound NATS connection from this server to eaxCloud; turning the last one off closes it. See One outbound path, two NATS connections.
- Open Tools > Cloud (Settings > Cloud).
- Under Remote access from the cloud, turn on View. Operate and Engineer stay disabled until View is on: they need it.
- Turn on Operate or Engineer only if people need them remotely.
- Check the options:
- Someone at the site accepts each session (on by default): an operate or engineer session waits until a person signed in at the site, at Shift_Operator level or above, accepts it. No answer in 2 minutes refuses it. Turn it off only for an unattended site.
- Co-sign remote deploys and Co-sign remote tag writes: a second person signs, in their own session, before the change goes through. Co-sign remote deploys also makes every remote change that acts on the plant wait for another site user’s approval (below).
- Longest session (minutes): 0 keeps the built-in limits (view 4 h, operate and engineer 60 min, 15 min idle). A number here can only shorten them.
- Choose Save switches…, type a reason and confirm. The change is in force at once and recorded in the audit trail; sessions it no longer allows end immediately.
- In the Security workspace, edit each account that may sign in remotely and tick May sign in remotely. It is off by default. Single sign-on accounts (OpenID Connect, SAML) cannot sign in remotely, so the box is disabled for them; local and directory (LDAP) password accounts can.
- Product
- Person or role
- Data or telemetry
- Authentication
- Refusal
Read as text
A person in eaxCloud asks for a session at a level. eaxCloud checks the organisation's switch and the site's switch, then offers the session to the site. The site checks the offer again on its own. An operate or engineer session then waits for a person at the site to accept it, unless the site turned "Someone at the site accepts each session" off; a view session never waits. Once the session is open, the remote person signs in with a site account marked "May sign in remotely". People at the site can end every remote session at once.
Participants
- Remote user (person or role): in eaxCloud
- eaxCloud (product): the relay
- eaxScada (product): at the site
- Site user (person or role): signed in
Steps, in order
- Remote user → eaxCloud (data or telemetry): Asks for a session. View, Operate or Engineer
- eaxCloud: Checks first: the organisation's switch is on; the site's switch for the level is on; node online, within the caps
- A check fails:
- eaxCloud → Remote user (refusal): Refuses with the reason. nothing is offered to the site
- eaxCloud → eaxScada (data or telemetry): Offers the session
- eaxScada: Checks again on its own: its own switch; no 60-minute block; edition, caps, expiry
- A check fails:
- eaxScada → Remote user (refusal): Refuses. REMOTE_SESSION_REFUSED
- Site accepts:
- eaxScada → Site user (data or telemetry): Asks to accept. Shift_Operator or above
- Site user → eaxScada (reply): Accept. REMOTE_SESSION_ACCEPTED_LOCAL
- Refused at the site:
- Site user → eaxScada (refusal): Refuse, or no answer in 2 minutes
- eaxScada → Remote user (refusal): The session does not open. REMOTE_SESSION_REFUSED
- eaxScada → Remote user (data or telemetry): Session open. switch checked again; REMOTE_SESSION_OPENED
- Remote user → eaxScada (authentication): Signs in with a site account. marked "May sign in remotely"
- Account not allowed:
- eaxScada → Remote user (refusal): Refused as a wrong password. REMOTE_LOGIN_REFUSED
- Note: Operate or engineer, open or waiting: an amber bar on every screen at the site
- End remote sessions:
- Site user → eaxScada (data or telemetry): Ends them all, with a reason
- eaxScada → Remote user (data or telemetry): Every session ends
- eaxScada: Refuses new sessions for 60 minutes: an Administrator can lift the block
Changes that act on the plant
Section titled “Changes that act on the plant”A change that takes effect without a deploy (driver connections, alarms, historian rules, eaxTags, translations, the PLC configuration, the active project, a checkpoint revert) needs another site user’s approval from a remote session when the edition is Enterprise, Co-sign remote deploys is on, or the project requires an e-signature to deploy. On Pro and Enterprise the remote engineer requests the approval from the editor, another site user approves it, and the engineer applies it once within 60 minutes. On Starter the change stays refused remotely. UDT instantiation, starter templates and deleting the active project are refused remotely with no approval. A remote Test connection is a probe: it needs no approval, never changes what the site sees, and never connects to a channel disabled on site. See Approve remote changes that act on the plant.
PLCs in a remote session
Section titled “PLCs in a remote session”- Live values in remote PLC Studio (engineer sessions only, read only). An engineer session that opens an eaxPLC’s Studio through this site sees live values. This server sends the PLC only the watch list, and does so with a PLC token minted for the session (never the browser’s credentials). Values come at most 4 times a second, and stop as soon as the session ends or its switch is turned off (checked every 250 ms). Values older than 2 s are cleared from the screen. A simulated PLC’s values are marked simulated; those of a simulated PLC the site refuses are not shown. A session can watch one PLC once, and at most 2 at a time. Each live-values connection is recorded in the change ledger (
REMOTE_PLC_TELEMETRY) when it opens and when it closes. - Remote writes through a driver channel that reaches a PLC are checked against what that PLC protects. A Modbus TCP, Modbus RTU over TCP or EtherNet/IP channel to an eaxPLC is treated as that PLC: a write over a protected or e-stop variable is refused. An eaxPLC device needs its eaxPLC id. A remote write is also refused when it reaches the storage of a tag a remote request may never write (the plant e-stop signal, a protected safety tag), even under another address. On an NJ/NX (EtherNet/IP tags) connection (Omron NJ-series and NX-series controllers) this is decided by variable name (without case): a variable covers its members and elements, so
TankcoversTank.Level. When the server cannot tell whether a write overlaps, for example a name the driver would not send orGrid[1]againstGrid[1][2], it refuses the write. - Local writes at the site are unchanged.
What people at the site see
Section titled “What people at the site see”- While an operate or engineer session is open (or waiting for the site), every Studio and runtime screen shows an amber bar: “Remote session: site user via eaxCloud (email, organisation), level, since time”. It cannot be closed while the session is open.
- View sessions show a smaller neutral chip.
- A session waiting for the site opens a dialog on every signed-in Studio and runtime client: who, which level, which organisation. Accept or Refuse; Escape refuses.
- The person working remotely sees “You are connected remotely to site” with their level.
- Instead of the control status, the person working remotely sees a small grey indicator, REMOTE: “Control status is not available remotely”. The control status names the nodes, their roles and the lease, so it is never served through remote access. This is not a fault: no banner is shown and the page does not ask for the status again. A lost connection still shows GATEWAY OFFLINE. After the page has dropped a silent live data socket, it shows the link online again only when data arrives on the next one, not when that socket opens (29 November; A reopened socket that delivers nothing). The eaxCloud side of this, which opens the remote page’s socket only once the site has accepted it, comes with the next eaxCloud release.
- In the Studio status bar of a remote session, the note does not replace anything: the bar keeps the alarm summary (for example SYSTEM NORMAL or 2 IN ALARM · 1 UNACK), and “Control status is not available remotely” is only the tooltip of that segment, in grey. A gateway fault (GATEWAY OFFLINE, STATUS UNKNOWN, STANDBY - NO CONTROL, QUORUM LOST - CONTROL REFUSED) still replaces the alarm summary, in a remote session as at the site.
- The control-status texts follow the language each person chose (English, French, German, Spanish, Italian), at the site and in a remote session: the header badge, the runtime HUD, the kiosk indicator’s tooltip and the banners. They change at once when the language changes. When the status cannot be read, the banner gives the reason in that language too: “not signed in”, “unreachable”, “unreadable answer” or the HTTP status. Node names, addresses and the server’s own drift reason are shown as they are.
What the audit trail records
Section titled “What the audit trail records”Each remote request with any method but GET and HEAD leaves a REMOTE_REQUEST record (category REMOTE) in the audit trail, whether it was answered or refused. The record holds the method, the path, the answer’s status, the session id and the eaxCloud portal identity (portal user, e-mail, organisation, level, key fingerprint). It never holds the request body.
- A request that passed the remote-access check names the signed-in site user (
site_user) and says “answered status”. - A request the remote-access check refused (
403withremote_never,remote_switch_offorremote_level) also holds the refusal and its reason, for example “POST /api/… refused 403 remote_level: not available to a view remote session”. It names no site user, because the check runs before sign-in: the portal identity says who sent it. - The refusal record is written before the
403is sent, and the refusal never depends on it: when the audit trail is down or the write fails, the request is refused all the same and the server log says “remote refusal not journaled”. - Refused GET and HEAD requests are in the server log only (“remote request refused”).
Filter the trail with category=REMOTE&action=REMOTE_REQUEST (Audit trail API).
End every remote session now
Section titled “End every remote session now”- Choose End remote sessions in the bar, or End all remote sessions now… in Settings > Cloud.
- Type a reason and confirm.
Every session ends at once and new sessions are refused for 60 minutes. An Administrator can lift the block early with Lift the block… in Settings > Cloud (reason required). Settings > Cloud also lists the sessions, with End on each row.
When the site ends a session
Section titled “When the site ends a session”Each session the site ends carries a reason. The site sends it to eaxCloud in the session’s last messages: the BYE to the browser of the person working remotely and the CLOSE for the relay. The session’s page then says why it ended, and the site’s REMOTE_SESSION_ENDED record holds the same reason.
| What ended it at the site | Reason | The remote session’s page says |
|---|---|---|
| The switch for its level is turned off, or every switch | switch_off |
“The site turned remote access off.” |
| End remote sessions, End on its row, or the 60-minute block that follows End remote sessions | local_end |
“The session was ended at the site.” |
| The site is no longer enrolled with eaxCloud, or was enrolled again as another site or node | revoked |
“Remote access for this node was revoked.” |
The server also checks these conditions on its own, every second, and ends the sessions they no longer allow. A session it ends has the reason of the cause, as in the table (29 November). Before, every session it ended was reported as revoked.
When the last switch is turned off, the remote-access connection closes after the sessions end. It is flushed first, so these last messages reach eaxCloud before it closes (29 November). The flush waits at most 500 ms, so the stop takes up to 500 ms longer in the worst case. Before, the last of them could be lost, and the relay and the person working remotely did not learn why the session ended.
Verify
Section titled “Verify”- Settings > Cloud shows each switch as in force, with no “off until you confirm” note, and the remote key fingerprint.
- In eaxCloud, the node’s details in Fleet offer the levels you turned on, with the same key fingerprint.
Troubleshooting
Section titled “Troubleshooting”| Symptom | Cause | Fix |
|---|---|---|
| A switch says “Set before remote access existed: off until you confirm” | It was set before remote access existed, so it counts as off. | Choose Confirm switches…, type a reason and confirm. |
| Settings > Cloud says config.yaml was edited by hand to add rights | A hand edit can remove rights at once but never add them. | An Administrator confirms the change in Settings > Cloud, or restarts the server. |
| Remote sessions are refused right after someone ended them | The 60-minute block after End remote sessions. | Wait, or an Administrator lifts the block in Settings > Cloud. |
| A remote sign-in fails as if the password were wrong | The account is not marked May sign in remotely, or it is a single sign-on account. | Tick the box for a local or directory account. |