-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ServerSelectionTimeoutError #1
Comments
Change port number I think
?? Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: liuchjlu <[email protected]>
Sent: Thursday, September 14, 2017 10:07:44 AM
To: akaraspt/tl_paper
Cc: Subscribed
Subject: [akaraspt/tl_paper] ServerSelectionTimeoutError (#1)
Hello, there are maybe some error in the mongodb of 146.169.15.140 and 146.169.33.34. When I run your program, there comes the errors:
pymongo.errors.ServerSelectionTimeoutError: 146.169.33.34:27020: timed out.
When I run the command 'mongo 146.169.15.140:27017', there comes the errors:
MongoDB shell version v3.4.9
connecting to: 146.169.15.140:27017
2017-09-14T17:02:31.807+0800 W NETWORK [thread1] Failed to connect to 146.169.15.140:27017 after 5000ms milliseconds, giving up.
2017-09-14T17:02:31.807+0800 E QUERY [thread1] Error: couldn't connect to server 146.169.15.140:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:237:13
@(connect):1:6
exception: connect failed
Could you fix this problem?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#1>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGMKGAOtDv9PeTTYNZlpP4r3Eeolp0Pfks5siOzfgaJpZM4PXRUl>.
|
@fangde Maybe not the reason of port. The port I used is same with akaraspt's code. I tried the default port, but it doesn't wotk. |
The IP are the imperial ones, you have no access, you have to install mongdb yourself and configure the IP and port correctly
?? Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: liuchjlu <[email protected]>
Sent: Friday, September 15, 2017 9:49:12 AM
To: akaraspt/tl_paper
Cc: Fangde Liu; Mention
Subject: Re: [akaraspt/tl_paper] ServerSelectionTimeoutError (#1)
@fangde<https://github.com/fangde> Maybe not the reason of port. The port I used is same with akaraspt's code.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AGMKGKbM9_RaV92iZxwgWkiO9Zm9Q8zXks5sideYgaJpZM4PXRUl>.
|
@akaraspt Could you update the repo to remove all Imperial-specific setting (ips, hostname, ports)? |
@fangde I have installed the mongodb in my compute, but I don't know how to organize train data in mongo. I could successful ping the ip. |
@akaraspt Ok, I got it. Thanks~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, there maybe some error in the mongodb of 146.169.15.140 and 146.169.33.34. When I run your program, there comes the errors:
pymongo.errors.ServerSelectionTimeoutError: 146.169.33.34:27020: timed out.
When I run the command 'mongo 146.169.15.140:27017', there comes the errors:
MongoDB shell version v3.4.9
connecting to: 146.169.15.140:27017
2017-09-14T17:02:31.807+0800 W NETWORK [thread1] Failed to connect to 146.169.15.140:27017 after 5000ms milliseconds, giving up.
2017-09-14T17:02:31.807+0800 E QUERY [thread1] Error: couldn't connect to server 146.169.15.140:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:237:13
@(connect):1:6
exception: connect failed
Maybe you could remove the file of 'mongod.lock', and restart the mongodb service to solve the problem.
Could you fix this problem?
The text was updated successfully, but these errors were encountered: