/system/console/bundles.jsp throws org.apache.sling.api.auth.NoAuthenticationHandlerException: null | Community
Skip to main content
September 29, 2017

/system/console/bundles.jsp throws org.apache.sling.api.auth.NoAuthenticationHandlerException: null

  • September 29, 2017
  • 3 replies
  • 3179 views

Hi

I'm trying to access system console through curl : curl -L -i -X POST http://admin:abc@llocalhost:4503/system/console/bundles.jsp but it throws 500 internal server

instead " 401 " but in access and request log it's showing 200

==> access.log <==

160.46.120.57 - 29/Sep/2017:12:11:03 +0200 "POST /system/console/bundles.jsp HTTP/1.1" 200 - "-" "curl/7.19.7 (x86_64-suse-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8j zlib/1.2.3 libidn/1.10"

==> request.log <==

29/Sep/2017:12:11:03 +0200 [107753] -> POST /system/console/bundles.jsp HTTP/1.1

29/Sep/2017:12:11:03 +0200 [107753] <- 200 - 8ms

Can some one suggest any pointers why this happens .

29.09.2017 12:23:58.619 *WARN* [] org.eclipse.jetty.servlet.ServletHandler /system/console/bundles.jsp

org.apache.sling.api.auth.NoAuthenticationHandlerException: null

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

3 replies

smacdonald2008
Level 10
September 29, 2017

Can you access the System console via the web interface?

October 1, 2017

No it throws "500" I can't acess directly in Web Interface too of system/console/bundles ,

but if we log in first to crx/de and log in then system/console/bundles is  also working

VeenaVikraman
Community Advisor
Community Advisor
October 2, 2017

Obviously , thats how it works in the web. You have to login to the web first and then you have to navigate to system/console....  And for CURL, as far as I could remember you have to provide the username and password in the commands .. Are you doing the same ?

VeenaVikraman
Community Advisor
Community Advisor
September 29, 2017

Vinay,

   Are you using the commands correctly ? I have not used curl that frequently, but I think this can help http://www.aemcq5tutorials.com/tutorials/adobe-cq5-aem-curl-commands/ 

Thanks

Veena

October 1, 2017

Yeah ! i have checked the command and it's fine .

viveksachdeva
Community Advisor
Community Advisor
October 4, 2017

I tried your command and getting 401..