Timeout error while connecting to Spark labs

You fail to connect to Spark labs because of a timed-out connection to the host or the connection automatically drops after a few seconds.

Symptoms

Timed-out connection to the host error appears or the connection automatically drops after a few seconds.

Resolving the problem

Update the following settings from Visual Studio Code.

  1. Open Settings from Visual Studio Code.
  2. Search for Use Exec Server and select the check box to enable the feature.
  3. Refresh Spark labs extension by clicking the Refresh icon from the left navigation pane and try reconnecting.