Maximus E.
Maximus E.

Reputation: 43

Can't enroll device. Error 500

I just installed WSO2 iotserver 3.1.0 . When i try to enroll a device (Android) i get :

Enrollment failed

Please contact administrator. Code : 500

Error : java.io.EOFException

I have yet to figure out the issue. Does anyone know how to fix this?

Thanks

Upvotes: 3

Views: 1213

Answers (2)

caldera.sac
caldera.sac

Reputation: 5088

  • 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).

    • STEP 1 : Tap on Continue

enter image description here

  • STEP 2 : tap on skip and go to enrollment

enter image description here

  • STEP 3 : enter your server IP address with the port 8280. make sure port 8280 is opened in your server.

enter image description here

  • FINAL STEP : Enter the credentials like below. then your are good to go.

enter image description here

Upvotes: 0

Geeth Munasinghe
Geeth Munasinghe

Reputation: 166

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). When you are enrolling, give the server address as {IP}:8280 and username/password as 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)
  4. Due to a configuration error.

The best solution is to run the change-ip.sh script to set up the server. More information

Upvotes: 1

Related Questions