Uploaded image for project: 'Guvnor'
  1. Guvnor
  2. GUVNOR-2355

Chrome normal mode hangs after login screen in Super Dev mode (upgrade to WildFly 9 to fix)

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.0.0.Beta1
    • Component/s: None
    • Labels:
      None
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      To reproduce:

      • Start drools-wb-webapp or optaplanner-wb-webapp in Super Dev mode from IntelliJ or Eclipse
      • Open the webapp in Chrome vanilla (not in incognito mode), login in and wait for the home page
      • Restart
      • Open it in Chrome again, login in again and it will "load" forever

      Cause (found by Christian):

      • Undertow in WildFly 8.1 gives ROOT.wars a cookie with an empty path
      • Chrome doesn't define an empty path as "/", but as "whatever webpage you gave it from" (and that differs from run to run)
      • This then messes up keycloack and identity mapping etc

      Fix:

      • Upgrade to WildFly 9 or higher (coming soon)

      Workaround:

      • Use Chrome incognito mode - restart it every time you make code changes
      • Or go to chrome://history/cookies and clear all cache - every time you want to do something in the browser

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              csa Christian Sadilek (Inactive)
              Reporter:
              ge0ffrey Geoffrey De Smet
              Archiver:
              samahaja Sagar Mahajan

                Dates

                Created:
                Updated:
                Resolved:
                Archived: