@seedtactics/insight-client 17.0.3 → 17.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index-BqTNkPt2.js +366 -0
- package/dist/cell-status/alarms.d.ts +16 -0
- package/dist/cell-status/alarms.js +71 -0
- package/dist/cell-status/loading.js +5 -0
- package/dist/cell-status/material-details.d.ts +1 -0
- package/dist/cell-status/material-details.js +10 -1
- package/dist/components/App.js +0 -1
- package/dist/components/Navigation.js +10 -5
- package/dist/components/station-monitor/BasketLoadStationWork.js +15 -8
- package/dist/components/station-monitor/BulkRawMaterial.js +31 -18
- package/dist/components/station-monitor/CancelLoadButton.js +8 -4
- package/dist/components/station-monitor/InvalidateCycle.js +23 -18
- package/dist/components/station-monitor/LoadStation.js +21 -17
- package/dist/components/station-monitor/Material.js +34 -29
- package/dist/components/station-monitor/MoveMaterialArrows.js +13 -2
- package/dist/components/station-monitor/QuarantineButton.js +12 -4
- package/dist/components/station-monitor/QueuesAddMaterial.js +54 -49
- package/dist/components/station-monitor/StationToolbar.js +2 -1
- package/dist/components/station-monitor/SystemAlarmTooltip.d.ts +6 -0
- package/dist/components/station-monitor/SystemAlarmTooltip.js +5 -0
- package/dist/fms-insight-api.json +48 -0
- package/dist/index.html +1 -1
- package/dist/network/api.d.ts +28 -0
- package/dist/network/api.js +54 -0
- package/dist/network/current-status-session.d.ts +13 -1
- package/dist/network/current-status-session.js +15 -0
- package/docs/client-efficiency.md +158 -291
- package/docs/client-engineering.md +29 -36
- package/docs/client-launch.md +35 -34
- package/docs/client-operations.md +40 -61
- package/docs/client-quality.md +32 -47
- package/docs/client-sales.md +22 -39
- package/docs/client-scanners.md +21 -27
- package/docs/client-station-monitor.md +75 -100
- package/docs/client-tools-programs.md +30 -59
- package/docs/improve-fms.md +55 -121
- package/docs/makino.md +10 -11
- package/docs/material-quarantine.md +40 -54
- package/docs/material-tracking.md +65 -183
- package/docs/mazak.md +31 -49
- package/docs/niigata.md +61 -89
- package/docs/operator-procedures.md +83 -96
- package/docs/part-instructions.md +43 -57
- package/docs/screenshots/insight-analysis-pallets.png +0 -0
- package/docs/screenshots/insight-analysis-part-completed.png +0 -0
- package/docs/screenshots/insight-analysis-sankey.png +0 -0
- package/docs/screenshots/insight-analysis-station-oee.png +0 -0
- package/docs/screenshots/insight-basket-work.png +0 -0
- package/docs/screenshots/insight-buffer-occupancy.png +0 -0
- package/docs/screenshots/insight-closeout.png +0 -0
- package/docs/screenshots/insight-cost-percentages.png +0 -0
- package/docs/screenshots/insight-dashboard.png +0 -0
- package/docs/screenshots/insight-inspection.png +0 -0
- package/docs/screenshots/insight-load-station-details.png +0 -0
- package/docs/screenshots/insight-load-station.png +0 -0
- package/docs/screenshots/insight-loadcycle-graph.png +0 -0
- package/docs/screenshots/insight-machinecycle-graph.png +0 -0
- package/docs/screenshots/insight-machinecycle-table.png +0 -0
- package/docs/screenshots/insight-machinecycles.png +0 -0
- package/docs/screenshots/insight-machinehours.png +0 -0
- package/docs/screenshots/insight-machineoutliers.png +0 -0
- package/docs/screenshots/insight-monthly-schedules.png +0 -0
- package/docs/screenshots/insight-operations-material.png +0 -0
- package/docs/screenshots/insight-operations-overview.png +0 -0
- package/docs/screenshots/insight-operations-reports.png +0 -0
- package/docs/screenshots/insight-part-cost.png +0 -0
- package/docs/screenshots/insight-program-report.png +0 -0
- package/docs/screenshots/insight-quality-material-details.png +0 -0
- package/docs/screenshots/insight-quality-material.png +0 -0
- package/docs/screenshots/insight-quality-sankey.png +0 -0
- package/docs/screenshots/insight-quality-similar-paths.png +0 -0
- package/docs/screenshots/insight-quarantine.png +0 -0
- package/docs/screenshots/insight-queue-details.png +0 -0
- package/docs/screenshots/insight-queues-jobs-table.png +0 -0
- package/docs/screenshots/insight-queues.png +0 -0
- package/docs/screenshots/insight-sim-day-usage.png +0 -0
- package/docs/screenshots/insight-system-overview.png +0 -0
- package/docs/screenshots/insight-tool-replacements.png +0 -0
- package/docs/screenshots/insight-tool-report.png +0 -0
- package/docs/screenshots/insight-workorder-gantt.png +0 -0
- package/docs/screenshots/insight-workorders.png +0 -0
- package/docs/security.md +98 -131
- package/docs/server-config.md +39 -22
- package/docs/server-errors.md +26 -18
- package/package.json +1 -1
- package/dist/assets/index-BfycE-BU.js +0 -366
- package/docs/screenshots/insight-all-material.png +0 -0
- package/docs/screenshots/insight-choose-analysis-month.png +0 -0
- package/docs/screenshots/insight-loadstation-small.jpg +0 -0
- package/docs/screenshots/insight-quality-quarantine.png +0 -0
- package/docs/screenshots/insight-station-system-overview-buttons.png +0 -0
- package/docs/screenshots/insight-station-system-overview.png +0 -0
- package/docs/screenshots/insight-toolbar-btns.png +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/docs/security.md
CHANGED
|
@@ -2,136 +2,103 @@
|
|
|
2
2
|
title: FMS Insight Security
|
|
3
3
|
nav: FMS Insight Server > Security
|
|
4
4
|
description: >-
|
|
5
|
-
|
|
5
|
+
Configure HTTPS, authentication, and network access for the FMS Insight server and browser client.
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
Next, the reverse-proxy is configured with TLS certificates and authentication. For our small C#
|
|
106
|
-
reverse-proxy, this is done in the appsettings.json file.
|
|
107
|
-
|
|
108
|
-
#### FMS Insight Implemented Authentication
|
|
109
|
-
|
|
110
|
-
If the reverse-proxy does not implement authentication, FMS Insight itself can verify the tokens.
|
|
111
|
-
The main challenge is that the FMS Insight server requires access to the OpenID Connect Authority
|
|
112
|
-
well-known configuration document to be able to obtain the signing keys. For example, in AzureAD,
|
|
113
|
-
the well-known document is
|
|
114
|
-
`https://login.microsoftonline.com/{tenant}/v2.0/.well-known/openid-configuration` where tenant is
|
|
115
|
-
your tenant GUID. This document is required to be accessible by the FMS Insight server to obtain the
|
|
116
|
-
rotating signing keys of the identity provider. Since FMS Insight is running on the cell-controller
|
|
117
|
-
on the cell-local private network and the proxy computer denies all routed traffic, FMS Insight has
|
|
118
|
-
no direct access to the well-known configuration document.
|
|
119
|
-
|
|
120
|
-
Thus, the reverse-proxy must also proxy the well-known configuration document. That is, the
|
|
121
|
-
reverse-proxy is configured to first proxy all connections from the factory network to FMS Insight.
|
|
122
|
-
In addition, the reverse-proxy is then also configured to proxy the request from FMS Insight to the
|
|
123
|
-
OpenID Connect configuration document to the real identity provider.
|
|
124
|
-
|
|
125
|
-
The configuration in FMS Insight's [config.ini](server-config) are as follows:
|
|
126
|
-
|
|
127
|
-
- `OpenIDConnectAuthority`: The real identity-provided authority URL. For example, for AzureAD, this
|
|
128
|
-
is `https://login.microsoftonline.com/{tenant}/v2.0` where `{tenant}` is your tenant GUID.
|
|
129
|
-
- `OpenIDConnectClientID`: This is the ClientID for an implicit grant flow client. This ClientID is
|
|
130
|
-
passed to the FMS Insight webpage which then performs the implicit flow grant to authenticate the
|
|
131
|
-
user and obtain a token.
|
|
132
|
-
- `AuthAuthority`: The path to the reverse-proxy to obtain the OpenID configuration. For example, it
|
|
133
|
-
could be `http://{reverse-proxy-ip-address}/openid-authority`. The reverse-proxy should then be
|
|
134
|
-
configured to proxy all paths starting with `/openid-authority/*` to the real identity provider.
|
|
135
|
-
- `AuthTokenAudiences`: This is a list of audiences which the server uses to validate the identity
|
|
136
|
-
tokens. In almost all cases, the audience matches the ClientID. Multiple audiences are separated
|
|
137
|
-
by semi-colons. Thus this setting should be all the ClientIDs created separated by semi-colons.
|
|
8
|
+
FMS Insight serves its browser client and HTTP API from the cell's server. The default configuration
|
|
9
|
+
uses HTTP on port 5000 without authentication. Anyone who can reach that port can access data and
|
|
10
|
+
available operations, including changes to jobs and material. Configure access as part of the
|
|
11
|
+
installation's network design.
|
|
12
|
+
|
|
13
|
+
## Network Layout
|
|
14
|
+
|
|
15
|
+
In a typical Mazak installation, FMS Insight runs directly on the cell-controller computer.
|
|
16
|
+
Configure host or network firewall rules so only approved factory devices can reach the Insight
|
|
17
|
+
service. Browsers connect directly to Insight; this arrangement does not require a reverse proxy.
|
|
18
|
+
|
|
19
|
+
An alternative is to run FMS Insight on a separate, IT-managed computer with two network cards:
|
|
20
|
+
|
|
21
|
+
- One interface connects to a private cell-local network containing the controller, machines, and
|
|
22
|
+
any robot controllers used by the integration.
|
|
23
|
+
- The other connects to the factory network, where operator tablets, engineering workstations, and
|
|
24
|
+
scheduling or reporting services reach the Insight web application and API.
|
|
25
|
+
|
|
26
|
+
In this arrangement, Insight communicates with equipment on the cell-local network and serves
|
|
27
|
+
clients through its factory-facing address. Factory clients do not need direct access to the
|
|
28
|
+
equipment. Keep the cell-local network isolated from factory and internet routing, and disable IP
|
|
29
|
+
forwarding, NAT, and network bridging on the Insight computer. The two network cards provide the
|
|
30
|
+
connections; firewall and routing policy maintain the separation.
|
|
31
|
+
|
|
32
|
+
Agree on the controller connections and network addresses during commissioning. Keep equipment
|
|
33
|
+
addresses stable; a private cell network can use static addresses without depending on factory DNS
|
|
34
|
+
or DHCP. The connections required by each controller integration still need to be configured when
|
|
35
|
+
Insight runs on a separate computer. See the [Mazak integration notes](/fms-insight/mazak).
|
|
36
|
+
|
|
37
|
+
For either layout, allow approved clients to reach only the intended Insight service endpoint.
|
|
38
|
+
Provide both HTTP API and live WebSocket access through that endpoint. If sign-in is enabled,
|
|
39
|
+
browsers also need access to the identity provider, and the service validating tokens needs access
|
|
40
|
+
to its metadata and signing keys. Arrange server and device updates through the site's IT management
|
|
41
|
+
policy. HTTPS and authentication can be provided by Insight itself or by an optional reverse proxy
|
|
42
|
+
as described below.
|
|
43
|
+
|
|
44
|
+
## HTTPS and Browser Sign-In
|
|
45
|
+
|
|
46
|
+
For HTTPS directly on Insight, set `TLSCertFile` in the `SERVER` section of
|
|
47
|
+
[config.ini](/fms-insight/server-config) to a PFX certificate file. Use a certificate trusted by the
|
|
48
|
+
client devices and matching the hostname they use to reach Insight. A reverse proxy can instead
|
|
49
|
+
provide the HTTPS endpoint.
|
|
50
|
+
|
|
51
|
+
The browser client uses OpenID Connect authorization code flow with PKCE. Register it as a public
|
|
52
|
+
browser client without a client secret. Configure the redirect and post-logout URLs to the root of
|
|
53
|
+
the externally visible Insight address, including its scheme, hostname, port if used, and trailing
|
|
54
|
+
slash. The client requests the `openid profile` scopes. Configure the identity provider's browser
|
|
55
|
+
access and token settings to match the installation.
|
|
56
|
+
|
|
57
|
+
The client sends the resulting access token to the API. The service validating that token must use
|
|
58
|
+
its issuer and audience; an access token's audience is not necessarily the browser client's ID.
|
|
59
|
+
Restrict who can sign in through the identity provider's application assignments or access policy.
|
|
60
|
+
|
|
61
|
+
## Authentication in FMS Insight
|
|
62
|
+
|
|
63
|
+
The following settings in the `SERVER` section work together:
|
|
64
|
+
|
|
65
|
+
| Setting | Purpose |
|
|
66
|
+
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
67
|
+
| `OpenIDConnectAuthority` | Identity-provider authority URL used by browsers for discovery and sign-in. This is the authority base URL, not the full discovery-document URL. |
|
|
68
|
+
| `OpenIDConnectClientId` | Client ID registered for the browser application. |
|
|
69
|
+
| `AuthAuthority` | Authority used by the server to discover the issuer and signing keys for token validation. Normally the same authority as the browser uses. |
|
|
70
|
+
| `AuthTokenAudiences` | Accepted access-token audiences, separated by semicolons. |
|
|
71
|
+
|
|
72
|
+
All four settings must be present for Insight's built-in API authentication to be enabled. Setting
|
|
73
|
+
only the browser sign-in options does not protect the API. The server validates tokens for API
|
|
74
|
+
requests and the live event connection. The FMS information endpoint remains available before
|
|
75
|
+
sign-in so clients can discover the login configuration.
|
|
76
|
+
|
|
77
|
+
The validating server needs access to the identity provider's discovery document and signing keys,
|
|
78
|
+
including when keys rotate. For an isolated cell network, arrange this access explicitly with the
|
|
79
|
+
installation's IT team. A reachable discovery document alone is insufficient if its advertised key
|
|
80
|
+
endpoint is unreachable.
|
|
81
|
+
|
|
82
|
+
## Optional Reverse Proxy
|
|
83
|
+
|
|
84
|
+
A reverse proxy can provide the factory-facing HTTPS endpoint for Insight in either layout. It can
|
|
85
|
+
also be the connection between the factory network and an Insight server kept on the cell-local
|
|
86
|
+
network. Clients connect to the proxy's HTTPS address; the proxy forwards HTTP requests and the live
|
|
87
|
+
WebSocket event connection to Insight. Network rules should prevent clients from bypassing the proxy
|
|
88
|
+
to reach an unauthenticated backend.
|
|
89
|
+
|
|
90
|
+
Authentication can be enforced at the proxy or by Insight. If the proxy validates tokens, configure
|
|
91
|
+
Insight's `OpenIDConnectAuthority` and `OpenIDConnectClientId` for browser sign-in and configure the
|
|
92
|
+
proxy's issuer and access-token audiences separately. Protect API routes, including
|
|
93
|
+
`/api/v1/events`, while allowing `/api/v1/fms/fms-information` for login discovery. The event
|
|
94
|
+
connection uses a token query parameter, so the proxy must support that authentication path as well
|
|
95
|
+
as bearer tokens on ordinary API requests.
|
|
96
|
+
|
|
97
|
+
If Insight validates tokens instead, configure all four settings above and provide its required
|
|
98
|
+
access to discovery and signing keys. The browser still uses the externally reachable authority and
|
|
99
|
+
Insight address. Source for an example proxy is included in the FMS Insight repository; adapt and
|
|
100
|
+
validate the deployment for the site's network and identity provider.
|
|
101
|
+
|
|
102
|
+
After configuration changes, restart the relevant services and verify sign-in, ordinary API
|
|
103
|
+
requests, and live updates from a client device. Verify that unauthenticated access is rejected at
|
|
104
|
+
the intended boundary as well.
|
package/docs/server-config.md
CHANGED
|
@@ -2,36 +2,38 @@
|
|
|
2
2
|
title: FMS Insight Server Configuration
|
|
3
3
|
nav: FMS Insight Server > Configuration
|
|
4
4
|
description: >-
|
|
5
|
-
|
|
5
|
+
Configure the FMS Insight server and preserve its configuration, databases, and production
|
|
6
|
+
history.
|
|
6
7
|
---
|
|
7
8
|
|
|
8
|
-
|
|
9
|
+
FMS Insight can run on the cell-controller computer or a separate server, depending on the
|
|
10
|
+
integration and [network layout](/fms-insight/security#network-layout). Its settings are stored in
|
|
11
|
+
`config.ini` on the computer running Insight.
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
On Windows, the file is located in the Common AppData folder at `SeedTactics\FMSInsight\config.ini`.
|
|
14
|
+
On a default Windows install, this has a full path of
|
|
12
15
|
`c:\ProgramData\SeedTactics\FMSInsight\config.ini`. The config file itself describes the settings in
|
|
13
|
-
detail, but they fall into three groups: server settings such as network ports and
|
|
14
|
-
such as automatic serial assignment, and
|
|
16
|
+
detail, but they fall into three groups: server settings such as network ports and HTTPS, FMS
|
|
17
|
+
settings such as automatic serial assignment, and settings for the cell controller.
|
|
15
18
|
|
|
16
19
|
The first time FMS Insight starts, if the `config.ini` file does not exist, FMS Insight will create
|
|
17
|
-
a default config file.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
a default config file. Review the generated settings for the installation before production use,
|
|
21
|
+
including controller connections, queues, station names, and
|
|
22
|
+
[network access and authentication](/fms-insight/security). Any changes to settings in `config.ini`
|
|
23
|
+
require the FMS Insight server to be restarted before they take effect.
|
|
20
24
|
|
|
21
25
|
The `config.ini` file is an [INI file](https://en.wikipedia.org/wiki/INI_file). The default config
|
|
22
|
-
file contains a
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
message with details into the [event log](server-errors).
|
|
26
|
+
file contains comments prefixed by a hash (`#`) that describe each option. Optional settings are
|
|
27
|
+
often commented out with a semicolon (`;`). To enable one, remove its leading semicolon and edit the
|
|
28
|
+
value. Restart the FMS Insight server after editing the configuration. Configuration errors are
|
|
29
|
+
reported in the [event log](/fms-insight/server-errors).
|
|
27
30
|
|
|
28
31
|
## Databases
|
|
29
32
|
|
|
30
33
|
FMS Insight uses [SQLite](https://www.sqlite.org/) to store data about the cell. The primary data
|
|
31
34
|
stored is a log of the activity of all parts, pallets, machines, jobs, schedules, inspections,
|
|
32
|
-
serial numbers, orders, and other data.
|
|
33
|
-
|
|
34
|
-
completed work on retries.
|
|
35
|
+
serial numbers, orders, and other data. Alongside production history, the databases store current
|
|
36
|
+
material and basket state and records needed to avoid repeating completed operations.
|
|
35
37
|
|
|
36
38
|
The SQLite databases are by default stored locally in the Windows Common AppData folder which on a
|
|
37
39
|
default Windows install is `c:\ProgramData\SeedTactics\FMSInsight`. This path can be changed in the
|
|
@@ -39,17 +41,32 @@ default Windows install is `c:\ProgramData\SeedTactics\FMSInsight`. This path ca
|
|
|
39
41
|
performance and data integrity (SQLite works best on a local drive). Database size grows with
|
|
40
42
|
production activity and retained history; allow space for both production databases and backups.
|
|
41
43
|
|
|
44
|
+
## Backup and Recovery
|
|
45
|
+
|
|
46
|
+
Back up `config.ini`, any additional integration configuration, and the certificates or credentials
|
|
47
|
+
needed to restore the service, following the site's access-control policy. If scheduling uses
|
|
48
|
+
separate planning files or configuration, include those in the installation's backup procedure.
|
|
49
|
+
|
|
42
50
|
Preserve production databases and back them up before upgrades. Use a backup method that captures a
|
|
43
51
|
consistent SQLite database, such as stopping the server before copying its database files. If an
|
|
44
52
|
integration maintains additional coordination databases, follow its procedure for backing up the
|
|
45
53
|
complete installation consistently.
|
|
46
54
|
|
|
47
|
-
Deleting a
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
physical cell
|
|
51
|
-
|
|
55
|
+
Deleting or restoring a database can leave Insight's records out of step with the physical cell. A
|
|
56
|
+
fresh database cannot reconstruct all of that state from the equipment. Follow the integration's
|
|
57
|
+
recovery procedure before resetting or restoring databases, and reconcile the restored records with
|
|
58
|
+
the physical cell. A backup from an earlier point in production is not automatically safe to restore
|
|
59
|
+
against a cell that has continued operating.
|
|
52
60
|
|
|
53
61
|
Fresh databases can be used for controlled QA or initial commissioning when the physical cell and
|
|
54
62
|
the integration's state have been prepared for a fresh start. FMS Insight creates missing databases
|
|
55
63
|
at startup; integrations may impose additional startup and initialization requirements.
|
|
64
|
+
|
|
65
|
+
## External Production History
|
|
66
|
+
|
|
67
|
+
For long-term retention or reporting, a separate service can collect production records through
|
|
68
|
+
Insight's HTTP API and live WebSocket event stream and store them in a system managed by the site.
|
|
69
|
+
It needs access to the Insight endpoint and any configured authentication, not to the machine
|
|
70
|
+
network. An event collector should reconnect after interruptions and retrieve missed records from
|
|
71
|
+
the API; a live connection alone does not provide a complete archive. Exported production history
|
|
72
|
+
serves a different purpose from a backup of the installation's configuration and operational state.
|
package/docs/server-errors.md
CHANGED
|
@@ -2,29 +2,37 @@
|
|
|
2
2
|
title: FMS Insight Errors
|
|
3
3
|
nav: FMS Insight Server > Errors
|
|
4
4
|
description: >-
|
|
5
|
-
|
|
6
|
-
Event Viewer.
|
|
5
|
+
Find FMS Insight errors in client messages, server logs, and the Windows Event Viewer.
|
|
7
6
|
---
|
|
8
7
|
|
|
9
|
-
# FMS Insight Error Logging
|
|
10
|
-
|
|
11
8
|
When the FMS Insight server encounters an error, it reports the error back over the network to the
|
|
12
9
|
software that requested the operation (such as the Insight client web page). The FMS Insight server
|
|
13
|
-
also logs
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
also logs more details on the computer running Insight, which may be the cell controller or a
|
|
11
|
+
separate server. For a Windows service installation, check the Windows Event Log. For other
|
|
12
|
+
deployments, check the console output captured by the service or container manager.
|
|
13
|
+
|
|
14
|
+
## Client Messages
|
|
15
|
+
|
|
16
|
+
If a material action is rejected, read the reason shown in the dialog and review the current status
|
|
17
|
+
before trying again. A load instruction may have changed, the material may no longer be eligible for
|
|
18
|
+
the action, or an alarm may be suspending changes. See the
|
|
19
|
+
[station guidance](/fms-insight/client-station-monitor#alarms-and-unavailable-actions) for alarms.
|
|
20
|
+
|
|
21
|
+
Configuration and startup failures can also appear in the client. Record the displayed message and
|
|
22
|
+
check the server log for the underlying cause. Resolving a configuration problem may require a
|
|
23
|
+
service restart; deleting the production database is not a general troubleshooting step. Follow the
|
|
24
|
+
[database recovery guidance](/fms-insight/server-config#backup-and-recovery) if stored state is
|
|
25
|
+
involved.
|
|
16
26
|
|
|
17
27
|
## Windows Event Viewer
|
|
18
28
|
|
|
19
29
|
The location of the viewer is different in different versions of Windows; on Windows 10 and 11, open
|
|
20
|
-
the start menu and search for "Event Viewer"
|
|
21
|
-
"
|
|
22
|
-
navigate to "Windows Logs" and then "Application" in the tree on the left (see the screenshot
|
|
23
|
-
below).
|
|
30
|
+
the start menu and search for "Event Viewer". To view the events in the event viewer, navigate to
|
|
31
|
+
"Windows Logs" and then "Application" in the tree on the left (see the screenshot below).
|
|
24
32
|
|
|
25
33
|

|
|
26
34
|
|
|
27
|
-
The
|
|
35
|
+
The Windows Event Viewer shows events from all applications. FMS Insight generates events with "FMS
|
|
28
36
|
Insight" as the event source, which allows you to create a custom view to filter only the events
|
|
29
37
|
from FMS Insight. To do so, go to the action menu, click "Create Custom View", and fill in "FMS
|
|
30
38
|
Insight" as the event source (see the screenshot below).
|
|
@@ -35,9 +43,9 @@ Insight" as the event source (see the screenshot below).
|
|
|
35
43
|
|
|
36
44
|
To assist with debugging, FMS Insight has the ability to output a trace of activity with events for
|
|
37
45
|
almost all actions that FMS Insight takes. The debug trace is disabled by default because it
|
|
38
|
-
generates a lot of data. To enable it, edit the [config file](server-config) and change
|
|
39
|
-
"EnableDebugLog" to true. The FMS Insight server must be restarted before the config
|
|
40
|
-
effect. The debug trace log will be generated into the global AppData folder, which
|
|
41
|
-
`c:\ProgramData\SeedTactics\FMSInsight`. The
|
|
42
|
-
|
|
43
|
-
after a day or two because it generates a lot of data.
|
|
46
|
+
generates a lot of data. To enable it, edit the [config file](/fms-insight/server-config) and change
|
|
47
|
+
the setting "EnableDebugLog" to true. The FMS Insight server must be restarted before the config
|
|
48
|
+
setting takes effect. The debug trace log will be generated into the global AppData folder, which on
|
|
49
|
+
Windows defaults to `c:\ProgramData\SeedTactics\FMSInsight`. The JSON-formatted files have dated
|
|
50
|
+
names such as `fmsinsight-debug20261028.txt`, with a new file each day; older files may be
|
|
51
|
+
compressed. Remember to disable the trace log after a day or two because it generates a lot of data.
|