thepieterdc / dodona-plugin-vscode

Plugin for Visual Studio Code to submit exercises to Dodona.
MIT License
5 stars 5 forks source link

[BUG] Authentication doesn't succeed #306

Closed BTWS2 closed 2 years ago

BTWS2 commented 2 years ago

Description

Similar to #256. Pasting the API token in the text box doesn't update the left panel. Restarting VS Code or clicking the refresh button (reloading the list of activities) doesn't help either. M. Denert has the same issue.

Reproduction steps:

Environment

Screenshots

image

Logs:

[2022-01-05 11:29:50.797] [exthost] [info] Extension host with pid 14448 started
[2022-01-05 11:29:52.073] [exthost] [info] ExtensionService#_doActivateExtension vscode.microsoft-authentication, startup: false, activationEvent: 'onAuthenticationRequest:microsoft'
[2022-01-05 11:29:52.092] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: true, activationEvent: '*'
[2022-01-05 11:29:52.101] [exthost] [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.github
[2022-01-05 11:29:52.110] [exthost] [info] ExtensionService#_doActivateExtension christian-kohler.path-intellisense, startup: true, activationEvent: '*'
[2022-01-05 11:29:52.212] [exthost] [info] ExtensionService#_doActivateExtension GitHub.vscode-pull-request-github, startup: true, activationEvent: '*'
[2022-01-05 11:29:52.276] [exthost] [info] ExtensionService#_doActivateExtension laike9m.cyberbrain, startup: true, activationEvent: '*'
[2022-01-05 11:29:52.829] [exthost] [info] ExtensionService#_doActivateExtension moshfeu.diff-merge, startup: true, activationEvent: '*'
[2022-01-05 11:29:52.871] [exthost] [info] ExtensionService#_doActivateExtension mtxr.sqltools, startup: true, activationEvent: '*', root cause: mtxr.sqltools-driver-sqlite
[2022-01-05 11:29:52.909] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.cpptools, startup: true, activationEvent: '*', root cause: vsciot-vscode.vscode-arduino
[2022-01-05 11:29:53.989] [exthost] [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
[2022-01-05 11:29:54.026] [exthost] [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
[2022-01-05 11:29:54.036] [exthost] [info] ExtensionService#_doActivateExtension mtxr.sqltools-driver-sqlite, startup: true, activationEvent: '*'
[2022-01-05 11:29:54.039] [exthost] [info] ExtensionService#_doActivateExtension vsciot-vscode.vscode-arduino, startup: true, activationEvent: '*'
[2022-01-05 11:29:54.211] [exthost] [info] ExtensionService#_doActivateExtension vscode.github-authentication, startup: false, activationEvent: 'onAuthenticationRequest:github'
[2022-01-05 11:29:54.459] [exthost] [info] Eager extensions activated
[2022-01-05 11:29:54.579] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onStartupFinished'
[2022-01-05 11:29:54.591] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
[2022-01-05 11:29:54.596] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl-recommender, startup: false, activationEvent: 'onStartupFinished'
[2022-01-05 11:29:54.611] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl, startup: false, activationEvent: 'onStartupFinished'
[2022-01-05 11:29:54.621] [exthost] [info] ExtensionService#_doActivateExtension thepieterdc.dodona-plugin-vscode, startup: false, activationEvent: 'onStartupFinished'
[2022-01-05 11:30:05.325] [exthost] [info] ExtensionService#_doActivateExtension vscode.configuration-editing, startup: false, activationEvent: 'onLanguage:jsonc'
[2022-01-05 11:30:05.334] [exthost] [info] ExtensionService#_doActivateExtension vscode.json-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
[2022-01-05 11:30:05.360] [exthost] [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onLanguage:jsonc'
thepieterdc commented 2 years ago

Can you check what this value looks like? I can't seem to reproduce this issue.

image

BTWS2 commented 2 years ago

I also don't know what the culprit could be. Everything worked in the past. Thank you for looking into this. image

BTWS2 commented 2 years ago

I asked some colleagues and the conclusion seem to be that the Dodona extension works on Mac, but doesn't on Windows. Are you able to test the extension on Windows?

thepieterdc commented 2 years ago

Extra readme instructions + debugging info were added.