This is due to the fact that the dashboard msg size exceeds the default limit, which causes the socket to reset and disconnect.
The way to solve this is by increasing the size limit in settings.js. For example, in order to increase the msg size to 100 MB, add the following:
dashboard: {
maxHttpBufferSize: 1e8 // size in bytes, example: 100 MB
},