Comments (9)
Could you use http://www.telerik.com/download/fiddler to capture a trace of what the client did? I would expect you to get a 404 right away if the file was not around, this is tingling my code smell sense...
from livesdk-for-windows.
Client request:
MOVE https://apis.live.net/v5.0/file.xxx.xxx!xxx?suppress_response_codes=true&suppress_redirects=true HTTP/1.1
Accept: /
Authorization: bearer xxxxx
X-HTTP-Live-Library: Windows/.Net4_1.0Client
Content-Type: application/json;charset=UTF-8
Host: apis.live.net
Content-Length: 68
Expect: 100-continue{ "destination" : "folder.xxx.xxx!xxx" }
Server response:
HTTP/1.1 504 Fiddler - Receive Failure
Date: Thu, 09 Apr 2015 22:34:51 GMT
Content-Type: text/html; charset=UTF-8
Connection: close
Cache-Control: no-cache, must-revalidate
Timestamp: 00:34:51.439[Fiddler] ReadResponse() failed: The server did not return a complete response for this request. Server returned 0 bytes.
To get that Fiddler response, I had to wait for 30-60 seconds, at which point I got that LiveConnectException saying that server is offline. No 404 anywhere...
from livesdk-for-windows.
Btw the same problem appears to be with "Copy" too, as long as both the file and target folder do not exist. If any one of them exists, both "Copy" and "Move" return error response correctly. But I guess that's just because "Copy" and "Move" share the same request handling code at the server.
from livesdk-for-windows.
I'm activity investigating this issue
from livesdk-for-windows.
I found the underlying issue, requests will stall on a Move or Copy where the destination folder does not exist. I'll circle back when the issue has been fixed.
from livesdk-for-windows.
@paya-cz Could you check and see if this problem persists?
from livesdk-for-windows.
@peternied The problem still persists and the server response did not change - I still get the same fiddler output, and it takes about 30 seconds for the Move/Copy request to timeout.
from livesdk-for-windows.
I've got a fix that should prevent requests from stalling out, I'll let you know when it is available to try out
from livesdk-for-windows.
This fix is avaliable, please reopen if you continue to experience problems
from livesdk-for-windows.
Related Issues (20)
- Possibly null ref exception after remote tos update HOT 3
- Why LiveAuthRequestUtility.RefreshTokenAsync() is not public? HOT 1
- Background upload on Windows Phone RT does not report progress HOT 1
- LiveAuthClient.ExchangeAuthCodeAsync doesn't seem to handle errors properly HOT 9
- Import email contact to websie HOT 3
- download / upload windows phone 8.1 HOT 4
- Nuget Package is out of date! HOT 1
- Nuget Package is still using custom IProgress<T> in .NET 4.5 HOT 1
- Subscribe calendar in windows phone HOT 4
- NullReferenceException at Microsoft.Live.ResourceHelper.GetString() HOT 1
- Request throttling HOT 6
- UploadOperation is using unnecessary GetUploadLinkOperation HOT 2
- Server does not seem to be 100% consistent HOT 5
- WinStore: Crash at Microsoft.Live.ResourceHelper.GetString(String name) HOT 8
- WinStore resources file does not contain "NoResponseData" string
- Custom avatars cannot be loaded, the default one works fine HOT 2
- Live SDK package on Nuget doesn't work in Universal app and has to be installed manually HOT 5
- Will throw exception when used in a UWP compiled with .net native HOT 1
- Lack of login_hint param
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livesdk-for-windows.