-
Notifications
You must be signed in to change notification settings - Fork 1
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
socket.gaierror: [Errno -2] Name or service not known #2
Comments
Hmm. What's happening is that the Either the network, or maybe the |
Oh, I looked into the logs of
|
Ah.. My guess is that it might have something to do with the GPU driver version and how it interacts with the CUDA version in the container... What type of GPU/what driver are you using? |
I doubted that at first so I checked the version, but it seemed to be all right. You see, when I enter
The GPU I used is Quadro RTX 6000, the Nvidia-driver version is 418.67 and the CUDA Version is 10.1. Although they are not the newest ones, the matching relationship seems right😢😢Shall I try to update the driver and Cuda? |
Good question... I don't have an easy answer for this. I've always had to tinker around with the versions until it worked and it's pretty finicky... Just to make sure, you did install this right? https://github.com/NVIDIA/nvidia-docker Also this is the version for the machine I was running on... But I somehow doubt it will make a difference: |
Well, I think I have Installed Nvidia-docker right, because I can successfully run the example code they provided in the README and also, I successfully finished all the steps in QuickStart and I can get the webpage interface correctly... I think I'll still try to update the versions of drivers and Cuda first, as it seems the only way to fix the problem now... Anyway, genuine thanks for your help! 🙏😃 |
Ah I see. Hope it works! It's really unfortunate because in my ideal world this is exactly the type of problem Docker is supposed to fix :/ |
Hello again, I have tried to update the driver version and Cuda version accordingly to the newest :
But the problem is still there. 😭😭 The error reported in logs is the same:
|
Hmmmm. Again, no easy answer for this, as I had been using an older version of PyTorch so as to use the models/code trained for SyntaxSQLNet originally, which was made on Python 2. Googling pulls this up, which isn't super encouraging: https://discuss.pytorch.org/t/runtimeerror-cudnn-error-cudnn-status-success/28045/18 One thing to try is to build a new Docker container for |
Hello, I tried to run the code on Ubuntu 18.04, following the steps in the QuickStart, and it all went well. I successfully set up the web interface and I used 'docker logs -f dq-main' to inspect the realtime process in the terminal. However, when I tried to start a query task through the interface, that is, when I entered the query info and clicked the 'Run new query' button, I got this error in the logs in the terminal, repeatedly:
DuoquestServer listening on port 6001... Traceback (most recent call last): File "/home/duoquest/duoquest/nlq_client.py", line 21, in connect self.conn = Client(address, authkey=self.authkey) File "/usr/local/lib/python3.7/multiprocessing/connection.py", line 492, in Client c = SocketClient(address) File "/usr/local/lib/python3.7/multiprocessing/connection.py", line 619, in SocketClient s.connect(address) socket.gaierror: [Errno -2] Name or service not known
I wonder what the problem is. Is there something wrong with my network setting?
The text was updated successfully, but these errors were encountered: