12. FAQ
12.1. Cannot Open the Gateway Management Page
Section titled “12.1. Cannot Open the Gateway Management Page”Use an Ethernet cable to connect the gateway’s LAN1 or LAN2 port to the LAN port of your computer, either directly or through a switch.
Check the computer’s network settings. Its IP address must be on the same subnet as the gateway’s port, and the subnet mask must be identical. The gateway’s LAN1 port defaults to IP address 192.168.100.1 with subnet mask 255.255.0.0; the LAN2 port obtains both its IP address and its subnet mask automatically. If LAN1’s IP address and subnet mask have been changed and you no longer remember the current values, connect through LAN2 instead.
Check whether the gateway’s power LED is lit steadily and whether the network port LED is blinking. If the power LED is off, the gateway is not powered on. If the port LED is not blinking, check both ends of the Ethernet cable and make sure the computer and the gateway are properly connected.
If the power LED is on and the port LEDs at both ends are blinking, a network connection between the computer and the gateway has been detected. Open the gateway management page on the computer. If it does not open, enter one of the following commands in the computer’s command prompt, depending on the operating system:
ping IOTGW -4 (Windows)ping IOTGW.local (Linux or Mac)If the ping succeeds and the reply shows the IP address of the gateway’s current port, communication between the computer and the gateway is working. If the gateway management page still will not open, contact customer support.
If the ping fails, disconnect all other devices, make sure the computer is connected to a single gateway only, and run the command again.
If the command now succeeds, either the gateway or the computer had an IP address conflict with a device that has since been disconnected from the LAN. Change the conflicting IP address.
If the ping fails again, there is a network fault between the computer and the gateway, usually caused by the network port or the cable.
12.2. The Gateway Page Is Blank or Incomplete in the Browser
Section titled “12.2. The Gateway Page Is Blank or Incomplete in the Browser”The browser you are using does not support the page framework. Use Google Chrome, Microsoft Edge or Apple Safari. If none of these is available, download and install the latest version of Chrome.
12.3. Changing the Gateway’s LAN1 IP Address
Section titled “12.3. Changing the Gateway’s LAN1 IP Address”Open the gateway management page and click Network in the navigation bar. LAN1’s IP address can be changed in the network settings; see 3.7.1. Wired Network.
12.4. Finding the Gateway’s Current LAN2 IP Address
Section titled “12.4. Finding the Gateway’s Current LAN2 IP Address”Use an Ethernet cable to connect the gateway’s LAN2 port to the LAN port of your computer, either directly or through a switch. Follow 5.1. Cannot Open the Gateway Management Page and run the command to obtain the address of the gateway port you are connected to.
12.5. Recovering the LAN1 IP Address
Section titled “12.5. Recovering the LAN1 IP Address”Use an Ethernet cable to connect the gateway’s LAN2 port to the LAN port of your computer, either directly or through a switch. Sign in from the computer using the domain name (see 3.1. Signing In); alternatively, find LAN2’s current IP address first (see 5.4. Finding the Gateway’s Current LAN2 IP Address) and sign in with that IP address.
Go to Network and change the LAN1 address (see 3.7.1. Wired Network).
12.6. Resetting the Gateway’s LAN1 Settings
Section titled “12.6. Resetting the Gateway’s LAN1 Settings”Gateway software version 1.5.6.8 and later supports resetting LAN1. Rename any USB flash drive that is not a system boot disk (used for installing the operating system) to “resetlan1” (case does not matter) and plug it into any USB port on the gateway. After the gateway is shut down and restarted, LAN1’s IP address and subnet mask are automatically reset to the factory settings: IP address 192.168.100.1, subnet mask 255.255.0.0. Remove the USB drive once the reset is complete, otherwise the reset will run again on the next restart.
12.7. Cannot Read Machine Data from API Test
Section titled “12.7. Cannot Read Machine Data from API Test”If you cannot read data from the target machine on the API Test page, follow the returned error code and its remedy. The main API Test error codes are listed below.
Error Code: 3, Machine off or offline
Remedy: Unable to communicate with the machine. Please check: 1. the machine is turned on; 2. the machine and the gateway are on the same subnet of the same LAN; 3. the machine’s network is properly set ①; 4. the gateway is properly configured ②; 5. network hardware such as ports, cables and switches is working correctly.
Error Code: 102, Machine network error, unable to read data
Remedy: Please ensure the machine’s communication service is started. Check whether another device on the LAN conflicts with this machine’s IP address ③, and try changing the machine’s IP address.
Error Code: 10003, machineID does not exist
Remedy: The machineID is wrong, the corresponding machine is not activated, or the gateway service was not restarted after the machine’s IP address or activation status was edited.
Error Code: 10006, API not authorized
Remedy: Contact Bivrost if you need to use an unauthorized API.
The remaining error codes are described in section 5.2. Error Handling. If the error code does not let you resolve the problem, contact customer support for remote assistance; see 5.10. Getting Remote Assistance.
12.8. Cannot Get Automatically Collected Machine Data over MODBUS, MQTT or a Database
Section titled “12.8. Cannot Get Automatically Collected Machine Data over MODBUS, MQTT or a Database”On the gateway’s API Test page, check whether the machine’s common data can be read; see 3.8. API Test.
If it cannot, follow 5.7. Cannot Read Machine Data from API Test.
If API Test does return machine data, open the Machines page, then the “Edit Machine” dialog and its “Task” tab, and check whether the machine’s automatic collection tasks are enabled; see 3.3.1.2. Task Settings. Task results are only uploaded automatically over the protocols once the corresponding automatic collection tasks are enabled.
Check the settings for the protocol you are using on the gateway’s Communication page; see 3.6. Communication.
Once all of the gateway settings above are confirmed, click Restart Service on the gateway’s home page.
If the automatically collected data still does not arrive over MODBUS, MQTT or the database, check the settings of the receiving system and the network connection between it and the gateway.
12.9. Cannot Get Automatically Collected Group Data over MODBUS, MQTT or a Database
Section titled “12.9. Cannot Get Automatically Collected Group Data over MODBUS, MQTT or a Database”First confirm that the target group has been added successfully on the gateway’s Groups page and is activated; see 3.4. Groups.
Check the group’s settings in the “Edit Group” dialog on the gateway’s Groups page, and make sure the group contains at least one machine; see 3.4.2. Editing a Group.
In the “Group Task Settings” dialog for that group on the gateway’s Groups page, check whether the automatic collection tasks are enabled; see 3.4.1.2. Group Task Settings. Task results are only uploaded automatically over the protocols once automatic collection is enabled.
On the gateway’s API Test page, check whether the common data of the machines in the group can be read; see 3.8. API Test. If it cannot, follow 5.7. Cannot Read Machine Data from API Test.
Once everything is confirmed, click Restart Service on the gateway’s home page and run the collection test again.
12.10. Getting Remote Assistance
Section titled “12.10. Getting Remote Assistance”Scan the QR code on the cover to contact customer support and describe the problem; support will assign an engineer to work with you.
Once remote assistance has been agreed, connect the gateway’s LAN2 port to the internet (if LAN2’s settings have been changed, make sure the current settings still allow internet access), or connect the gateway to the internet over WiFi (see 3.7.2. WiFi Settings). Then sign in, open Home, confirm that “Network” under “Gateway Status” reads “Connected” and that the “Remote Assistance” switch in the “Settings” dialog is turned on, and notify the engineer you are working with.
12.11. The Gateway or a Machine Has an IP Conflict with Another Device on the LAN
Section titled “12.11. The Gateway or a Machine Has an IP Conflict with Another Device on the LAN”An IP address or a whole subnet already being in use is a common problem when connecting the gateway or a machine to a network. It can be resolved as follows:
- Put the gateway and the machines on their own router, isolated from other devices.
- When connecting, make sure the gateway and the machines do not use an IP address or subnet mask that is already taken.
- In the router’s management page, bind the static IP addresses of the gateway and the machines to their MAC addresses so that those IP addresses are not handed out to other devices automatically.
If IP addresses cannot be bound to MAC addresses, apply either of the following settings in the router’s management page:
- Disable the router’s DHCP server so that IP addresses are no longer assigned automatically and devices can only be connected with manually configured addresses.
- Restrict the router’s DHCP address pool so that it does not overlap the addresses configured on the gateway and the machines.
For the router settings themselves, refer to the router’s own manual.
12.12. The DNC Page Can List, Receive, Send and Delete Files but the Matching API Calls Fail
Section titled “12.12. The DNC Page Can List, Receive, Send and Delete Files but the Matching API Calls Fail”The path or file name contains unsafe characters such as special symbols or spaces, which must be converted to URL encoding. For example, the path TNC:\nc_prog becomes TNC%3A%5Cnc_prog, and Sinumerik/FileSystem/Part Program becomes Sinumerik/FileSystem/Part%20Program. Most browsers and test tools apply URL encoding automatically, but some software still requires you to convert the path by hand when calling the API.
12.13. HTTP communication returns “This site can’t be reached (ERR_CONNECTION_REFUSED)”
Section titled “12.13. HTTP communication returns “This site can’t be reached (ERR_CONNECTION_REFUSED)””Please check whether the computer you are using can access the gateway management page. If not, check whether the gateway is powered on and whether the network connection between the current computer and the gateway is normal.
12.14. HTTP communication returns "errorCode":3
Section titled “12.14. HTTP communication returns "errorCode":3”Please use the Interface Test feature on the gateway management page to check the communication between the gateway and the machine tool. (See 3.8. Interface Test.) If you cannot find the target device in the “Select Machine” dropdown on the Interface Test page, it means the device has not been added or activated. Please refer to 3.3. Machine Configuration to add and activate the machine. After completing the setup, you must click Restart Service on the Home page.
If you found the target device on the Interface Test page under “Select Machine” but clicking Read Device returns “Read Failed”, please follow the “Troubleshooting” guidance shown below “Read Failed”.
12.15. No data is received during MODBUS or MQTT communication
Section titled “12.15. No data is received during MODBUS or MQTT communication”Please check the machine’s automatic data collection settings (see 3.3. Machine Configuration). After completing the setup, you must click Restart Service on the Home page.
Please check the task configuration (see 3.5. Task Configuration). After completing the setup, you must click Restart Service on the Home page.
If you still cannot receive any data, please follow the steps described in 7.2.
12.16. Valid data cannot be obtained at a given address during MODBUS communication
Section titled “12.16. Valid data cannot be obtained at a given address during MODBUS communication”A common cause is a misconfigured MODBUS client — it should be configured as 0-based rather than 1-based. The gateway’s MODBUS server is configured as 0-based; if the client is 1-based, the address must be incremented by 1. For testing, it is recommended to use the Modbus Poll software to read address data — when setting the address range, do not check “(Base 1)”, i.e. configure it as 0-based.
Some CNC models with older system software versions do not support certain data collection items; the address data corresponding to these items remains 0.
12.17. Local InfluxDB Installation and Startup Directories on Windows Gateways
Section titled “12.17. Local InfluxDB Installation and Startup Directories on Windows Gateways”For a new installation, the standalone InfluxDB installer accepts only the complete installation directory. For example:
installInflux.bat "D:\Program Files\InfluxData\influxdb"Data is automatically stored in the installation directory’s data subdirectory, which is D:\Program Files\InfluxData\influxdb\data in this example. No separate data argument is needed. A factory reset clears this subdirectory and preserves the program files. The installer does not overwrite an existing service or migrate existing data; existing services retain their original data location.
If an existing service logs AppDirectory is unset and falls back to C:\Windows, maintenance personnel should set NSSM’s Application to the full path of influxd.exe, set AppDirectory to its containing directory, and restart the InfluxDB service. Keep the existing data location when repairing the startup directory. A gateway firmware upgrade does not automatically change the independently installed InfluxDB service configuration.
A service shown as “Paused” may be waiting for NSSM to retry startup. Check the InfluxDB logs for errors such as a port conflict rather than assuming the directory warning is the cause. A manual run under an administrator account may use different data from the LocalSystem service; identify and back up the original service data before migration.

