XBox One SmartGlass app not connecting on Surface Pro 2 error 0x8000001F

I have got a new Xbox one and would like to turn my tablet into a second screen for enhancing movies. After setting it up and installing the SmartGlass App on Surface Pro 2, I am attempting to connect to the Xbox and keep getting the error:
We can’t connect to your console right now. 0x8000001F“. However, I do the same way on Nokia Lumia 920 Windows phone without any problem. Then I run the app on my Windows 8.1 computer and it just works fine. How can I fix the issues? Continue reading