[SERVER-39649] network error while attempting to run command 'buildinfo' on host xx.yy.zz Created: 18/Feb/19 Updated: 10/Apr/19 Resolved: 08/Mar/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 4.0.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Shi Xiaopeng | Assignee: | Eric Sedor |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Operating System: | ALL |
| Steps To Reproduce: | mongo mongodb://xx.yy.zzz:27017 error message: ``` MongoDB shell version v4.0.3 ``` mongod.conf ```
processManagement:
security: #operationProfiling: #replication: #sharding:
```
|
| Participants: |
| Description |
|
It often fails when getting data from remote mongo server recently, I try to connect the server on my local machine, it failed. I searched the web, and i found [https://stackoverflow.com/questions/35509937/mongo-network-error-while-attempting-to-run-command-whatsmyuri-on-host] I got some hint on mongo shell version difference, but it's my case, both mongo shell and mongod version is v4.0.3 Then I found this one 35370, but it still not my case.
|
| Comments |
| Comment by donghua liu [ 10/Apr/19 ] | |||||||||||||||||||||||
|
I have the same problem, when I connect my mongodb on ubuntu from Windows, I got the following errors.
The related logs of the server was the followings.
I can confirm that both the client and the server use the same latest version 4.0.8, If I tried to connect from linux to linux, then it's ok. | |||||||||||||||||||||||
| Comment by Eric Sedor [ 08/Mar/19 ] | |||||||||||||||||||||||
|
Hi, We haven’t heard back from you for some time, so I’m going to mark this ticket as resolved. If this is still an issue for you, please provide additional information and we will reopen the ticket. Regards, | |||||||||||||||||||||||
| Comment by Eric Sedor [ 20/Feb/19 ] | |||||||||||||||||||||||
|
Hello, can you provide the server (mongod) logs during these connection attempts? Can you also clarify: Does the shell reconnect and lose connection again? If so, how long between each connection and disconnection? |