504 Gateway Time-out Error in Mongo Replica set
I am getting 504 Gateway time-out issue on my application. I am using Replica set concept of Mongo and have maintained two different DB's for that. When i am taking Primary DB down and Application is able to switch to Secondary DB without any issue but when I am bringing up the Primary DB then application is giving me 504 Gateway time-out error. In configuration file i have provided all two db ip's properly. Can anybody help me to sort out above problem ?