Open edsonlara opened 2 years ago
Hi @edsonlara, can you share the mongo.uri value ? (please remove any sensitive data).
Best regards
In management, oauth and referenced properties, same network.
mongodb://graviteeuser:password@172.16.0.3:27017,172.16.0.4:27017,172.166.0.5:27017/am?replicaSet=rs0&readPreference=nearest
Can you remove the readPreference and try again ?
that seems to do the trick, thanks. Any clarification in the cause? my situation is that in one point, am planning to move one of the app server and one of the db servers in a remote location (vpn tunnel) so the parameter was a logical option.
In several actions fails after an error in server log, browser console and notifications, repeating the action shows that it was done,
Current Behavior
App notification at bottom (not always, sometimes blank page), it is not in all cases, you can browse the management portal normally
Browser console:
Management API log
Steps to Reproduce (for bugs)
Install mongo cluster (3 nodes, create an user) Deploy app in two servers, replicate configuration (only mongo conf, URI format with auth) Put them behind a HAproxy, each app different backend (gw.dom.tld, ui.dom.tld, api.dom.tld) Modify constants.json
Objective
Deploy it with failover
Your Environment
2x Centos 7 servers for GW, API and UI (haproxy balanced) 3x Centos 7 servers for Mongo (with replicaset) Zip installation (3.11.0) Firefox, Chrome any version