This means that VPOP3 is not getting a response from a DNS server when it is trying to look up the name of the ISP’s mail server(s). Usually this means that Windows either does not know the address of a valid DNS server, or that your ISP’s DNS servers are not working properly.
If you are connecting to the Internet via a router or proxy server, check that this is either allowing DNS queries through or is proxying them properly.
winsock,
error code,
11002,
dns
So, My code is only 4 lines. I am trying to connect to a website, what I am trying to do after that is irrelevant because the error arised without the other codes.
import urllib.request
from bs4 import BeautifulSoup
html=urllib.request.urlopen('http://python-data.dr-chuck.net/known_by_Fikret.html').read()
soup=BeautifulSoup(html,'html.parser')
and the error(succinctly summarized one):
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11002] getaddrinfo failed
During handling of the above exception, another exception occurred:
urllib.error.URLError: <urlopen error [Errno 11002] getaddrinfo failed>
Here is what I have tried.
- I searched for the Error returned «urlopen error [Errno 11002]” on google and especially on stackoverflow, nothing helpful was returned(In fact there are not much question on this error 11002 was asked).
- So Then I try to replace the website argument(i.e. «http://python-data.dr-chuck.net/known_by_Fikret.html» ) inside the urlopen function with another website «http://www.pythonlearn.com/code/urllinks.py». And it worked just fine. No error comes up.
- So I guess this error must have something to do with this particular website per se. The website is somewhat dynamic, by which I mean its content will alter and change into another wholly different thing. But I have no more knowledge than just to descibe what I saw.
and the longer and full version of error:
Traceback (most recent call last):
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32liburllibrequest.py", line 1240, in do_open
h.request(req.get_method(), req.selector, req.data, headers)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32libhttpclient.py", line 1083, in request
self._send_request(method, url, body, headers)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32libhttpclient.py", line 1128, in _send_request
self.endheaders(body)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32libhttpclient.py", line 1079, in endheaders
self._send_output(message_body)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32libhttpclient.py", line 911, in _send_output
self.send(msg)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32libhttpclient.py", line 854, in send
self.connect()
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32libhttpclient.py", line 826, in connect
(self.host,self.port), self.timeout, self.source_address)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32libsocket.py", line 693, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32libsocket.py", line 732, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11002] getaddrinfo failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:/baiduyundownload/Tempo/Active/Python/Python Examples/Fileanalysis11111.py", line 4, in <module>
html=urllib.request.urlopen('http://python-data.dr-chuck.net/known_by_Fikret.html').read()
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32liburllibrequest.py", line 162, in urlopen
return opener.open(url, data, timeout)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32liburllibrequest.py", line 465, in open
response = self._open(req, data)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32liburllibrequest.py", line 483, in _open
'_open', req)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32liburllibrequest.py", line 443, in _call_chain
result = func(*args)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32liburllibrequest.py", line 1268, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "C:UsersAdministratorAppDataLocalProgramsPythonPython35-32liburllibrequest.py", line 1242, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 11002] getaddrinfo failed>
Sometimes I get the following message in PRTG with some website I want to monitor. Does anyone know what this message means and where it comes from?
- Failed to establish secure connection
- [Step 0] Socket Error # 11002
- [Step 1] Socket Error # 11002
- [Step 2] Socket Error # 11002
- [Step 3] Socket Error # 11002
- [Step 4] Socket Error # 11002
- [Step 5] Socket Error # 11002
- [Unsecure] IOHandler value is not valid
11002
iohandler
prtg
Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
Windows Sockets are an application program interface (API) that allow communication between two systems over a network. Socket errors can be caused by various issues including connectivity problems on the network, client or server computers or due to a firewall, antivirus or a proxy server.
This article provides information about common socket errors you may encounter when using FTP, Cloud, SBMS or Email with SyncBack:
Socket error # 10013, Permission denied
This error occurs when the socket connection to the remote server is denied. The possible reasons are a firewall or antivirus (AV) software is blocking the connection, the port used is blocked or unreachable.
Temporarily disable firewall/AV program and check the connection after restarting your computer.
Socket Error # 10039, Destination address required
There may be a problem getting the IP address for the hostname.
Socket error # 10052, Network dropped connection on reset
The host you are connecting to crashed or rebooted. Retry later.
Socket error # 10053, Software caused connection abort
An established connection was closed by software on your local host. Possibly a firewall, AV or something else on your local computer aborted the connection, or the connection to the remote server timed out.
Socket Error # 10054, Connection reset by peer
The remote server or some other software is forcibly closing or resetting the established connection. This may be a problem with your network, firewall or AV configuration, the remote server is stopped or rebooted.
Ensure that the hostname or IP address of the remote server is correct and check if the remote server is reachable.
Socket error # 10055, No buffer space available
This error indicate that Windows has run out of socket buffers. The most common causes of this error are running a high number of applications simultaneously and insufficient system resources (memory or disk space).
Close unwanted programs that are running, restart the computer to free up resources. If you are backing-up to a cloud server, then reduce the number of threads to use from Cloud > Advanced settings page.
Socket error # 10060, Connection timed out
This is a connection timeout error, which means the remote server did not properly respond after a period of time. It generally suggests firewall or network issues e.g. a firewall may be permitting some commands/responses but blocking others or may be the hostname/port is incorrect.
Socket error # 10061, Connection refused
A connection to the server cannot be established as the remote server actively refused the connection. The common causes are the server is not running, incorrect connection parameters are used when establishing a connection (e.g. a wrong port number is used), a firewall or antivirus is blocking the connection.
Check if the server connection details are configured correctly and ensure the firewall is not blocking the connection.
Socket error # 10106, Service provider failed to initialize
This error can be caused by corrupted Windows system files, incomplete installation/uninstallation of applications or the computer is infected by a virus or malware.
Re-install SyncBack. Run a disk check and virus scan to detect and fix errors.
Socket error # 11001, Host not found
Check that the hostname or IP address has been entered correctly.
Socket error # 11002, Nonauthoritative host not found
This is a temporary error during hostname resolution, which means the hostname could not be resolved to an IP address. Try reconnecting later.
При апдейте пишет Socket error 11002 и игра не грузиться -я знаю что эта ошибка означет что апдейт не видет подключение к инету-че делать?)
(Хосты уже менял -не помогло подскажите кто знает шо же делать?)
217.20.175.44 x1.asterios.tm
77.88.252.83 x3.asterios.tm
77.88.252.83 x55.asterios.tm
92.60.184.59 х5.asterios.tm
212.113.49.35 asterios.tm
217.20.175.44 forum.asterios.tm
77.120.117.5 patcher.asterios.tm