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


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

RealVNC Viewer

To resolve this error in RealVNC Viewer, follow the steps shown in this guide.

RealVNC Server

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

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

If you have tried all of the suggestions in the troubleshooting guide here and have not been able to resolve the issue, please try the steps below.

  1. Remove the computer with the affected RealVNC Server from the Computers page of the RealVNC Connect Portal:


    • In some cases, it may be necessary to remove the CloudCredentials file used by RealVNC 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 RealVNC Server again.

    To sign in again, right-click the RealVNC Server tray icon, select Licensing and 'Sign in to your RealVNC Account'. You can find more information here.
    • If you use a cloud token, re-deploy your cloud connectivity token as shown here.
Was this article helpful?
1 out of 1 found this helpful



Article is closed for comments.