Scalr / scalr-vscode

The Scalr VSCode Extension is a tool designed to streamline your Opentofu/Terraform workflows by integrating Scalr directly into your Visual Studio Code environment.
https://marketplace.visualstudio.com/items?itemName=Scalr.scalr
Mozilla Public License 2.0
5 stars 1 forks source link

[Bug]: Failed to load log: TypeError: fetch failed while first login to scalr extension #27

Open lonesurvivor84 opened 2 months ago

lonesurvivor84 commented 2 months ago

Describe the bug When trying to login to the scalr VS code, the following message appears: Failed to load log: TypeError: fetch failed

To Reproduce Steps to reproduce the behavior:

  1. Download VScode Scalr extension.
  2. Scalr Extension -> Login
  3. Input values for Account.
  4. Put in either existing PAT or generate a new PAT.
  5. Error Appears on VS Code: Failed to load log: TypeError: fetch failed

Expected behavior Expecting to Login.

Screenshots image image

Extension Version (please complete the following information):

VSCode Version: Version: 1.93.0 (system setup) Commit: 4849ca9bdf9666755eb463db297b69e5385090e3 Date: 2024-09-04T13:02:38.431Z Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0

OS:

Additional context Add any other context about the problem here.

penja commented 2 months ago

@lonesurvivor84 Thank you for the report. I suspect there may be issues with the API permissions required by VS Code. I’ve reduced some API calls and added better error handling. Please try again with the next release.

emocharnik commented 2 months ago

Hi, @lonesurvivor84. Thanks for the report, the new version 0.0.4 with a fix is released. Please update your extension and try to login again.

lonesurvivor84 commented 2 months ago

Hi @emocharnik , unfortunately still an issue with v0.0.4. image

penja commented 2 months ago

@lonesurvivor84 Thank you for the report. I've reopened the issue for investigating.

penja commented 2 months ago

@lonesurvivor84 Could you share the name of the account that you tried to log in?

emocharnik commented 2 months ago

@lonesurvivor84 can we have a live session to troubleshoot your issue? If so, please open a request at https://support.scalr.com with an email and I'll send you an invite in the Google Calendar.

emocharnik commented 2 months ago

@lonesurvivor84 do you have a chance to troubleshoot the issue?