- edited description
hanging on "Loading details for Salesforce DX connection {connection}"
Starting about a week ago I’ve had the following background task hang intermittently
Cancelling the task does nothing. I’ve let it run for 10 minutes before cancelling and 10 minutes after cancelling. It never ends. The editor remains usable, but I can’t do any deployments.
This connection is an OAuth connection to a scratch org.
I quit IntelliJ and restart to “resolve” the issue.
Comments (6)
-
Account Deactivated reporter -
repo owner Hi, Andrew. I'm sorry for the issue. Can you please email the contents of the directory opened by Help>Show Log in Explorer/Finder/Files to support@illuminatedcloud.com after this occurs? That should include not just the IDE log but also thread dumps that hopefully show the internal state of the process so I can see what's going on.
-
Account Deactivated reporter - attached issue-1516-logs.zip
Issue currently happening. Logs attached.
-
repo owner Andrew, it doesn't so much look like a deadlock as it does like
sfdx force:org:list
is taking a very long time on your system. Can you please do the following from the command-line and let me know if it doesn't help?- Run
sfdx force:org:list --clean
to remove all expired/stale scratch org entries. - Run
sfdx force:org:list
and for each non-scratch org with a CONNECTED STATUS other than Connected, runsfdx force:auth:logout -u <orgAliasOrUsername>
.
That will ensure that
sfdx force:org:list
is not having to check status on any orgs other than the ones that you're actively using. I've seen the runtime of that command drop from minutes to just a few seconds for some users.Please let me know whether that helps or not.
- Run
-
repo owner - changed status to resolved
In the past few releases I've made IC use the
--skipconnectionstatus
flag automatically, and I've integrated theforce:org:list --clean
action into the connection manager. Hopefully this problem no longer occurs. -
Account Deactivated reporter Thanks Scott. It’s been quite well behaved these last few weeks.
- Log in to comment