You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the multi_ping on a Windows Server 2012 R2 Standard (64 bit) with Python 3.5.2, I got the following error:
Traceback (most recent call last):
File "", line 1, in
File "D:\venv\lib\site-packages\multiping_init_.py", line 485, in multi_ping
single_results, no_results = mp.receive(retry_timeout)
File "D:\venv\lib\site-packages\multiping_init_.py", line 399, in receive
pkts = self.read_all_from_socket(remaining_time)
File "D:\venv\lib\site-packages\multiping_init.py", line 320, in _read_all_from_socket
p = self._sock.recv(64)
OSError: [WinError 10040] A message sent on a datagram socket was larger than the internal message buffer or some other
network limit, or the buffer used to receive a datagram into was smaller than the datagram itself
Note that the IP address that I try to ping is not reachable, it works when I ping an address that is reachable. What is weird is that I have the library installed on two server which should be identical (save OS and same Python version) and it only failed on one server.
I could work around the issue by increasing the socket receive buffer to 128 bytes: File "D:\venv\lib\site-packages\multiping\__init__.py", line 320, in _read_all_from_socket p = self._sock.recv(128)
The text was updated successfully, but these errors were encountered:
Running the multi_ping on a Windows Server 2012 R2 Standard (64 bit) with Python 3.5.2, I got the following error:
Traceback (most recent call last):
File "", line 1, in
File "D:\venv\lib\site-packages\multiping_init_.py", line 485, in multi_ping
single_results, no_results = mp.receive(retry_timeout)
File "D:\venv\lib\site-packages\multiping_init_.py", line 399, in receive
pkts = self.read_all_from_socket(remaining_time)
File "D:\venv\lib\site-packages\multiping_init.py", line 320, in _read_all_from_socket
p = self._sock.recv(64)
OSError: [WinError 10040] A message sent on a datagram socket was larger than the internal message buffer or some other
network limit, or the buffer used to receive a datagram into was smaller than the datagram itself
Note that the IP address that I try to ping is not reachable, it works when I ping an address that is reachable. What is weird is that I have the library installed on two server which should be identical (save OS and same Python version) and it only failed on one server.
I could work around the issue by increasing the socket receive buffer to 128 bytes:
File "D:\venv\lib\site-packages\multiping\__init__.py", line 320, in _read_all_from_socket p = self._sock.recv(128)
The text was updated successfully, but these errors were encountered: