This error comes from a few different things.
1. Having incorrect network settings.
2. Incorrect port forwarding. ( Default Ports are 80 http , 8000 Server Port , 554 RTSP) DO NOT SET UPNP, this is a security Risk!
3. Poor network condition. ( Bandwidth issues) Be sure to have enough bandwidth to open the streams)
If all of these are set correctly and the environment is good for the streams then simply check your recorders P2P settings.
Go to
Configuration / Platform Access
Disable the feature by removing the tick mark on "Enable"
After this you should have a good connection.
If you are wanting to use the QR/P2P connection and are having this error then simply Disable the "Enable Stream Encryption" feature and then go to your mobile device and go into your Device settings select the "gear" on the top right corner of the app then turn off "Image Encryption".
Hope this helps!
If you have any questions or comments feel free to add them bellow.