Skip to content

Overleaf Workshop compile hangs in VS Code with no visible error while the same project compiles on Overleaf web. #369

@willytrek

Description

@willytrek

Describe the bug

When I open the same Overleaf project in VS Code through Overleaf Workshop and try to compile it, the build gets stuck in a loading state and eventually fails, but no clear error message is shown.

I confirmed the following:

  • The same .tex file compiles successfully on the Overleaf website
  • There are no visible errors in the VS Code Problems panel
  • There is no Overleaf Workshop output channel shown in the Output panel
  • Reinstalling the extension and reconnecting to Overleaf did not solve the problem

I also checked the local VS Code/extension state:

  • There is no obvious http.proxy setting in VS Code user settings
  • Overleaf Workshop appears to have valid login information and a project list saved in its state
  • I did not find any clear persistent Invisible Mode or websocket disconnect flag
  • However, the compile process still hangs, which suggests a connection or initialization issue inside the extension

Expected behavior

Clicking compile should trigger a successful build, or at least show a clear error message if something goes wrong.

How To Reproduce

  1. Install and enable Overleaf Workshop in VS Code
  2. Open a logged-in Overleaf project
  3. Open Optica-template.tex from the project
  4. Trigger compile using the extension or its shortcut
  5. Observe that the compile stays in a loading state and eventually fails without a clear error

Environment

  • Overleaf Workshop Extension version: 0.15.8
  • VS Code version: [please fill in]
  • Overleaf Edition: Official

Optional Developer Logs

I did not see any useful messages in the Problems panel, and no Overleaf Workshop output channel appeared in the Output panel.

Relevant observations:

  • Compilation hangs instead of returning a visible error
  • The same project compiles successfully on the Overleaf website, so the project itself seems fine
  • The extension appears to have valid login/session data, but the compile flow seems to fail during connection or initialization

If needed, I can also provide Developer Tools Console logs from VS Code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingconfirmedThe bug is confirmed and reproducbile.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions