socket.gaierror: [Errno -2] Name or service not known

Ganesh 6 Reputation points
2022-02-25T03:13:27.107+00:00

while trying to upload files to onedrive using from graph_onedrive import OneDrive following message occurs frequently
File "/root/anaconda3/lib/python3.7/site-packages/httpcore/_exceptions.py", line 8, in map_exceptions
yield
File "/root/anaconda3/lib/python3.7/site-packages/httpcore/backends/sync.py", line 83, in connect_tcp
address, timeout, source_address=source_address
File "/root/anaconda3/lib/python3.7/socket.py", line 707, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/root/anaconda3/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,273 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.