Hi. My local agent seems not work. It just stopped...
# ask-community
u
Hi. My local agent seems not work. It just stopped at "Waiting for flow runs..." state. Is there any issues I should look into?
a
One common reason is with labels, i.e., the local agent has a label, but your flows might have no labels. Flows with no labels are only matched with agents that have no labels, so they weren't matched with your local agent. The solution is to explicitly give both your agent and flows the same label, since a flow with labels will be matched with an agent with a superset of its labels.
1
u
thanks!!
b
by default, the local agents are labeled with your hostname. if you want no labels at all, use the
--no-hostname-label
flag when starting the agent.