Oracle database connection with duplicate sid

Hi All,

I have two different host name for same database sid. I used both host name in db details. But when I tried to select the entry from dash drop down, 2nd option blocked.

Could you please help me to resolve it.

dsn_tns = cx_Oracle.makedsn(, db.port, sid=db.sid)
conn = cx_Oracle.connect(user=db.user, password=db.password, dsn=dsn_tns)

Any one have any solution.