Why won't compass connect? - mongodb

I am trying to make a connection with mongoDB compass with one of my clusters on atlas. I have whitelisted the IP address, and temporarily disabled my firewall, so I can't think of any other reasons why it wouldn't work. Also I know when you have copied the connection string and then open compass it normally detects it, but it won't detect it when I open compass.

You need to remove the <>, thanks AlexZeDim

Related

Mongodb Atlas connection issue

I just created a cluster in Mongodb Atlas and I can't connect to it either by my application or by the compass, the compass says: the certificate is not yet valid.
mongodb+srv://tbussola:#tindintest.fptqm.mongodb.net/test
In the application of moongose it points out: ould does not connect to any server in your MongoDB Atlas cluster. A common reason is that you are trying to access the database from an IP that is not whitelisted. Make sure that your current IP address is on the Atlas cluster IP whitelist: https://docs.atlas.mongodb.com/security-whitelist/
mongodb+srv://tbussola:#tindintest.fptqm.mongodb.net/?retryWrites=true&w=majority
My ip is already listed in the whitelist and it is also enabled to allow any ip. What should I do now? I'm using Linux manjaro, I'm a beginner.
I was facing the same issue. After a lot of research I finally found this: certificate is not yet valid. The time on my pc was not my actual local time. After I sync my time from windows settings. Connection worked.

How to connect mongodb cluster from mongodb compass?

I created a free mongodb cluster. I created a user,set the connection to the mongodb compass, copied the connection string and then opened my mongodb compass .Pasted the copied string there,set the password and then pressed connect.It processes for a while and then throws a error of
connection <monitor> to 15.207.225.15:27017 closed.
Can someone solve it out .
I deleted previous IP address from network access list and added it again.
Then I tried db connection from compass and it worked.
You have to add your IP address to the IP access list before you can connect to your cluster. Follow the guide.
add a new Ip address -> network access menu -> add a new IP as 'access from anywhere' and may work
I came across the same issue and this is how I solved it.
Delete the project and create a new one with the same credentials used before (if you prefer) and try connecting back again.
Note: make sure to remember your password.
just add a new Ip address just click on network access edit add your current IP address and you should be able to connect

MySQL Workbench cannot connect from home to Google Cloud SQL

I cannot connect to my Google Cloud SQL database from my Macbook Pro using MySQL Workbench.
I have read the help file here:
https://cloud.google.com/sql/docs/mysql/admin-tools
I have added an authorized IP address for my IP per
https://cloud.google.com/sql/docs/mysql/configure-ip#add
I created a user for the database with it set to allow to connect from any host. I get the error "Can't connect to MySQL server on 'XX.XXX.XX.XXX' (60)
I have also attempted to telnet and get a consistent error that I am unable to connect to the remote host
As far as I know, I've followed all the steps but it really seems I'm getting blocked even before the server. I am trying to connect from home and I don't believe my home firewall is blocking things. I am wondering if there's something I need to open up on the GCE firewall but I have successfully connected to this database from other outside tools (e.g., Zapier).
Your best action right now would be to create a proxy with public IP address.
https://cloud.google.com/sql/docs/mysql/connect-external-app
This link will walk you through that process. If this doesn’t solve your issue, then taking your question to ServerFault (Stackoverflow sister site) might give you a better idea of how to fix your issue.

Unable to connect to mongodb atlas using compass

Trying to connect to mongodb atlas but the page keeps loading after i click on connect button.
One thing to consider is to check if your ISP allows connection to the server. I had similar issue and the reason was the port was blocked. It was unblocked after a request.
Turns out I did not have mongoDb installed.

Popup page without internet connection using coova-chilli

I am using openwrt and coovachilli for registration purpose, when there is presence of internet connection to router then chilli starts and popup page appears after connect to WiFi.
But I want popup page without presence of internet. Router should popup after connect to WiFi using coovachilli without internet. Please help me out in this situation.
Thanks in advance.
OpenWrt Version:- 15.05
CoovaChilli Version:- 1.3.0
It's not possible technically due to the way Coova Chilli (and other hotspot software systems) works.
Without Internet connection, your DNS server will return failures so no DNS query will work. Without DNS queries (and IP addresses as result), there won't be a HTTP request for Coova to hijack. Your device (eg. iPhone) won't even trigger a CNA window
There are possibilities (workarounds) of course - eg. make your DNS resolver (dnsmasq?) resolve to some dummy/hardcoded IP address while the connection is down. You would have to write a script yourself that detects connection and swaps configs
It is possible with a workaround.
You have to use a local UAM server (on the same host or LAN) and authenticate with local users file or local RADIUS server. For using local users file, without RADIUS server, you must specify a dummy RADIUS server IP:
radiusserver1 127.0.0.1
localusers /etc/chilli/localusers
Then, you can add a dummyuser:dummypass to your localusers file and use it for the authentication as usual:
http://${uam_ip}:${uam_port}/logon?username=dummyuser&password=${chap_password}