<p>The 100 character hard-coded maximum length of the kazoo module's amqp_connection parameter is too short.  The limit was previously bumped from 50 to 100 following on from <a href="https://github.com/kamailio/kamailio/issues/529" class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="138506185" data-permission-text="Issue title is private" data-url="https://github.com/kamailio/kamailio/issues/529">#529</a>  but this is still too short.</p>
<p>Example use case, using Hashicorp's vault to dish out AMQP credentials yields a connection URL like this:</p>
<p>amqp://aws-ec2-13e1e70e-d4d3-abbe-5f3b-7b631f83def7:<a href="mailto:63b8d362-72d1-878e-81ca-d62667503495@rabbitmq.service.consul">63b8d362-72d1-878e-81ca-d62667503495@rabbitmq.service.consul</a>:5672</p>
<p><a href="https://github.com/kamailio/kamailio/blob/48791fae1ba8508b18856d90e85a93df003b1e3b/src/modules/kazoo/kz_amqp.c#L682">https://github.com/kamailio/kamailio/blob/48791fae1ba8508b18856d90e85a93df003b1e3b/src/modules/kazoo/kz_amqp.c#L682</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1269">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZVL_Hq5Zv4n8IyOqW98eCOyyriCeks5srBIxgaJpZM4P0xdk">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZTJcaqLmMz6BXjiqv7jxVM6-kBJcks5srBIxgaJpZM4P0xdk.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1269"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"kazoo: amqp_connection parameter maximum length is too short (#1269)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1269"}}}</script>