Skip to content

Ruff perpetual loading on remote SSH #770

@Orionnss

Description

@Orionnss

Good afternoon, good morning,

I'm working on a Python project with VSCode, nothing really fancy, I manage my dependencies using uv and since I'm working with ML, I'm running my tests on a dedicated remote ssh server.

For the same code with same dependencies, it works well when I work in local, but in remote, I have a perpetual "loading..." and no apparent errors.

I don't know if it's a known bug, or it has to do with the network of my uni, but Pylance is working in the same conditions.

If you have any idea related to how I can better describe the problem, tell me.

Image

client logs

2025-07-02 10:54:24.832 [info] Module: ruff
2025-07-02 10:54:24.833 [info] Python extension loading
2025-07-02 10:54:24.833 [info] Waiting for interpreter from python extension.
2025-07-02 10:54:24.862 [info] Python extension loaded
2025-07-02 10:54:24.863 [info] Using interpreter: /home/user/projects/projectdir/.venv/bin/python
2025-07-02 10:54:24.865 [info] Workspace settings for /home/user/projects/projectdir: {
    "nativeServer": "auto",
    "cwd": "/home/user/projects/projectdir",
    "workspace": "file:///home/user/projects/projectdir",
    "path": [],
    "ignoreStandardLibrary": true,
    "interpreter": [
        "/home/user/projects/vote-based-hallucination-detection-benchmark/.venv/bin/python"
    ],
    "configuration": null,
    "importStrategy": "fromEnvironment",
    "codeAction": {
        "fixViolation": {
            "enable": true
        },
        "disableRuleComment": {
            "enable": true
        }
    },
    "lint": {
        "enable": true,
        "run": "onType",
        "args": [],
        "preview": null,
        "select": null,
        "extendSelect": null,
        "ignore": null
    },
    "format": {
        "args": [],
        "preview": null
    },
    "enable": true,
    "organizeImports": true,
    "fixAll": true,
    "showNotifications": "off",
    "exclude": null,
    "lineLength": null,
    "configurationPreference": "editorFirst",
    "showSyntaxErrors": true,
    "logLevel": null,
    "logFile": null
}
2025-07-02 10:54:24.867 [info] Global settings: {
    "nativeServer": "auto",
    "cwd": "/home/user",
    "workspace": "/home/user",
    "path": [],
    "ignoreStandardLibrary": true,
    "interpreter": [],
    "configuration": null,
    "importStrategy": "fromEnvironment",
    "codeAction": {
        "fixViolation": {
            "enable": true
        },
        "disableRuleComment": {
            "enable": true
        }
    },
    "lint": {
        "enable": true,
        "run": "onType",
        "args": []
    },
    "format": {
        "args": []
    },
    "enable": true,
    "organizeImports": true,
    "fixAll": true,
    "showNotifications": "off",
    "configurationPreference": "editorFirst",
    "showSyntaxErrors": true
}
2025-07-02 10:54:24.886 [info] Falling back to bundled executable: /home/user/.vscode-server/extensions/charliermarsh.ruff-2025.24.0-linux-x64/bundled/libs/bin/ruff
2025-07-02 10:54:24.890 [info] Resolved 'ruff.nativeServer: auto' to use the native server
2025-07-02 10:54:24.893 [info] Found Ruff 0.12.0 at /home/user/.vscode-server/extensions/charliermarsh.ruff-2025.24.0-linux-x64/bundled/libs/bin/ruff
2025-07-02 10:54:24.893 [info] Server run command: /home/user/.vscode-server/extensions/charliermarsh.ruff-2025.24.0-linux-x64/bundled/libs/bin/ruff server
2025-07-02 10:54:24.894 [info] Server: Start requested.

server logs

2025-07-02 10:54:24.907082978  INFO Configuration file watcher successfully registered

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions