Member since
04-25-2023
1
Post
0
Kudos Received
0
Solutions
04-25-2023
02:40 AM
Hi Team, Could you please help us with this issue. We have build apache ranger 2.4.0 by using the source files . We are able to run setup.sh sucessfully with out issues. Ranger service also started with out any issues. We are able to log in to the UI. After log in it is just showing loading as attached in screen shots - After enabling debug mode for ranger-admin-ip-10-63-182-222.eu-west-1.compute.internal-ranger.log I am getting this entries in logs - 2023-04-25 09:30:31,680 [pool-6-thread-1] DEBUG [RolloverSignerSecretProvider.java:122] rolling secret 2023-04-25 09:30:50,434 [http-nio-6080-exec-3] DEBUG [SessionMgr.java:476] isLoginIdLocked(loginId=admin): windowSeconds=300, maxFailuresCount=5, failuresCount=0, ret=false 2023-04-25 09:30:50,485 [http-nio-6080-exec-3] INFO [SpringEventListener.java:74] Login Successful:admin | Ip Address:10.63.178.85 | sessionId=1D0B213F7574C34ACE40E30E5FF7FDB5 | Epoch=1682415050484 2023-04-25 09:30:50,485 [http-nio-6080-exec-3] DEBUG [AbstractAuthenticationProcessingFilter.java:323] Set SecurityContextHolder to UsernamePasswordAuthenticationToken [Principal=org.springframework.security.core.userdetails.User [Username=admin, Password=[PROTECTED], Enabled=true, AccountNonExpired=true, credentialsNonExpired=true, AccountNonLocked=true, Granted Authorities=[ROLE_SYS_ADMIN]], Credentials=[PROTECTED], Authenticated=true, Details=WebAuthenticationDetails [RemoteIpAddress=10.63.178.85, SessionId=1D0B213F7574C34ACE40E30E5FF7FDB5], Granted Authorities=[ROLE_SYS_ADMIN]] 2023-04-25 09:30:50,488 [http-nio-6080-exec-3] DEBUG [SessionFixationProtectionStrategy.java:87] Invalidating session with Id '1D0B213F7574C34ACE40E30E5FF7FDB5' and migrating attributes. 2023-04-25 09:30:50,489 [http-nio-6080-exec-3] DEBUG [SessionFixationProtectionStrategy.java:93] Started new session: 3516EEC5D444FB318D3C477DAF868AF4 2023-04-25 09:30:50,490 [http-nio-6080-exec-3] DEBUG [AbstractSessionFixationProtectionStrategy.java:99] Changed session id from 1D0B213F7574C34ACE40E30E5FF7FDB5 2023-04-25 09:30:50,493 [http-nio-6080-exec-3] DEBUG [SessionMgr.java:490] admin is a valid user 2023-04-25 09:30:50,497 [http-nio-6080-exec-3] DEBUG [RangerAuthSuccessHandler.java:125] commence() X-Requested-With=XMLHttpRequest 2023-04-25 09:30:50,523 [http-nio-6080-exec-3] DEBUG [RangerAuthSuccessHandler.java:148] Sending login success response : {"statusCode":200,"msgDesc":"Login Successful"} 2023-04-25 09:30:50,545 [http-nio-6080-exec-4] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /index.html 2023-04-25 09:30:50,546 [http-nio-6080-exec-4] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /index.html 2023-04-25 09:30:50,637 [http-nio-6080-exec-4] DEBUG [JPABeanCallbacks.java:46] AddedByUserId is null or 0 and hence getting it from userSession for 37 2023-04-25 09:30:50,638 [http-nio-6080-exec-4] DEBUG [JPABeanCallbacks.java:58] User session not found for this request. Identity of originator of this change cannot be recorded 2023-04-25 09:30:50,645 [http-nio-6080-exec-4] DEBUG [SessionMgr.java:189] session id = admin ssoenabled = false 2023-04-25 09:30:50,666 [http-nio-6080-exec-4] DEBUG [SessionMgr.java:249] UserSession Updated to set new Permissions to User: admin 2023-04-25 09:30:50,667 [http-nio-6080-exec-4] DEBUG [SessionMgr.java:199] Login Success: loginId=admin, sessionId=37, sessionId=1D0B213F7574C34ACE40E30E5FF7FDB5, requestId=10.63.178.85, epoch=1682415050667 2023-04-25 09:30:50,687 [http-nio-6080-exec-5] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/other/jquery-ui/css/jquery-ui.min.css 2023-04-25 09:30:50,688 [http-nio-6080-exec-5] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/other/jquery-ui/css/jquery-ui.min.css 2023-04-25 09:30:50,691 [http-nio-6080-exec-6] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/other/backgrid/backgrid.css 2023-04-25 09:30:50,692 [http-nio-6080-exec-7] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/other/backgrid-column-manager/Backgrid.ColumnManager.css 2023-04-25 09:30:50,692 [http-nio-6080-exec-6] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/other/backgrid/backgrid.css 2023-04-25 09:30:50,692 [http-nio-6080-exec-8] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/bower/backgrid-paginator/css/backgrid-paginator.css 2023-04-25 09:30:50,692 [http-nio-6080-exec-7] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/other/backgrid-column-manager/Backgrid.ColumnManager.css 2023-04-25 09:30:50,692 [http-nio-6080-exec-8] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/bower/backgrid-paginator/css/backgrid-paginator.css 2023-04-25 09:30:50,697 [http-nio-6080-exec-9] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/bower/backgrid-filter/css/backgrid-filter.css 2023-04-25 09:30:50,697 [http-nio-6080-exec-9] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/bower/backgrid-filter/css/backgrid-filter.css 2023-04-25 09:30:50,697 [http-nio-6080-exec-10] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/bower/select2/select2.css 2023-04-25 09:30:50,698 [http-nio-6080-exec-10] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/bower/select2/select2.css 2023-04-25 09:30:50,700 [http-nio-6080-exec-3] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/bower/tag-it/css/jquery.tagit.css 2023-04-25 09:30:50,701 [http-nio-6080-exec-3] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/bower/tag-it/css/jquery.tagit.css 2023-04-25 09:30:50,703 [http-nio-6080-exec-1] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/bower/select2/select2-bootstrap4.css 2023-04-25 09:30:50,703 [http-nio-6080-exec-4] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/other/datepicker/css/datepicker.css 2023-04-25 09:30:50,704 [http-nio-6080-exec-1] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/bower/select2/select2-bootstrap4.css 2023-04-25 09:30:50,704 [http-nio-6080-exec-4] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/other/datepicker/css/datepicker.css 2023-04-25 09:30:50,705 [http-nio-6080-exec-2] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/bower/bootstrap-notify/css/bootstrap-notify.css 2023-04-25 09:30:50,705 [http-nio-6080-exec-2] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/bower/bootstrap-notify/css/bootstrap-notify.css 2023-04-25 09:30:50,706 [http-nio-6080-exec-10] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/bower/x-editable/css/bootstrap-editable.css 2023-04-25 09:30:50,706 [http-nio-6080-exec-10] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/bower/x-editable/css/bootstrap-editable.css 2023-04-25 09:30:50,706 [http-nio-6080-exec-5] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/other/visualsearch/css/workspace.css 2023-04-25 09:30:50,706 [http-nio-6080-exec-5] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/other/visualsearch/css/workspace.css 2023-04-25 09:30:50,715 [http-nio-6080-exec-7] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/bower/requirejs/js/require.js 2023-04-25 09:30:50,715 [http-nio-6080-exec-7] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/bower/requirejs/js/require.js 2023-04-25 09:30:50,719 [http-nio-6080-exec-6] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/other/daterangepicker/css/daterangepicker.css 2023-04-25 09:30:50,719 [http-nio-6080-exec-6] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/other/daterangepicker/css/daterangepicker.css 2023-04-25 09:30:50,720 [http-nio-6080-exec-8] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /scripts/Main.min.js 2023-04-25 09:30:50,721 [http-nio-6080-exec-8] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /scripts/Main.min.js 2023-04-25 09:30:50,726 [http-nio-6080-exec-3] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /libs/other/visualsearch/css/icons.css 2023-04-25 09:30:50,726 [http-nio-6080-exec-3] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /libs/other/visualsearch/css/icons.css 2023-04-25 09:30:50,838 [http-nio-6080-exec-5] DEBUG [RangerKRBAuthenticationFilter.java:368] RangerKRBAuthenticationFilter: request URL = /Main.js 2023-04-25 09:30:50,838 [http-nio-6080-exec-5] DEBUG [RangerCSRFPreventionFilter.java:170] actualCsrfToken = null clientCsrfToken = nulltrustedProxy = false for /Main.js 2023-04-25 09:31:01,680 [pool-6-thread-1] DEBUG [RolloverSignerSecretProvider.java:122] rolling secret 2023-04-25 09:31:31,680 [pool-6-thread-1] DEBUG [RolloverSignerSecretProvider.java:122] rolling secret 2023-04-25 09:32:01,680 [pool-6-thread-1] DEBUG [RolloverSignerSecretProvider.java:122] rolling secret In access.logs we are getting this exception - 10.63.178.85 - - [25/Apr/2023:09:30:50 +0000] "GET /scripts/Main.min.js?ver=2.4.0 HTTP/1.1" 404 - 12 "http://10.63.182.222:6080/index.html" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko" 10.63.178.85 - - [25/Apr/2023:09:30:50 +0000] "GET /Main.js HTTP/1.1" 404 - 2 "http://10.63.182.222:6080/index.html" "Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko" Can you please help us with this issue . Screen shot :
... View more
Labels:
- Labels:
-
Apache Ranger