Home › Forums › Development › Getting blank screen/stuck on ssoLogin
- This topic has 5 replies, 3 voices, and was last updated 3 years, 11 months ago by Greg Fenton.
-
AuthorPosts
-
-
December 8, 2020 at 9:51 am #14374Greg FentonParticipant
(Wasn’t sure where best to post this, so I went with “Developer” as a catch-all…feel free to redirect if there’s a better category!)
Consistently reproducible in our environment. Our project’s model has
- base model: NexJ Finance
- base version: 1126.1307.170.53
Our test environment is running on a machine in the customer’s domain, running the NexJ Server Scheme Console, we are using the “v9 UI”.
- Starting a fresh browser (latest Chrome on Windows 10)
- type into the address bar to http://nexj1.CUSTOMERDOMAIN.local:7080/PREFIX/ui/portal and press ENTER
- the browser redirects to http://nexj1.CUSTOMERDOMAIN.local:7080/PREFIX/channel/sso:Login?goto=<URLENCODED_PREVIOUS_URL>
- Prompted by the browser to login, use “nexjsa” & its password
- the browser displays a blank white page (Chrome also offers to save the userid & password, but this is likely not relevant)
EXPECTED: we’d see the application
ACTUAL: we see a blank white screen.Opening Chrome’s Developer Tools and looking at the cookies for this site shows that we have 2 cookies:
- NexJ-Logout-Date
- NexJ-Authentication-Token
At this point, entering the URL from step #2 into the browser, then the UI loads as expected and we are seeing CRM data. Looking at the Developer Tools, we now see a third cookie: NEXJSESSIONID
Continuing:
- using the Developer Tools, clear the cookies
- re-enter the URL from step #2 above
- the browser redirects to the URL from #3 above
- the browser remains blank – stuck on the sso:Login URL
- using Developer Tools, we now see that there are all 3 cookies from above with the exact same values it had prior to clearing the cookies
- typing in the URL from step #2 above and the UI loads again showing CRM data
EXPECT: entering the URL once would load the UI showing CRM data
ACTUAL: a blank screen stuck on the sso:Login URL and requiring entering the URL a second timeThere do not appear to be any errors/exceptions in the server log. Any thoughts on cause and/or next steps for triaging further?
(We have a screen capture of all the above but it shows customer information. Happy to share with NexJ staff folks if it will help.)
Thank you in advance!
greg.0 -
December 8, 2020 at 7:18 pm #14447shahzad.qureshiKeymaster
To redirect back to the original landing page, the url needs to be added to NJWhiteList table. Take a look at sso:Login.service
0 -
December 10, 2020 at 2:17 am #14541Zaccak SolutionsParticipant
Shahzad, does it make sense for Demo and Test Environments to turn off Perimeter Security so that we don’t need to whitelist each URL?
0 -
December 10, 2020 at 9:10 am #14553shahzad.qureshiKeymaster
Yes. We don’t have Perimeter security enabled for our test environments. The development environment setup you have received should not have this enabled by default. Please let me know if that is not the case
0 -
December 12, 2020 at 1:07 am #14591Zaccak SolutionsParticipant
Yes it looks to be on in all environments (development, demo, etc.)
0 -
December 20, 2020 at 1:44 am #14674Greg FentonParticipant
For the un-initiated, how would one go about disabling Perimeter Security in a Development.properties and/or Template.environment file?
Also, how would one go about adding to the Whitelist to minimize conflicts with future upgrades?
0
-
-
AuthorPosts
- You must be logged in to reply to this topic.