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

[ERROR] Failed to check if authenticated #742

Open
pol43085 opened this issue Feb 28, 2025 · 4 comments
Open

[ERROR] Failed to check if authenticated #742

pol43085 opened this issue Feb 28, 2025 · 4 comments
Assignees

Comments

@pol43085
Copy link

Describe the bug
When using newest version 3.2.0 I can not login to TMC. The error is described bellow. It is solved if I use the previous 3.1.X

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

If the reproduction includes opening a course or exercise, please include which course and/or exercise the issue can be reproduced with.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows
  • VSCode Version 1.97.2
  • TMC Extension Version 3.2.00
  • Other related extensions.

TMC Extension logs
TMC -> Settings -> Set log level to verbose and reproduce error and paste logs.

[2025-02-28 18:01:29:677] [ERROR] Failed to check if authenticated: Empy Langs Response Error: Langs process ended without result data.. [2025-02-28 18:01:29:678] [ERROR] The above error may have been caused by an interfering antivirus program. Please add an exception for the following folder: /home/my_user/.vscode-server/data/User/globalStorage/moocfi.test-my-code/cli [2025-02-28 18:01:29:678] [ERROR] Error during initialization: Empy Langs Response Error: Langs process ended without result data..

Additional context
Add any other context about the problem here.

@Heliozoa
Copy link
Collaborator

Thanks for the issue. Though its functionality hasn't changed in any meaningful way, it may be that the new version of the CLI used by the extension triggers an antivirus for some reason while the older version doesn't, for whatever reason. Can you try manually running the executable? The path should be visible in the logs. It may pop up a Windows Defender popup or something similar, which would confirm that that is the issue.

@Heliozoa Heliozoa self-assigned this Mar 4, 2025
@pol43085
Copy link
Author

pol43085 commented Mar 9, 2025

it gives me something like this:

´
./tmc-langs-cli-x86_64-unknown-linux-gnu-0.37.1: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33' not found (required by ./tmc-langs-cli-x86_64-unknown-linux-gnu-0.37.1) ./tmc-langs-cli-x86_64-unknown-linux-gnu-0.37.1: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.34' not found (required by ./tmc-langs-cli-x86_64-unknown-linux-gnu-0.37.1)
./tmc-langs-cli-x86_64-unknown-linux-gnu-0.37.1: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./tmc-langs-cli-x86_64-unknown-linux-gnu-0.37.1)
´

@Heliozoa
Copy link
Collaborator

Heliozoa commented Mar 9, 2025

Ok, the issue is that the extension requires a newer version of a library (GLIBC) than what is provided by your operating system.

I assume you're using Windows Subsystem for Linux, possibly with Ubuntu? If so, you can try upgrading to a newer version of Ubuntu, or installing a newer version (such as 24.04) in addition to your current one. Version 22.04 should support the library the extension needs, so it's possible that you're on 20.04 (if you're using Ubuntu) which is not going to receive any security updates after May of this year, so it may be a good idea to upgrade/install a new one anyway.

@pol43085
Copy link
Author

pol43085 commented Mar 9, 2025

great, you re right, 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

2 participants