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

Can't register an Android device on AEM Screens

  • February 15, 2017
  • 13 replies
  • 6509 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

anuj_khanna_77
New Participant
February 17, 2017

Hi,

Any one from product team here. Can you help?

anuj_khanna_77
New Participant
February 15, 2017
Yes I did. That is why I am surprised why this issue is not listed anywhere.
smacdonald2008
New Participant
February 15, 2017

Have you followed this doc step by step? 

https://docs.adobe.com/docs/en/aem/6-2/deploy/screens.html#AEM Screens Player for Android