Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-384

Preflighted CORS requests returning 403 errors in WebKit browsers with localhost

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.1.1.Final, 1.1.x
    • 1.1.0.Final
    • None
    • None

    Description

      This is somewhat hard to diagnose as no server errors occur, so perhaps something has gone a bit funny with permissions.

      Sometimes when I log in as admin on server-all, then try to do something like create an org I get a 403 forbidden error.

      I can see some resources being disallowed for some reason that I can't figure out. It's strange, because it seems to work fine with the gulp setup with the same code...

      apiman-plugin.js:980 apiman [2:45:52 PM]>>  |Error| >> Loading page.
      apiman-plugin.js:980 apiman [2:45:52 PM]>>  |{0}| >> Using cached current user from $rootScope.
      apiman-plugin.js:983 apiman [2:45:52 PM]>>  |Error| >> Binding currentUser to $scope.
      apiman-plugin.js:980 apiman [2:45:52 PM]>>  |Error| >> Page successfully loaded: 1 data packets loaded
      apiman-plugin.js:980 apiman [2:45:52 PM]>>  Current user is admin.
      apiman-plugin.js:980 apiman [2:45:53 PM]>>  |Dash| >> Loading page.
      apiman-plugin.js:980 apiman [2:45:53 PM]>>  |{0}| >> Using cached current user from $rootScope.
      apiman-plugin.js:983 apiman [2:45:53 PM]>>  |Dash| >> Binding currentUser to $scope.
      apiman-plugin.js:980 apiman [2:45:53 PM]>>  |Dash| >> Page successfully loaded: 1 data packets loaded
      apiman-plugin.js:980 apiman [2:45:53 PM]>>  Current user is admin.
      

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          95 kB
        2. screenshot-2.png
          screenshot-2.png
          205 kB
        3. screenshot-3.png
          screenshot-3.png
          85 kB

        Activity

          People

            msavy_jira Marc Savy (Inactive)
            msavy_jira Marc Savy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: