Can't register an Android device on AEM Screens | Community
Skip to main content
anuj_khanna_77
Level 2
February 15, 2017
Solved

Can't register an Android device on AEM Screens

  • February 15, 2017
  • 13 replies
  • 6511 views

Hi,

I am trying to setup and register an Android device with AEM screens but can't get it done. I am using OOTB geometrixx screens project setup and have my Tablet running Android. I have pointed AEM player to my AEM instance running AEM screens. I can see my device listed under pending devices, i click Validate button and goto metadata step. Here i provide a name "My Test Name" in Title filed and click on Register, i get an error and device fails to register. On the UI, i see an error "ParseError: Unexpected end of Input JSON". I check the error in developer console, there is a request to content/screens/svc/registration resource but the response is an empty JSON. I then checked AEM logs and can see the following exception

 

15.02.2017 05:57:57.650 *ERROR* [202.166.132.190 [1487167077627] POST /content/screens/svc/registration HTTP/1.1] com.adobe.cq.screens.device.registration.impl.RegistrationServlet Error during device registration javax.jcr.nodetype.ConstraintViolationException: Password violates password constraint (^(?=.*\d).{7,9}$). at org.apache.jackrabbit.oak.spi.security.user.action.PasswordValidationAction.validatePassword(PasswordValidationAction.java:105) at org.apache.jackrabbit.oak.spi.security.user.action.PasswordValidationAction.onPasswordChange(PasswordValidationAction.java:76) at org.apache.jackrabbit.oak.security.user.UserManagerImpl.onPasswordChange(UserManagerImpl.java:312) at org.apache.jackrabbit.oak.security.user.UserImpl.changePassword(UserImpl.java:111) at org.apache.jackrabbit.oak.jcr.delegate.UserDelegator$5.performVoid(UserDelegator.java:114) at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performVoid(SessionDelegate.java:274) at org.apache.jackrabbit.oak.jcr.delegate.UserDelegator.changePassword(UserDelegator.java:111) at com.adobe.cq.screens.device.impl.DeviceService.setPassword(DeviceService.java:312) at com.adobe.cq.screens.device.impl.DeviceManagerImpl.updatePassword(DeviceManagerImpl.java:66) at com.adobe.cq.screens.device.registration.impl.RegistrationServlet.doPost(RegistrationServlet.java:118) at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:149) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:345) at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:376)

 

Can somebody let me know what is going on here and what password is being referred here.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by -Joe-

If online, check your X-Frame-Options headers since the player makes use of an iframe to pull the content from the server.

If offline, make sure you have updated the cache of the channel (needs to be done at least once) and also make sure that there is no network issue preventing you from downloading the content sync zip package.

13 replies

October 10, 2017

Thank you Hari. I am running AEM 6.3 -

Configured Location and then Display and Registered Android Device (Samsung S6) - Matched the display resolution in the config to the actual S6 resolution. but not working.

In the Display Dashboard, I can see the Ping OK, when I see "Preview Display" - it shows the right content on the server, but the actual device is still blank !

October 10, 2017

its resolved, I had to update the Channel Cache... and its working now. .Thanks

Adobe Employee
March 11, 2018

Thanks, awesome. Very helpful suggestion.