<div dir="ltr">Hi Bogdan-Andrei,<div><br></div><div>Thank you for your response, Can you please explain what is wrong in the config which is causing the load balancer to fail? Can you please let us know what needs to be corrected in our configuration. </div><div>we have followed this reference <a href="https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9" target="_blank">https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9</a>, please let us know or provide any configuration which helps us to resolve this issue.</div><div><br></div><div>regards </div><div>Vineeth</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Wed, 15 Jan 2025 at 22:28, Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<font face="monospace">Hi,<br>
<br>
Something tells me you are calling the balancer for a re-INVITE
(in-dialog INVITE, having a "tag" param in TO hdr).<br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
<a href="https://www.siphub.com" target="_blank">https://www.siphub.com</a></pre>
<div>On 15.01.2025 15:30, Vineeth
Chigullapally wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi Razvan, Please check the below link to view the
logs and lb configuration.
<div><br>
</div>
<div><a href="https://drive.google.com/drive/folders/1GNRAfjGjfM0VRRIodpIVYp79wj53By0n?usp=drive_link" target="_blank">https://drive.google.com/drive/folders/1GNRAfjGjfM0VRRIodpIVYp79wj53By0n?usp=drive_link</a> </div>
<div><br>
</div>
<div>regards</div>
<div>Vineeth</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, 13 Jan 2025 at 21:34,
Răzvan Crainea <<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,
Vineeth!<br>
<br>
The dialog structure cannot be created - I suspect you are not
calling <br>
the lb_start method for other methods than INVITE? Can you
upload <br>
somewhere the full debugging logs?<br>
Also, have you tried creating the dialog from the script,
before calling <br>
lb_start?<br>
<br>
Best regards,<br>
<br>
Răzvan Crainea<br>
OpenSIPS Core Developer / SIPhub CTO<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.com</a>
/ <a href="https://www.siphub.com" rel="noreferrer" target="_blank">https://www.siphub.com</a><br>
<br>
On 1/13/25 5:29 AM, Vineeth Chigullapally wrote:<br>
> Hi<br>
> <br>
> I hope this email finds you well. I am currently working
on configuring<br>
> load balancing for one of my OpenSIPS instances, which is
deployed as a<br>
> Docker container. The objective is to route traffic
evenly between two<br>
> target servers, proc1 and proc2. However, I am
encountering an issue during<br>
> the load-balancing process.<br>
> <br>
> Below are the log messages that I am observing:<br>
> <br>
> opensips_lb | Jan 9 12:40:08 [13]
DBG:load_balancer:lb_route: initial<br>
> call of LB - found requested 1/1 resource [sip]<br>
> opensips_lb | Jan 9 12:40:08 [13]
ERROR:load_balancer:lb_route:<br>
> initial call of LB - failed to create dialog<br>
> opensips_lb | Jan 9 12:40:08 [13] DBG:tm:t_newtran:
transaction on<br>
> entrance=0xffffffffffffffff<br>
> <br>
> I have followed<br>
> <a href="https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9" rel="noreferrer" target="_blank">https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9</a>
for<br>
> configuration but cannot identify the root cause of the
issue. It seems<br>
> that the load balancer is unable to create a dialog,
which might be<br>
> preventing the traffic from being routed correctly.<br>
> <br>
> Could you please provide your insights, suggestions, or
possible solutions<br>
> to resolve this issue? If any additional details, such as
configuration<br>
> files or environment specifics, are needed, I will be
happy to share them.<br>
> <br>
> Thank you for your time and assistance. Looking forward
to your suggestions.<br>
> <br>
> Best regards<br>
> <br>
> C Vineeth<br>
> <br>
> <br>
> Hi<br>
> <br>
> I hope this email finds you well. I am currently working
on configuring <br>
> load balancing for one of my OpenSIPS instances, which is
deployed as a <br>
> Docker container. The objective is to route traffic
evenly between two <br>
> target servers, |proc1| and |proc2|. However, I am
encountering an issue <br>
> during the load-balancing process.<br>
> <br>
> Below are the log messages that I am observing:<br>
> <br>
> opensips_lb | Jan 9 12:40:08 [13]
DBG:load_balancer:lb_route: <br>
> initial call of LB - found requested 1/1 resource [sip]<br>
> opensips_lb | Jan 9 12:40:08 [13]
ERROR:load_balancer:lb_route: <br>
> initial call of LB - failed to create dialog<br>
> opensips_lb | Jan 9 12:40:08 [13] DBG:tm:t_newtran:
transaction on <br>
> entrance=0xffffffffffffffff<br>
> <br>
> I have followed <a href="https://opensips.org/Documentation/Tutorials-" rel="noreferrer" target="_blank">https://opensips.org/Documentation/Tutorials-</a>
<br>
> LoadBalancing-1-9 <<a href="https://opensips.org/Documentation/Tutorials-" rel="noreferrer" target="_blank">https://opensips.org/Documentation/Tutorials-</a>
<br>
> LoadBalancing-1-9> for configuration but cannot
identify the root cause <br>
> of the issue. It seems that the load balancer is unable
to create a <br>
> dialog, which might be preventing the traffic from being
routed correctly.<br>
> <br>
> Could you please provide your insights, suggestions, or
possible <br>
> solutions to resolve this issue? If any additional
details, such as <br>
> configuration files or environment specifics, are needed,
I will be <br>
> happy to share them.<br>
> <br>
> Thank you for your time and assistance. Looking forward
to your suggestions.<br>
> <br>
> Best regards<br>
> <br>
> C Vineeth<br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div>