[OpenSIPS-Users] Request for Assistance: Issue with Load Balancing in OpenSIPS Container Deployment

Răzvan Crainea razvan at opensips.org
Mon Jan 13 16:01:02 UTC 2025


Hi, Vineeth!

The dialog structure cannot be created - I suspect you are not calling 
the lb_start method for other methods than INVITE? Can you upload 
somewhere the full debugging logs?
Also, have you tried creating the dialog from the script, before calling 
lb_start?

Best regards,

Răzvan Crainea
OpenSIPS Core Developer / SIPhub CTO
http://www.opensips-solutions.com / https://www.siphub.com

On 1/13/25 5:29 AM, Vineeth Chigullapally wrote:
> Hi
> 
> I hope this email finds you well. I am currently working on configuring
> load balancing for one of my OpenSIPS instances, which is deployed as a
> Docker container. The objective is to route traffic evenly between two
> target servers, proc1 and proc2. However, I am encountering an issue during
> the load-balancing process.
> 
> Below are the log messages that I am observing:
> 
> opensips_lb     | Jan  9 12:40:08 [13] DBG:load_balancer:lb_route: initial
> call of LB - found requested 1/1 resource [sip]
> opensips_lb     | Jan  9 12:40:08 [13] ERROR:load_balancer:lb_route:
> initial call of LB - failed to create dialog
> opensips_lb     | Jan  9 12:40:08 [13] DBG:tm:t_newtran: transaction on
> entrance=0xffffffffffffffff
> 
> I have followed
> https://opensips.org/Documentation/Tutorials-LoadBalancing-1-9 for
> configuration but cannot identify the root cause of the issue. It seems
> that the load balancer is unable to create a dialog, which might be
> preventing the traffic from being routed correctly.
> 
> Could you please provide your insights, suggestions, or possible solutions
> to resolve this issue? If any additional details, such as configuration
> files or environment specifics, are needed, I will be happy to share them.
> 
> Thank you for your time and assistance. Looking forward to your suggestions.
> 
> Best regards
> 
> C Vineeth
> 
> 
> Hi
> 
> I hope this email finds you well. I am currently working on configuring 
> load balancing for one of my OpenSIPS instances, which is deployed as a 
> Docker container. The objective is to route traffic evenly between two 
> target servers, |proc1| and |proc2|. However, I am encountering an issue 
> during the load-balancing process.
> 
> Below are the log messages that I am observing:
> 
> opensips_lb     | Jan  9 12:40:08 [13] DBG:load_balancer:lb_route: 
> initial call of LB - found requested 1/1 resource [sip]
> opensips_lb     | Jan  9 12:40:08 [13] ERROR:load_balancer:lb_route: 
> initial call of LB - failed to create dialog
> opensips_lb     | Jan  9 12:40:08 [13] DBG:tm:t_newtran: transaction on 
> entrance=0xffffffffffffffff
> 
> I have followed https://opensips.org/Documentation/Tutorials- 
> LoadBalancing-1-9 <https://opensips.org/Documentation/Tutorials- 
> LoadBalancing-1-9> for configuration but cannot identify the root cause 
> of the issue. It seems that the load balancer is unable to create a 
> dialog, which might be preventing the traffic from being routed correctly.
> 
> Could you please provide your insights, suggestions, or possible 
> solutions to resolve this issue? If any additional details, such as 
> configuration files or environment specifics, are needed, I will be 
> happy to share them.
> 
> Thank you for your time and assistance. Looking forward to your suggestions.
> 
> Best regards
> 
> C Vineeth
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list