Error: Unable to dequeue messages from queue
Problem
Unable to dequeue messages from queue '<component_GUID>'.The queue position '<component_GUID>-1768420530707-1' points to a log file that no longer exists.There is a potential loss of queued messages that's beyond Iguana's control. Please make sure all queued messages are present and accounted for.
Cause
The component failed to dequeue a message from the upstream component because the log file that contained the message no longer exists and queued messages have been unexpectedly lost.
Solutions
Solution 1: If you are on a version lower than 10.1.117
If you are on a version lower than 10.1.117 and encountered this error, please reach out to Interfaceware Support Team at support@interfaceware.com to resolve this issue to minimize disruptions. This is imperative to prevent accidental crashes when attempting to resolve on your own.
To resolve this error timely, you will need to include in your email the following items:
IguanaX version number found under Settings → About.
The full error message.
The component GUIDs of all components in the affected workflow.
Component GUIDs can be obtained by clicking on the component from the Dashboard and copying from the browser URL.
A file containing the Component States from the Iguana Service logs.
To obtain the Component States from the Iguana Service logs, follow these steps below:
Solution 2: If you are on a version equal or higher than 10.1.117
The queue position needs to be updated so it points to a valid log file. Currently it is attempting to dequeue from a log file that no longer exists.
We can correct the queue position by pushing a harmless dummy message from the upstream component to the downstream component that encountered the error, which advances the queue to a valid position.
It is recommended to perform this process during a period of downtime, as you will need to stop all components in the workflow and clear the queues of the affected components.
Additional Note:
If multiple components have the dequeue error, the solution below must be done for all affected components, in order. Take a look at the following example workflow.
Component A → Component B → Component C → Component D
If in this workflow, components B and C are encountering the dequeue error, you will need to follow steps 1-6 for component B then steps 1-6 for component C before starting all components again in step 7.