Environment: C# using WebSocket4Net, Windows 10
Send Login message with ID 1
Send data request type message again with ID 1
Websocket disconnects without explanation
On one side this is user error, to send 2 messages with the same ID. But expectations are that connection will stay alive and error will be given back, instead of dropping it.
You should get back a status indicating that you can't request on a stream that is open. For example, I went into the interactive guide within the packaged documentation and just tried it and this is what came back.
Just to verify, instead of using 1, try something else, say 777 and see what happens. Certainly try within the interactive guides as well.