Connection error occurred, please try later

0
Hi All, Users are getting this error “Connection error occurred, please try later” quite sometime. I see there is no error log for this. However scheduled jobs are running in background (every 15 minutes) which does calculations on data. Scenario: User opened application 20 minutes ago, ran some jobs. After some time he tried to filter on screen and get sometimes this error even when there is no job scheduled. It is very annoying now for users and there is no clue from which job/process it is coming? Do someone have any idea about it.     mxui.js?636955032912569247:5 r y @ mxui.js?636955032912569247:5 mxui.js?636955032912569247:5 Object (anonymous) @ mxui.js?636955032912569247:5 xas/#executeaction:1 Failed to load resource: net::ERR_CONNECTION_TIMED_OUT mxui.js?636955032912569247:5 POST https://localhost:8080/appName/xas/ net::ERR_CONNECTION_TIMED_OUT a @ mxui.js?636955032912569247:5 t.xhr @ mxui.js?636955032912569247:5 n @ mxui.js?636955032912569247:15 e @ mxui.js?636955032912569247:15 M @ mxui.js?636955032912569247:15 internalRequest @ mxui.js?636955032912569247:15 (anonymous) @ mxui.js?636955032912569247:10 m @ mxui.js?636955032912569247:10 mxui.js?636955032912569247:15 Uncaught (in promise) {message: "mendix.sys.Server.handleQueued: connection error", original: r} n @ mxui.js?636955032912569247:15 error @ mxui.js?636955032912569247:15 E @ mxui.js?636955032912569247:15 (anonymous) @ mxui.js?636955032912569247:15 handle @ mxui.js?636955032912569247:15 (anonymous) @ mxui.js?636955032912569247:5 d @ mxui.js?636955032912569247:5 s @ mxui.js?636955032912569247:5 reject.errback @ mxui.js?636955032912569247:5 d @ mxui.js?636955032912569247:5 s @ mxui.js?636955032912569247:5 reject.errback @ mxui.js?636955032912569247:5 (anonymous) @ mxui.js?636955032912569247:5 c @ mxui.js?636955032912569247:5 a @ mxui.js?636955032912569247:5 m.reject @ mxui.js?636955032912569247:5 d @ mxui.js?636955032912569247:5 c @ mxui.js?636955032912569247:5 a @ mxui.js?636955032912569247:5 m.reject @ mxui.js?636955032912569247:5 d @ mxui.js?636955032912569247:5 c @ mxui.js?636955032912569247:5 a @ mxui.js?636955032912569247:5 m.reject @ mxui.js?636955032912569247:5 d @ mxui.js?636955032912569247:5 c @ mxui.js?636955032912569247:5 a @ mxui.js?636955032912569247:5 m.reject @ mxui.js?636955032912569247:5 d @ mxui.js?636955032912569247:5 c @ mxui.js?636955032912569247:5 a @ mxui.js?636955032912569247:5 m.reject @ mxui.js?636955032912569247:5 r @ mxui.js?636955032912569247:5 r @ mxui.js?636955032912569247:5 error (async) d @ mxui.js?636955032912569247:5 a @ mxui.js?636955032912569247:5 t.xhr @ mxui.js?636955032912569247:5 n @ mxui.js?636955032912569247:15 e @ mxui.js?636955032912569247:15 M @ mxui.js?636955032912569247:15 internalRequest @ mxui.js?636955032912569247:15 (anonymous) @ mxui.js?636955032912569247:10 m @ mxui.js?636955032912569247:10
asked
2 answers
0

It's hard to say what could be causing it, but sometimes this error is also telling you there was an issue with the UI either with a default or custom widget.  It would be ideal if you could reproduce this locally but you can ask the user to open the Browser Console (Usually using the F12 key) when it happens and capture any logs found there e.g. Chrome (https://developers.google.com/web/tools/chrome-devtools/console/):

answered
0

We get this error from time to time. It is nothing more than a temporary network/server issue. It was annoying for users so we decided to hide the popup with the following javascript

Use this javascript to hide the connection error popup
 

if ( window.connectionErrorOveride != true )  {
  window.connectionErrorOveride = true;
  var oldTranslate = mx.ui.translate ;
  mx.ui.translate = function(t, e, n, i) {
    if ( e == "connection_error" ) {
      return null;
    } else {
      return oldTranslate.apply(this, arguments);
    }
  }
}
answered