Connection lost when multiple publishers send data to mosquitto broker on raspberry pi 3


I have successfully done one publisher and one subscriber example by using mosquitto broker on raspberry pi and 2 nrf52832s. What I want to do is that I want to send data with different topics from 2 nRF52832s. When I tried to get data from only one publisher it is ok, but when I connect the second publisher the first one's connection gets lost. I could not notice what is the problem. May you please direct me to possible errors?

Best regards,