Skip to content
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

masscode assistant wont work with Remote - Containers (Docker) #3

Open
mschoenbein opened this issue May 31, 2022 · 5 comments
Open

Comments

@mschoenbein
Copy link

Hi, iam using Windows with Docker (WSL2). VSCode is running with remote containers (https://github.com/Microsoft/vscode-remote-release). The assistant "wont work" with this setup. I get the message "masscode app not found". Greetings

@antonreshetov
Copy link
Member

@mschoenbein massCode API work on port 3030. Maybe you need to expose this port in the docker.

@mschoenbein
Copy link
Author

@antonreshetov I think that is the Problem. The host cannot be reached in the container with "localhost" but with "host.docker.internal". Can you make a config var for the host adress?

@Zeqiang-Lai
Copy link

I encounter the similar issue for remote development (not WSL), I try to forward port 3030, but it doesn't work. How can I fix it ?

@mschoenbein massCode API work on port 3030. Maybe you need to expose this port in the docker.

@Zeqiang-Lai
Copy link

manage to make it work by forcing the extension to run locally.

add this to the vscode setting

  "remote.extensionKind": {
        "antonreshetov.masscode-assistant": [
            "ui"
        ]
    }

@mschoenbein
Copy link
Author

manage to make it work by forcing the extension to run locally.

add this to the vscode setting

  "remote.extensionKind": {
        "antonreshetov.masscode-assistant": [
            "ui"
        ]
    }

This works for me too! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants