Skip to content
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

Open
liuchjlu opened this issue Sep 14, 2017 · 7 comments
Open

ServerSelectionTimeoutError #1

liuchjlu opened this issue Sep 14, 2017 · 7 comments

Comments

@liuchjlu
Copy link

liuchjlu commented Sep 14, 2017

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?

@fangde
Copy link
Collaborator

fangde commented Sep 14, 2017 via email

@liuchjlu
Copy link
Author

liuchjlu commented Sep 15, 2017

@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.

@fangde
Copy link
Collaborator

fangde commented Sep 15, 2017 via email

@luomai
Copy link
Collaborator

luomai commented Sep 15, 2017

@akaraspt Could you update the repo to remove all Imperial-specific setting (ips, hostname, ports)?

@liuchjlu
Copy link
Author

liuchjlu commented Sep 15, 2017

@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
Copy link
Owner

@luomai I have removed our internal configurations.
@liuchjlu Which example you are testing? If you are running the example of distributed reinforcement learning, the training data will be generated by the scripts (i.e., you dont need the training data).

@liuchjlu
Copy link
Author

@akaraspt Ok, I got it. Thanks~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants