Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

no SNI name sent, make sure using a MongoDB 3.4+ driver/shell. #265

Open
Vampire opened this issue Apr 10, 2019 · 1 comment
Open

no SNI name sent, make sure using a MongoDB 3.4+ driver/shell. #265

Vampire opened this issue Apr 10, 2019 · 1 comment
Labels

Comments

@Vampire
Copy link

Vampire commented Apr 10, 2019

I have two free-tier clusters on MongoDB Atlas.
Both are basically setup the same on Atlas side.
And both are configured the same in Mongo Explorer, even in the same project.
One works flawlessly, but the other cannot connect, showing this error on "Test connection" while connecting with the actual project and with mongo shell and with mongorestore works without any problems:

com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is
{
    type=UNKNOWN,
    servers=[
        {
            address=mflix-shard-00-01-seira.gcp.mongodb.net.:27017,
            type=UNKNOWN,
            state=CONNECTING,
            exception=
            {
                com.mongodb.MongoCommandException: Command failed with error 8000 (AtlasError): 'no SNI name sent, make sure using a MongoDB 3.4+ driver/shell.' on server mflix-shard-00-01-seira.gcp.mongodb.net.:27017. The full response is
                {
                    "ok" : 0,
                    "errmsg" : "no SNI name sent, make sure using a MongoDB 3.4+ driver/shell.",
                    "code" : 8000,
                    "codeName" : "AtlasError"
                }
            }
        },
        {
            address=mflix-shard-00-00-seira.gcp.mongodb.net.:27017,
            type=UNKNOWN,
            state=CONNECTING,
            exception=
            {
                com.mongodb.MongoCommandException: Command failed with error 8000 (AtlasError): 'no SNI name sent, make sure using a MongoDB 3.4+ driver/shell.' on server mflix-shard-00-00-seira.gcp.mongodb.net.:27017. The full response is
                {
                    "ok" : 0,
                    "errmsg" : "no SNI name sent, make sure using a MongoDB 3.4+ driver/shell.",
                    "code" : 8000,
                    "codeName" : "AtlasError"
                }
            }
        },
        {
            address=mflix-shard-00-02-seira.gcp.mongodb.net.:27017,
            type=UNKNOWN,
            state=CONNECTING,
            exception=
            {
                com.mongodb.MongoCommandException: Command failed with error 8000 (AtlasError): 'no SNI name sent, make sure using a MongoDB 3.4+ driver/shell.' on server mflix-shard-00-02-seira.gcp.mongodb.net.:27017. The full response is
                {
                    "ok" : 0,
                    "errmsg" : "no SNI name sent, make sure using a MongoDB 3.4+ driver/shell.",
                    "code" : 8000,
                    "codeName" : "AtlasError"
                }
            }
        }
    ]
}
@dboissier
Copy link
Owner

dboissier commented Oct 16, 2019

Hi,
The plugin uses the mongo-java-driver-3.8.0. I will update it to the 4.x to check whether it fixes the problem or not.

@dboissier dboissier added bug and removed enhancement labels Oct 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants