Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      I'm getting various errors that cause the middle/right panels to freeze.

      Uncaught SyntaxError: Unexpected token < in JSON at position 0
      at JSON.parse (<anonymous>)
      at Object.success (rightPanel.js:33)
      at fire (jquery-1.10.2.js:3048)
      at Object.fireWith [as resolveWith] (jquery-1.10.2.js:3160)
      at done (jquery-1.10.2.js:8235)
      at XMLHttpRequest.callback (jquery-1.10.2.js:8778)

      3/base/#:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
      at JSON.parse (<anonymous>)
      at Object.success (cyverse.js:109)
      at fire (jquery-1.10.2.js:3048)
      at Object.fireWith [as resolveWith] (jquery-1.10.2.js:3160)
      at done (jquery-1.10.2.js:8235)
      at XMLHttpRequest.callback (jquery-1.10.2.js:8778)

        Attachments

          Activity

          Hide
          nfreese Nowlan Freese added a comment -

          This was due to two issues. The primary issue was that the redis database was set to expire keys after 5 minutes. This was then causing the calls to the server to return html instead of json, which caused the error in the description. The redis database has been set to expire after 16 hours, which is the same as the CyVerse Terrain access tokens. When a user hits 16 hours, the site will stop functioning. This will need to be changed in a future issue.

          Moving to closed.

          Show
          nfreese Nowlan Freese added a comment - This was due to two issues. The primary issue was that the redis database was set to expire keys after 5 minutes. This was then causing the calls to the server to return html instead of json, which caused the error in the description. The redis database has been set to expire after 16 hours, which is the same as the CyVerse Terrain access tokens. When a user hits 16 hours, the site will stop functioning. This will need to be changed in a future issue. Moving to closed.

            People

            • Assignee:
              Unassigned
              Reporter:
              nfreese Nowlan Freese
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: