jstaf / onedriver

A native Linux filesystem for Microsoft OneDrive
GNU General Public License v3.0
1.88k stars 92 forks source link

context deadline exceeded (Client.Timeout exceeded while awaiting headers) #263

Closed dipunm closed 2 years ago

dipunm commented 2 years ago

I noticed recently that my file was not being updated, and so I deleted and tried to re-upload it. It wouldn't show up on the website.

I ran the app from the commandline and saw the following error:

02:14:15 WRN Upload session failed, will retry from beginning. error="small upload failed: Put \"https://graph.microsoft.com/v1.0/me/drive/items/6BB5F08A4543F2AC%215359:/File.txt:/content\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)" id=local-V7RejsGNhi3E6olId9IL name=File.txt
jstaf commented 2 years ago

I've seen this error off and on over the years, but have never quite been able to pin down what's causing it. My suspicion is that it's a network error caused by not getting a response back from Microsoft in 15 seconds (Microsoft's servers might be having a hard time), but admittedly this is total speculation.

Do you have a good way of reliably reproducing this?

Related: https://github.com/jstaf/onedriver/issues/98

jstaf commented 2 years ago

Going to close this as a duplicate of #98.