What does HTTP Unauthorized mean and how do I resolve it?


This error means that something has gone wrong when VNC Viewer or VNC Server are trying to reach VNC Connect's cloud.

VNC Viewer

To resolve this error in VNC Viewer, follow the steps shown in this guide: Why do I get an "Access denied to VNC Server; please sign in to connect" error message when trying to connect to a VNC Server?

VNC Server

When trying to connect to VNC Server you may see the error: "HostedDiscovery: Lookup for Discovery service failed: Hosted Discovery error: HTTP Unauthorized" in VNC Server's Information Center, or in VNC Server's log files.

You may also see the error 'VNC Server is not currently listening for cloud connections' when trying to connect to the VNC Server from a VNC Viewer device.

If you have tried all of the suggestions in Why is VNC Server not currently listening for cloud connections? and have not been able to resolve the issue, please try the steps below. 

  1. Remove the computer with the affected VNC Server from the Computers page of the online portal:

    • In some cases, it may be necessary to remove the CloudCredentials file used by VNC Server. This is located in the below directory, depending on your platform:

      Windows:  C:\ProgramData\RealVNC-Service\vncserver.d\CloudCredentials.bed

      Mac: /var/root/.vnc/config.d/vncserver.d/CloudCredentials.bed

      Linux:  /root/.vnc/config.d/vncserver-x11.d/CloudCredentials.bed

  2. Sign in to VNC Server again. To sign in again, right-click the VNC Server tray icon, select Licensing and 'Sign in to your RealVNC Account'. You can find more information here: How do I re-join a VNC Server to the cloud, or change which team VNC Server belongs to?
Was this article helpful?
0 out of 0 found this helpful



Please sign in to leave a comment.