Nugget 14: Connection to MongoDB Atlas - SSL Alert 80
I'm using MongoDB Atlas (1) to host my NoSQL database. Creating an application with the MERN stack was very straightforward. However, after a few hours, when I tried to run the same application, Atlas displayed an SSL error message. How is this possible? What changed overnight? Something changed overnight, of course! When creating the cluster in Atlas, my IP address was configured (2), and by default, it expired after 6 hours. The error message was a bit misleading, although the problem was discovered after some investigation. Either re-whitelist your IP address or remove and re-add it to fix the error. I had a harder time finding the solution in Atlas, so I'm writing it down. Log in to Atlas, go to Network Access, and fix it there. There is also an option to be able to access the app from any IP. I prefer to restrict the IP. After the correction, it worked as expected. The Atlas MongoDB database is impressive (3, 4). References & Notes MongoDB Atlas ...