forcedotcom / salesforcedx-vscode

Salesforce Extensions for VS Code
https://developer.salesforce.com/tools/vscode
BSD 3-Clause "New" or "Revised" License
947 stars 404 forks source link

Infinite Loop when we are retriving the code in VS Code using sfdx latest extension #3566

Closed kravuri1987 closed 2 years ago

kravuri1987 commented 2 years ago

Summary

Short summary of what is going on or to provide context.

Steps To Reproduce: Create VS Code for a non-scratch Org. Try Retrieving the entire org it does not end at all.

Repository to reproduce: dreamhouse-lwc

NOTE: If your issue is not reproducable by dreamhouse-lwc, i.e. requires specific metadata or files, we require a link to a simple Salesforce project repository with a script to setup a scratch org that reproduces your problem.

  1. This is step 1.
  2. This is step 2. All steps should start with '1.'

Expected result

Describe what should have happened.

Actual result

Describe what actually happened.

System Information

Run sfdx version --verbose --json and paste the output here.

Additional information

Feel free to attach a screenshot.

github-actions[bot] commented 2 years ago

Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.

mshanemc commented 2 years ago

Can you do the System Information part? I'm thinking there's more information to this.

kravuri1987 commented 2 years ago

@mshanemc : I am running ,VS Code : 1.52 and sfdx-cli/7.119.3 darwin-x64 node-v14.17.6 on Mac OS :Catalina.

mshanemc commented 2 years ago

Is there a CLI command that you're running, or are you doing this via the VSCode command palette or right click?

kravuri1987 commented 2 years ago

@mshanemc right-click to retrieve.

mshanemc commented 2 years ago

I'm gonna move this to the vscode extensions repo

xyc commented 2 years ago

Are you retrieving from manifest - "Retrieve Source in Manifest from Org"? Also could you provide more information about the project / org you have this issue on? Is it reproducible from dreamhouse-lwc? We haven't been able to reproduce this issue.

ratnesh76 commented 2 years ago

We are also facing the same issue when invoking the sfdx command from VSCode. The command stuck in a loop and do not return either error or any result. I had to cancel the command. The same command execute successfully if use the sfdx cli (command line using the terminal window). It started since last couple of months. For Example: SFDX: Deploy Source to Org won't work but if we use the same using SFDX force:source:deploy -p pathtosourcefile then it will work. Does it sound like Salesforce Extension Pack issue? I am using Windows10, VSCode 1.61 and SFDX version 1.119.2

xyc commented 2 years ago

@ratnesh76 Could you let us know what version of Salesforce extension pack you are using? Also, could you provide some information about the metadata type of the code you are deploying (Like Apex/LWC/etc.)? Does it happen with a specific metadata type or any types?

It's also helpful if anything on the "Salesforce CLI" channel of VS Code Output Panel shows up as well.

Screen Shot 2021-10-13 at 2 39 40 PM
ratnesh76 commented 2 years ago

@ratnesh76 Could you let us know what version of Salesforce extension pack you are using? Also, could you provide some information about the metadata type of the code you are deploying (Like Apex/LWC/etc.)? Does it happen with a specific metadata type or any types?

It's also helpful if anything on the "Salesforce CLI" channel of VS Code Output Panel shows up as well. Screen Shot 2021-10-13 at 2 39 40 PM

@xyc We are getting the below output eg. specific apex class image

And the version of extenstion pack is v53.0.0 For any component we are getting the same infinite loop. Whether we retrieve from package.xml or for a specific component.

no-response[bot] commented 2 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance.

no-response[bot] commented 2 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance.

ratnesh76 commented 2 years ago

Please reopen the issue.

On Tue, Oct 19, 2021 at 1:43 PM no-response[bot] @.***> wrote:

Closed #3566 https://github.com/forcedotcom/salesforcedx-vscode/issues/3566.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/forcedotcom/salesforcedx-vscode/issues/3566#event-5486955724, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWBOP2URHYIDF7RYP2BO7OLUHWU2HANCNFSM5FL5FGYA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

randi274 commented 2 years ago

A few more questions on this one. Are you behind a company firewall, or a VPN? Also, do you see any additional error information when you go to Help > Toggle Developer Tools?

no-response[bot] commented 2 years ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance.

ratnesh76 commented 2 years ago

Yes I am behind the firewall and using the VPN.

On Mon, Oct 25, 2021 at 11:55 AM Randi Wilson @.***> wrote:

A few more questions on this one. Are you behind a company firewall, or a VPN? Also, do you see any additional error information when you go to Help

Toggle Developer Tools?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/forcedotcom/salesforcedx-vscode/issues/3566#issuecomment-951067967, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWBOP2QJFPBKBXW5VVPSAPDUIV4Y5ANCNFSM5FL5FGYA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.