Giter Site home page Giter Site logo

Comments (9)

peternied avatar peternied commented on August 11, 2024

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.

paya-cz avatar paya-cz commented on August 11, 2024

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.

paya-cz avatar paya-cz commented on August 11, 2024

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.

peternied avatar peternied commented on August 11, 2024

I'm activity investigating this issue

from livesdk-for-windows.

peternied avatar peternied commented on August 11, 2024

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.

peternied avatar peternied commented on August 11, 2024

@paya-cz Could you check and see if this problem persists?

from livesdk-for-windows.

paya-cz avatar paya-cz commented on August 11, 2024

@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.

peternied avatar peternied commented on August 11, 2024

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.

peternied avatar peternied commented on August 11, 2024

This fix is avaliable, please reopen if you continue to experience problems

from livesdk-for-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.