If you just have enabled hik-connect you might get this error in iVMS-4200 under Main View.
stream is encrypted. Please go to the Modify Camera interface to set the Encryption Key and restart live view.
Click on Device Management in iVMS-4200
Click on Group tab
Select Encoding Channel
Choose the camera and click on Modify
Enter the correct Stream Key