Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-9610

XUI login page fails on first load using iOS with "Unknown error. Please contact your administrator."


    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.0.0, 13.5.0
    • Fix Version/s: 13.5.1, 14.0.0
    • Component/s: XUI
    • Labels:
    • Environment:
      OpenAM 13.0.0
      CentOS Linux release 7.0.1406 (Core) x86_64
      iPhone 5 v9.3.4
      Safari Browser
      Chrome 52
    • Support Ticket IDs:


      The first time the OpenAM login page is loaded on some iOS browsers, the user is sometimes shown an error and does not see the login fields.

      Steps to reproduce.

      1. Install OpenAM 13 and make accessible to the iOS device over a network
      2. Open a private browsing window on Safari or Chrome and access http://openam.example.com:8080/openam
      3. Observe error alert on the browser showing "Unknown error. Please contact your administrator." and the login page fails to load. On reload it will work.

      If it's not 100% reproducible. Keep repeating step 2.

      The error logged in the browser console is:

      [Error] SyntaxError: JSON Parse error: Unrecognized token '<'
      	parse jquery-2.1.1-min.js:2
      	parseJSON jquery-2.1.1-min.js:2
      	(anonymous function) ValidatorsManager.js:211
      	(anonymous function) jquery-2.1.1-min.js:3
      	c jquery-2.1.1-min.js:3
      	fireWith jquery-2.1.1-min.js:3
      	n jquery-2.1.1-min.js:3
      	(anonymous function) jquery-2.1.1-min.js:3

      There are no errors in OpenAM debug logs or Tomcat logs.


          Issue Links



              • Assignee:
                phil.ostler Phil Ostler [X] (Inactive)
                andrew.dunn Andrew Dunn [X] (Inactive)
                QA Assignee:
                Joanna Wasilewska [X] (Inactive)
              • Votes:
                3 Vote for this issue
                15 Start watching this issue


                • Created: