故障排除

配对代码不显示或不起作用

在下列情况下,可能无法显示或打印 配对代码

The IoT system does not connect to the database

物联网系统在连接数据库时可能需要几分钟才能重新启动。如果几分钟后仍未出现:

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 地址可以访问物联网系统的主页,但不能访问 xxx.odoo-iot.com URL

请联系您的系统或网络管理员解决问题。网络相关问题不属于 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 的通信。

注解

  • 要访问包含错误信息的完整请求异常详细信息,请 启用开发者模式 ,在物联网应用程序中点击物联网系统的卡片,然后在 物联网系统的表单 中点击 下载日志 。要定义记录在物联网系统日志文件中的日志级别,请 访问物联网盒子的主页Windows 虚拟物联网的 主页,点击 齿轮 )按钮,然后点击页面底部的 日志级别

  • 要解决与网络相关的问题,请联系您的系统或网络管理员;这些问题超出了 Odoo 支持服务的范围。

ERR_IOT_HTTPS_LOAD_REQUEST_STATUS

物联网系统成功访问了`<https://www.odoo.com>`_ ,但收到了异常的`HTTP 响应(状态码) <https://developer.mozilla.org/en-US/docs/Web/HTTP/Status>`_ 。

该错误代码包括 HTTP 状态。例如,ERR_IOT_HTTPS_LOAD_REQUEST_STATUS 404 表示服务器返回了 “未找到页面” 响应。

解决问题:

  1. 在浏览器中打开 https://www.odoo.com ,查看网站是否因维护而暂时关闭。

  2. 如果 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 证书的 资格要求