简体   繁体   English

无法注册设备。 错误500

[英]Can't enroll device. Error 500

I just installed WSO2 iotserver 3.1.0 . 我刚刚安装了WSO2 iotserver 3.1.0 When i try to enroll a device (Android) i get : 当我尝试注册设备(Android)时,我得到:

Enrollment failed 注册失败

Please contact administrator. 请联系管理员。 Code : 500 代码:500

Error : java.io.EOFException 错误:java.io.EOFException

I have yet to figure out the issue. 我还没弄清楚这个问题。 Does anyone know how to fix this? 有谁知道如何解决这一问题?

Thanks 谢谢

This could happen due to multiple issues. 这可能由于多个问题而发生。

  1. If you are using HTTPS instead of HTTP without installing the certificates to the android agent (For this you will have to compile the Android agent. More information ). 如果您使用HTTPS而不是HTTP而不将证书安装到Android代理程序(为此您必须编译Android代理程序。 更多信息 )。 When you are enrolling, give the server address as {IP}:8280 and username/password as admin/admin. 注册时,请将服务器地址指定为{IP}:8280,将用户名/密码指定为admin / admin。
  2. If the server is not accessible by the device. 如果设备无法访问服务器。 Please make sure that device is in a network which has access to the server. 请确保该设备位于可以访问服务器的网络中。
  3. Ports not being opened.(8243, 8280, 9443, 9763) 港口未开通。(8243,8280,9443,9763)
  4. Due to a configuration error. 由于配置错误。

The best solution is to run the change-ip.sh script to set up the server. 最好的解决方案是运行change-ip.sh脚本来设置服务器。 More information 更多信息

  • Do it like below : 如下所示:

    do not give your server ip address (112.234.34.888) or the IP address with 9443 port like (112.234.34.888:9443) . 不要给你的服务器IP地址(112.234.34.888)或9443端口的IP地址(112.234.34.888:9443)

    • STEP 1 : Tap on Continue 第1步:点击继续

在此输入图像描述

  • STEP 2 : tap on skip and go to enrollment 第2步 :点击跳过并进入注册

在此输入图像描述

  • STEP 3 : enter your server IP address with the port 8280 . 步骤3 :使用端口8280输入您的服务器IP地址。 make sure port 8280 is opened in your server. 确保在服务器中打开端口8280。

在此输入图像描述

  • FINAL STEP : Enter the credentials like below. 最终步骤 :输入如下凭据。 then your are good to go. 那么你很高兴。

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 错误“未在Android设备上安装应用程序。” - error “application not installed on android device.” 包含3.x API类签名的代码不会在2.x设备上崩溃。 为什么? - Code containing 3.x API class signature doesn't crush on a 2.x device. Why? 无法在真实设备上运行appium脚本。 收到错误的应用错误 - Not able to run appium script on real device. getting a bad app error 无法在设备上安装App。 (使用地图API) - Failed to install App on device. (with maps api) 应用程序与您的设备不兼容。所有设备 - App not compatible with your device. ALL devices 无法调试 Artifactory 问题,无法启动,卡在 500 错误 - Can't debug Artifactory issue, can't start up, stuck with 500 error JSP无法找到我的servlet,有时它会给出错误500,有时会出现错误404 - JSP can't find my servlets, sometimes it gives error 500 and sometimes error 404 我无法在设备错误类型3上运行该应用程序 - I can't run the app on my device error type 3 点击另一个启用NFC的设备后,无法进入onNewIntent。(android) - not getting to onNewIntent after tapping to another NFC enabled device.(android) 奇怪的问题-Android应用在某些设备上崩溃。 为什么? - weird issue - android app crashes at some of the device. why is it?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM