Closed Entwicklungsleiter closed 1 year ago
@Entwicklungsleiter
Cannot connect to Microsoft OneDrive Service - Network Connection Issue
ERROR: Microsoft OneDrive API returned an error with the following message:
Error Message: Timeout was reached on handle <cut out>
You have hit a known issue, but this is not an issue with the client - but your network and network stack. Please read: https://github.com/abraunegg/onedrive/wiki/Frequently-Asked-Questions#cannot-connect-to-microsoft-onedrive-service---network-connection-issue
Essentially your Ubuntu platform has a DNS bug. You need to complain to Ubuntu (and good luck with that) and get them to fix their DNS resolver so that it can correctly respond with IPv4 and IPv6 responses at the same time.
The work around fix is that you most likely need to add the following into your /etc/resolv.conf file:
options single-request
The alternative here is for you to disable IPv6 if you are not using it.
Unfortunately this is not a bug - sorry.
Thanks for Your quick response. I verified Your description by re-trying to start the docker container in another Wifi environment (at home). It worked. I will talk to network admins in company environment to solve this issue. Thanks a lot!
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug
First: THANKS for this onedrive client and even more thanks for this easy setup with docker container. Guess someone does great work and You (as a Linux based developer) can collaborate with You Windows based company in MINUTES. Amazing, You made my life easier!
The problem: I did setup onedrive with docker months ago and it worked well. Today I discovered newest local changes are not uploaded and vice versa. So I cleaned up everything (volumes, images, containers) and restarted docker container:
The output I get is:
The last message ("Cannot connect..") repeats infinitely.
I also tried to "reset" everything and restart:
I also tried to get URL (found in code) manually:
It looks like Microsoft changed its URLs and the onedrive client cannot handle a 302 moved response.
Operating System Details
Client Installation Method
From 3rd Party Source (PPA, OpenSuSE Build Service etc)
OneDrive Account Type
Business | Office365
What is your OneDrive Application Version
last docker image from 2023-06-12
What is your OneDrive Application Configuration
What is your 'curl' version
Where is your 'sync_dir' located
Local
What are all your system 'mount points'
What are all your local file system partition types
How do you use 'onedrive'
from docker container driveone/onedrive:edge
Steps to reproduce the behaviour
listed above in description
Complete Verbose Log Output
Screenshots
No response
Other Log Information or Details
No response
Additional context
No response