Unauthorized Service Access. Service [] is not found in service registry

36 views
Skip to first unread message

Trần Quang Long

unread,
Jun 27, 2019, 11:52:00 PM6/27/19
to CAS Community
2019-06-28 10:47:53,503 INFO [org.apereo.cas.support.events.listener.DefaultCasEventListener] - <Ready to process requests @ [2019-06-28T03:47:53.500Z]>
2019-06-28 10:48:23,403 INFO [org.apereo.cas.ticket.registry.DefaultTicketRegistryCleaner] - <[0] expired tickets removed.>
2019-06-28 10:48:59,388 WARN [org.apereo.cas.services.RegisteredServiceAccessStrategyUtils] - <Unauthorized Service Access. Service [] is not found in service registry.>



serviceRegistry.watcherEnabled=true
serviceRegistry.repeatInterval=120000
serviceRegistry.startDelay=15000
serviceRegistry.initFromJson=true
serviceRegistry.json.location=classpath:/etc/cas/services

anybody please help me? thanks

Tam Nguyen

unread,
Jun 28, 2019, 12:08:23 AM6/28/19
to cas-...@apereo.org
You try changed : serviceRegistry.json.location=classpath:/etc/cas/services
serviceRegistry.json.location=/etc/cas/services
And created services : https://apereo.github.io/cas/6.0.x/services/Configuring-Service-Access-Strategy.html


--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/34335fd4-abbf-46f6-b11e-42184f6cf437%40apereo.org.

Tam Nguyen

unread,
Jun 28, 2019, 12:21:17 AM6/28/19
to cas-...@apereo.org
Sorry for mistake : cas.serviceRegistry.initFromJson=true
cas.serviceRegistry.json.location=file:/etc/cas/services

Trần Quang Long

unread,
Jun 28, 2019, 12:47:18 AM6/28/19
to CAS Community
when access to https://localhost:9443/oauth2.0/accessToken?grant_type=password&client_id=1961521961528350196152786046&username=xxx&password=123456789. i have got an error "

Access Denied

You do not have permission to view this page."

To unsubscribe from this group and stop receiving emails from it, send an email to cas-...@apereo.org.

Andy Ng

unread,
Jun 28, 2019, 9:45:58 PM6/28/19
to CAS Community
Please show us the debug log and your service json, or else really hard to help you debug:

To enable debug log, see https://apereo.github.io/cas/5.3.x/installation/Troubleshooting-Guide.html#review-logs

Cheers!
- Andy
Reply all
Reply to author
Forward
0 new messages