akaraspt / tl_paper

12 stars 6 forks source link

ServerSelectionTimeoutError #1

Open liuchjlu opened 6 years ago

liuchjlu commented 6 years ago

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 commented 6 years ago

Change port number I think

?? Outlook for Androidhttps://aka.ms/ghei36


From: liuchjlu notifications@github.com 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 GitHubhttps://github.com/akaraspt/tl_paper/issues/1, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGMKGAOtDv9PeTTYNZlpP4r3Eeolp0Pfks5siOzfgaJpZM4PXRUl.

liuchjlu commented 6 years ago

@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 commented 6 years ago

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 Androidhttps://aka.ms/ghei36


From: liuchjlu notifications@github.com Sent: Friday, September 15, 2017 9:49:12 AM To: akaraspt/tl_paper Cc: Fangde Liu; Mention Subject: Re: [akaraspt/tl_paper] ServerSelectionTimeoutError (#1)

@fangdehttps://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 GitHubhttps://github.com/akaraspt/tl_paper/issues/1#issuecomment-329655209, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGMKGKbM9_RaV92iZxwgWkiO9Zm9Q8zXks5sideYgaJpZM4PXRUl.

luomai commented 6 years ago

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

liuchjlu commented 6 years ago

@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 commented 6 years ago

@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 commented 6 years ago

@akaraspt Ok, I got it. Thanks~