Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-4095

[RequestTrackerTool] Manage HTTP errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.8.5, 4.9.0
    • 4.8.5
    • None
    • None
    • 4.9.0 M4

      I get a 504 (timeout) error after 1 minute on a long request. The request tracker tool does not manage it correctly, it fails with this error (JS console):

      ERROR	[Ametys.plugins.coreui.system.requesttracker.RequestTrackerTool]	Cannot update the request entry (TypeError: response is null)
       TypeError: response is null
          _updateBottomLevelModelEntry https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/plugins/coreui/system/requesttracker/RequestTrackerTool.js:770
          _updateEntry https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/plugins/coreui/system/requesttracker/RequestTrackerTool.js:735
          onRequestArrival https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/plugins/coreui/system/requesttracker/RequestTrackerTool.js:797
          _onRequestFailure https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:1374
          ExtJS 8
          _sendMessages https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:842
          send https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:445
          callMethod https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:604
          _importFn https://ametys-prod.univ-fcomte.fr/plugins/contentio/resources/js/Ametys/plugins/contentio/search/SCCSearchTool.js:160
          forEach ExtJS
          _importFn https://ametys-prod.univ-fcomte.fr/plugins/contentio/resources/js/Ametys/plugins/contentio/search/SCCSearchTool.js:159
          ExtJS 18
          constructor https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/ui/tool/layout/ZonedTabsToolsLayout.js:98
          ExtJS 3
          setToolsLayout https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/tool/ToolsManager.js:594
          <anonymous> https://ametys-prod.univ-fcomte.fr/odf/index.html?debug.mode=super&foo=0.14655187151884974:187
      Entry.js:139:15
          traceInConsole https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/log/Logger/Entry.js:139
          _log https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/log/Logger.js:214
          error https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/log/Logger.js:148
          _updateEntry https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/plugins/coreui/system/requesttracker/RequestTrackerTool.js:756
          onRequestArrival https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/plugins/coreui/system/requesttracker/RequestTrackerTool.js:797
          _onRequestFailure https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:1374
          ExtJS 8
          _sendMessages https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:842
          send https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:445
          callMethod https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/data/ServerComm.js:604
          _importFn https://ametys-prod.univ-fcomte.fr/plugins/contentio/resources/js/Ametys/plugins/contentio/search/SCCSearchTool.js:160
          forEach ExtJS
          _importFn https://ametys-prod.univ-fcomte.fr/plugins/contentio/resources/js/Ametys/plugins/contentio/search/SCCSearchTool.js:159
          ExtJS 18
          constructor https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/ui/tool/layout/ZonedTabsToolsLayout.js:98
          ExtJS 3
          setToolsLayout https://ametys-prod.univ-fcomte.fr/plugins/core-ui/resources/js/Ametys/tool/ToolsManager.js:594
          <anonyme> https://ametys-prod.univ-fcomte.fr/odf/index.html?debug.mode=super&foo=0.14655187151884974:187

      And the spinner of the request is still visible.

            raphael Raphaël Franchet
            bmaurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: