# Solace Agent Mesh Broker Connection Hanging Indefinitely

**URL:** <https://community.solace.com/t/solace-agent-mesh-broker-connection-hanging-indefinitely/4597>\
**Category:** Solace Agent Mesh\
**Tags:** broker, solacepubsub, ai\
**Created:** [October 15, 2025, 12:37pm UTC](https://community.solace.com/t/solace-agent-mesh-broker-connection-hanging-indefinitely/4597 "2025-10-15T12:37:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shereen](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/shereen/32/2228_2.png) [@Shereen](https://community.solace.com/u/Shereen)\
**Post date:** [October 15, 2025, 12:37pm UTC](https://community.solace.com/t/solace-agent-mesh-broker-connection-hanging-indefinitely/4597/1 "2025-10-15T12:37:50Z")

</div>

Hello,

I’m currently trying to create a solace agent mesh project after running

- sam init (left all info as default except for the LLM settings)
- sam run

The application tries to connect to the broker but the connection attempt goes on indefinitely.  
Has anyone experienced this before? What could cause the broker connection to hang like this?

 ![image](https://canada1.discourse-cdn.com/solace/original/2X/f/ffc272f84db545ef40716325664fe2ba030fbe48.png)

---

<div class="post-metadata">

**Author:** ![marc](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/marc/32/2191_2.png) [@marc](https://community.solace.com/u/marc)\
**Post date:** [October 15, 2025, 1:22pm UTC](https://community.solace.com/t/solace-agent-mesh-broker-connection-hanging-indefinitely/4597/2 "2025-10-15T13:22:10Z")

</div>

Hi @Shereen,

Did you verify that the broker credentials you are using are active? Maybe try to use them in the try-me tab in your broker to confirm.

I’ll ping a solace agent mesh expert to see if they have other suggestions as well 🙂

---

<div class="post-metadata">

**Author:** ![Shereen](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/shereen/32/2228_2.png) [@Shereen](https://community.solace.com/u/Shereen)\
**Post date:** [October 15, 2025, 2:59pm UTC](https://community.solace.com/t/solace-agent-mesh-broker-connection-hanging-indefinitely/4597/3 "2025-10-15T14:59:49Z")

</div>

It was a credentials issue as you mentioned, thank you so much marc for your fast response 🙂

---

<div class="post-metadata">

**Author:** ![marc](https://yyz1.discourse-cdn.com/solace/user_avatar/community.solace.com/marc/32/2191_2.png) [@marc](https://community.solace.com/u/marc)\
**Post date:** [October 15, 2025, 3:20pm UTC](https://community.solace.com/t/solace-agent-mesh-broker-connection-hanging-indefinitely/4597/4 "2025-10-15T15:20:16Z")

</div>

Awesome! I love easy solutions!

I’m glad you’re kicking the tires with Solace Agent Mesh! Let us know what you end up creating 🙂
