sourcegraph-typescript icon indicating copy to clipboard operation
sourcegraph-typescript copied to clipboard

ETIMEDOUT error after following setup instructions

Open mpickering opened this issue 6 years ago • 0 comments

I am trying to get any basic extension working so I can work out how to implement a similar extension for the Haskell language server. However, I can't get the language server in the docker container to do anything other than timeout.

  1. Start a local installation of sourcegraph using the docker run command listed here
  2. Add the following the the sourcegraph config.
  "typescript.serverUrl": "ws://localhost:8080",
  "typescript.sourcegraphUrl": "http://172.17.0.1:7080"
  1. Start the lang-typescript image using docker run -p 8080:8080 sourcegraph/lang-typescript
  2. Open a typescript project in sourcegraph, you can observe the request is made to the language server but then it times out with no indication why.

https://gist.github.com/mpickering/774b7d31bfca823caa6ddaaa52943aea

mpickering avatar Apr 25 '19 08:04 mpickering