-
Notifications
You must be signed in to change notification settings - Fork 90
Using extension in docker devcontainer got stuck downloading haskell language server #501
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
have you check if you docker container is able to download the prebuilt binary outside the extension, f.e. using |
actually no... hmm I get a "you are being redirected" |
other extensions install fine ... |
hmm i see, use |
do you know if any of they are doing http calls as part of the setup process? |
not sure but have the following;
by the way tried on haskell:9.0.1 and haskell:8.10 with same issue |
tried curl -L but for Windows, correct? curl: (60) SSL certificate problem: unable to get local issuer certificate curl failed to verify the legitimacy of the server and therefore could not |
not sure why but getting this now... curl -L https://github.com/haskell/haskell-language-server/releases/download/1.4.0/haskell-language-server-wrapper-Windows.exe.zipWarning: Binary output can mess up your terminal. Use "--output -" to tell |
Ii assumed you were running linux inside the docker image, does not
If you get that warning is it has reached the url. So the extension should be able to download it. Could collect the logs as described here: https://github.com/haskell/vscode-haskell#investigating-and-reporting-problems and post them? |
results of logs... [client][INFO] Searching for server executables haskell-language-server-wrapper,haskell-language-server in $PATH |
Hmm it should take a while but terminate 😄 I dont have a devcontainer setup at hand to try to reproduce, sorry. |
tried on linux with no issue. |
Nice! Happy to see the devcontainer setup works, at least in some envs. Will try to setup a devcontainer env in my windows laptop to check it works. |
@jneira I am attaching to the haskell container but as root. How do I do so as non-root? |
sorry cant help much with devcontainers until i get an env to try it, maybe @k3yzerS0ze will know how? |
after installing ghc 8.10.7 using choco on my local Windows 10 I am getting the similar issue as the docker... i get the following msg: |
never mind ... rebooted and all working as expected. |
hmm just i tried in my windows machine and it worked 😅 |
so this still leaves us with the docker image issue... I initially suspected something funny on my work laptop that prevented me from downloading (firewalls etc) ... Hmm going to leave open until someone proof otherwise. |
We switched to ghcup for downloading HLS, so this issue is stale by now. |
I am connecting to a haskell docker image but get a message "Downloading haskell-language-server-wrapper". I initially thought it was downloadin but after 24 hours realized something not right.
any ideas? I am able to runhaskell in the terminal
WIndows 10
VSCode 1.62.2
with or without devcontainer.json in my project directory
{
"name" : "haskell",
"images" : "haskell",
"extensions" : "haskell.haskell"
}
The text was updated successfully, but these errors were encountered: