Unable to Retrieve metadata in illuminated cloud

Issue #2110 resolved
Rajpal Singh created an issue

Hello Team,

We are trying to retrieve the metadata from salesforce org in webstorm, but the process is not getting completed. it shows the status as pending for a long time and never gets completed. could you please assist us to resolve this issue at the earliest. we are using the latest version of illuminated cloud plugin and webstorm as well.

Official response

Comments (6)

  1. Scott Wells repo owner

    This is generally due to job queueing on the Salesforce side, especially since it's stuck in a pending state. I can confirm that to be the case based on the provided log, e.g.:

    2022-05-17 12:29:25,594 [ 215039]   FINE - #c.i.i.b.ForceComMetadataRetriever - Submitted retrieve request with async process ID 09S25000004E9WmEAK
    2022-05-17 12:29:25,595 [ 215040]   FINE - #c.i.i.b.ForceComMetadataRetriever - Polling the status of the retrieve request.
    2022-05-17 12:29:25,782 [ 215227]   FINE - #c.i.i.b.ForceComMetadataRetriever - Status: Pending
    2022-05-17 12:29:25,783 [ 215228]   FINE - #c.i.i.b.ForceComMetadataRetriever - Retrieve request is still processing.
    2022-05-17 12:29:25,783 [ 215228]   FINE - #c.i.u.VariableLengthPollingInterval - ForceComMetadataRetriever.retrieve: Using polling interval 1000 ms for polling iteration 1.
    2022-05-17 12:29:26,790 [ 216235]   FINE - #c.i.i.b.ForceComMetadataRetriever - Polling the status of the retrieve request.
    2022-05-17 12:29:26,990 [ 216435]   FINE - #c.i.i.b.ForceComMetadataRetriever - Status: Pending
    2022-05-17 12:29:26,990 [ 216435]   FINE - #c.i.i.b.ForceComMetadataRetriever - Retrieve request is still processing.
    2022-05-17 12:29:26,990 [ 216435]   FINE - #c.i.u.VariableLengthPollingInterval - ForceComMetadataRetriever.retrieve: Using polling interval 1000 ms for polling iteration 2.
    ...
    2022-05-17 13:42:53,806 [4623251]   FINE - #c.i.u.VariableLengthPollingInterval - ForceComMetadataRetriever.retrieve: Using polling interval 5000 ms for polling iteration 791.
    2022-05-17 13:42:58,814 [4628259]   FINE - #c.i.i.b.ForceComMetadataRetriever - Polling the status of the retrieve request.
    2022-05-17 13:42:59,358 [4628803]   FINE - #c.i.i.b.ForceComMetadataRetriever - Status: Pending
    2022-05-17 13:42:59,358 [4628803]   FINE - #c.i.i.b.ForceComMetadataRetriever - Retrieve request is still processing.
    2022-05-17 13:42:59,359 [4628804]   FINE - #c.i.u.VariableLengthPollingInterval - ForceComMetadataRetriever.retrieve: Using polling interval 5000 ms for polling iteration 792.
    

    Unfortunately this isn't something that IC2 (or any other tool) can control as it's completely based on server queue lengths. You would need to log a case with Salesforce as to why these queues have gotten worse recently.

  2. Scott Wells repo owner

    Note that I've just seen a thread on a similar behavior experienced by a number of user in sandbox orgs (specifically in CS129, CS109, and CS106) where jobs are stuck in pending almost indefinitely. While not confirmed, it seems to be potentially related to the following:

    https://status.salesforce.com/incidents/9038

  3. Log in to comment