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

always Connection lost #231

Open
AlpJiang opened this issue Mar 17, 2025 · 4 comments
Open

always Connection lost #231

AlpJiang opened this issue Mar 17, 2025 · 4 comments
Labels
bug Something isn't working cannot-reproduce The bug cannot be reproduced under normal condition.

Comments

@AlpJiang
Copy link

Describe the bug

A clear and concise description of what the bug is.
When I try to enter a project on VSCode, it often fails, displaying Connection lost: www.overleaf.com. I reload many times, but it doesn't work.

Expected behavior

A clear and concise description of what you expected to happen.
I can open any of my projects on VSCode quickly.

How To Reproduce

Detailed steps to reproduce the behavior.

Image

Environment

  • Overleaf Workshop Extension version: 0.15.0
  • VS Code version: 1.98.2 (user setup)
  • Overleaf Edition: Official

[Optional] Developer Logs

If applicable, please paste the logs inside the details section below.
Please find the logs via: Title bar "Help" > "Toggle Developer Tools" > "Console".

...
@AlpJiang AlpJiang added the bug Something isn't working label Mar 17, 2025
@wangmeng13thu
Copy link

The same. and the contents are synchronized only when saving manually. BTW it seems work well a few months ago, but return to earlier version does not help.

@iamhyc
Copy link
Owner

iamhyc commented Mar 24, 2025

Hi, I cannot reproduce the situation on my side. Please try to attach any related developer logs: Title bar "Help" > "Toggle Developer Tools" > "Console".

You can also check your network connection following the guidance here: https://github.com/iamhyc/Overleaf-Workshop/blob/master/docs/wiki.md#q3-why-the-extension-loses-connection-to-the-server-frequently-or-loading-indefinitely

@iamhyc iamhyc added the cannot-reproduce The bug cannot be reproduced under normal condition. label Mar 24, 2025
@wangmeng13thu
Copy link

Thank you. After I disabled Continue Extension, it stops displaying Connection lost. However, contents are still synchronized only when saving manually, even if I already disabled all extensions. I attached the log here. Every time I click or select the contents, it will produce an error:

ERR Cannot read properties of undefined (reading 'code'): TypeError: Cannot read properties of undefined (reading 'code')
at MisspellingCheckProvider.provideCodeActions (c:\Users\WANGMENG.vscode\extensions\iamhyc.overleaf-workshop-0.15.0\out\intellisense\langMisspellingCheckProvider.js:102:61)
at am.provideCodeActions (

vscode-app-1742872907232.log

@iamhyc
Copy link
Owner

iamhyc commented Mar 25, 2025

Thank you. After I disabled Continue Extension, it stops displaying Connection lost. However, contents are still synchronized only when saving manually, even if I already disabled all extensions.

Hi, this behavior is by design. If you need to sync automatically, you have to turn on the auto-save config in vscode.

I attached the log here. Every time I click or select the contents, it will produce an error:

ERR Cannot read properties of undefined (reading 'code'): TypeError: Cannot read properties of undefined (reading 'code') at MisspellingCheckProvider.provideCodeActions (c:\Users\WANGMENG.vscode\extensions\iamhyc.overleaf-workshop-0.15.0\out\intellisense\langMisspellingCheckProvider.js:102:61) at am.provideCodeActions (

This is one unhandled exception and can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cannot-reproduce The bug cannot be reproduced under normal condition.
Projects
None yet
Development

No branches or pull requests

3 participants