Hi all,
I have created an application in the R shiny. Few days back, it was working well. But now it starts crashing. There's no error in the R console.
But in Chrome, it is showing-
shinyapp.js:288 Uncaught TypeError: Cannot read property 'readyState' of null
at ShinyApp.$sendMsg (shinyapp.js:288)
at ShinyApp.sendInput (shinyapp.js:140)
at InputBatchSender.$sendNow (input_rate.js:220)
Can anybody tell me whats it is and How to overcome this?
It is not likely that this error can be fixed without a reproducible example.
If I was trying to address this I would try to eliminate various parts of the code, until I had the smallest code that stil exemplified the javascript error, then perhaps raise an issue about it on the shiny github.
Your error means that $socket does not exist (it has been prematurely closed). See my screenshot where I manually closed the connection and then try to access the socket again.
Where is your app deployed? Do you have any REPREX?