-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Langserver fails to connect on windows with docker #33
Comments
Hi @retk, could you post versions of everything you are using in this setup? I'll try and get a repro. |
hi @PranayAgarwal, sry for the late answer! here are the details:
Hack extension version is: 1.0.1 hhvm running in docker:
workspace settings
extension output:
|
@retk I tried to repro this, but was actually able to get the language server started successfully with errors, intellisense and other features mostly working. There was a small problem with path translations (windows to linux) which I will fix, but other than that I didn't see the benavior you mentioned. Could you try to run |
could be an issue on my end, but currently have no idea where to look. root@b193ca487f6f:/mnt/project# hh_client
For more detailed logs, try `tail -f $(hh_client --monitor-logname) $(hh_client --logname)`
Server launched with the following command:
'/usr/bin/hh_server' '-d' '/mnt/project' '--waiting-client' '5'
Spawned typechecker (child pid=70)
Logs will go to /tmp/hh_server/monitor_logs/zSmntzSproject-2018-11-16-21-09-12.monitor_log
No errors! |
Can you share your setup? Versions and relevant settings. I also noticed noticed that if I change a file outside in Windows hh_server must be restarted within the container to detect the change. But afaik it is a known limitation of docker on windows. |
Basically the same as yours. Win 10, latest Docker, |
I'll try it out soon and get back to you. If it is source related at least I have an idea where to start debugging. |
I just wrote about this into the PR (#44). Update: |
Hi!
I tried to setup a development environment on Windows and running hhvm and hh_client in docker (Linux), unfortunately without luck.
Has anyone succeeded with similar setup? The diag log here is not really helpful as the lang server gracefully disconnects and after 3 tries the extension gives up.
The text was updated successfully, but these errors were encountered: