故障排除¶
配对代码不显示或不起作用¶
在下列情况下,可能无法显示或打印 配对代码 :
The IoT system is not connected to the network.
The IoT system is already connected to an Odoo database. Disconnect it from the database.
The pairing code display time has expired. Restart the IoT box or the Windows virtual IoT service to generate and display the pairing code.
The IoT system does not connect to the database¶
物联网系统在连接数据库时可能需要几分钟才能重新启动。如果几分钟后仍未出现:
验证物联网系统是否可以访问数据库,服务器是否使用了多数据库环境。
Restart the IoT box or the Windows virtual IoT service.
The IoT system is connected to the Odoo database but cannot be reached¶
Verify that the IoT system and the computer running the Odoo database are connected to the same network and update the DNS settings if necessary.
无法从其他设备访问 Windows 虚拟物联网的主页¶
Ensure the device is connected to the same network as the Windows virtual IoT.
检查 Windows 防火牆配置。
The IoT system does not work after an Odoo upgrade¶
Restart the IoT box or the Windows virtual IoT service.
If the issue persists, update its image by flashing the IoT box’s card or uninstalling the Windows virtual IoT program and reinstalling the virtual IoT package.
使用 IP 位址可進入物聯網系統主頁,但使用 xxxx.odoo-iot.com 網址則無法存取¶
請聯絡你的系統或網絡管理員,以找出及解決問題。網絡相關的問題不屬 Odoo 技術支援服務涵蓋的範圍。
若路由器允許手動設定 DNS 配置,請將設定更新至使用 Google DNS 。
若路由器不支援此功能,你便需要直接在與物聯網系統互動的所有裝置及設備上,逐個更新 DNS 設定至使用 Google DNS 。有關在不同設備上設定 DNS 的說明及指示,可在各製造商的網站找到。
備註
部份物聯網設備(例如:付款終端機)可能不需要更改 DNS 也可運作,因為它們通常都預先配置了自訂的 DNS 設定。
在部份瀏覽器上,會顯示與 DNS 相關的錯誤代碼,例如: `DNS_PROBE_FINISHED_NXDOMAIN ` 。
HTTPS 證書產生過程的問題及錯誤¶
未能產生 HTTPS 證書¶
可能的原因:
The database doesn’t meet the eligibility requirements for generating an HTTPS certificate.
防火牆阻止了 HTTPS 證書正確產生。在這種情況下,請暫時停用防火牆,直至證書成功產生。
備註
部份裝置,例如內置了防火牆的路由器,可能會阻止 HTTPS 證書產生。
錯誤¶
A specific error code is displayed on the IoT system’s homepage if any issues occur during the
generation or reception of the ref:HTTPS certificate <iot/connect/https_certificate>.
小訣竅
存取物聯網系統主頁時,系統會自動檢查是否已有 HTTPS 證書;如果沒有,會嘗試產生一個。若出現錯誤,請重新載入頁面,以查看問題是否已解決。
ERR_IOT_HTTPS_CHECK_NO_SERVER¶
The server configuration is missing, i.e., the database is not connected to the IoT system.
ERR_IOT_HTTPS_CHECK_CERT_READ_EXCEPTION¶
An error occurred while attempting to read the existing ref:HTTPS certificate
<iot/connect/https_certificate>.
Verify that the HTTPS certificate file is readable.
ERR_IOT_HTTPS_LOAD_NO_CREDENTIAL¶
The contract and/or database UUID is missing from the IoT.
Verify that both values are correctly configured. To update them, access the IoT box’s or Windows virtual IoT’s homepage, click the (cogs) button, then click Credentials.
ERR_IOT_HTTPS_LOAD_REQUEST_EXCEPTION¶
表示物聯網系統嘗試存取 https://www.odoo.com 期間,發生未預期的錯誤。這可能是由網絡相關問題造成的,例如:
物聯網系統沒有互聯網連線。
網絡限制(例如:防火牆或 VPN)阻止了系統與 https://www.odoo.com 進行通訊。
備註
要查看錯誤的完整請求異常詳情及資訊,請 啟用開發人員模式,在物聯網應用程式中,按一下物聯網系統的卡片,然後在 物聯網系統的表單 中,按一下 下載系統日誌。要定義物聯網系統日誌檔案的日誌記錄級別,可 前往 IoT Box 主頁 或 Windows 虛擬物聯網的主頁 ,按一下 (齒輪) 按鈕,然後按一下頁面底部的 日誌級別。
要找出並解決網絡相關的問題,請聯絡你的系統或網絡管理員。網絡相關的問題超出 Odoo 技術支援服務的涵蓋範圍。
ERR_IOT_HTTPS_LOAD_REQUEST_STATUS¶
表示物聯網系統成功存取 https://www.odoo.com,但收到了未預期的 HTTP 回應(狀態代碼)。
此錯誤代碼會提供 HTTP 狀態代碼。例如, ERR_IOT_HTTPS_LOAD_REQUEST_STATUS 404 表示伺服器傳回「找不到頁面」的回應。
要解決此問題:
在網頁瀏覽器中開啟 https://www.odoo.com,檢查網站是否因維護工作而暫時關閉。
- 若 https://www.odoo.com 正在因維護而停止運作,請等待服務恢復。若網站正常運行,請新增一項 技術支援請求。記得在支援請求中,提供 3 位數字的 HTTPS 狀態代碼。
ERR_IOT_HTTPS_LOAD_REQUEST_NO_RESULT¶
The IoT system successfully connected to https://www.odoo.com, but the server refused to
provide the ref:HTTPS certificate <iot/connect/https_certificate>.
請檢查物聯網系統及資料庫是否符合收取 HTTPS 證書的 資格要求 。