I’m developping a shiny application with Datatables inside, and when I run it and wait around ten minutes, a popup with this error always appears : DataTables warning: table id=DataTables_Table_15 - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1
Then, all app is greyed and I can’t load datatables anymore although I can still load other pages of the app that don’t have Datatable inside.
The fact that this message doesn’t appear automatically but only after some time on the app makes it very hard to reproduce and to understand.
When I open Developper Tools of my browser, this message is the first that is logged in the console :
jquery.min.js:4 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
My app is deployed with shinyproxy.
When I run my app locally, this problem never happens.
I am aware that this problem has been treated already a lot of times on forums but none of the given solutions works in my case.
Thanks for your help