Code Monkey home page Code Monkey logo

Comments (9)

sigoden avatar sigoden commented on August 23, 2024 1

Issue #95 is open to handle concurrency.

from dufs.

sigoden avatar sigoden commented on August 23, 2024

why so many failures, could you post logs?

I don't support retries because:

  1. Failure is a rare case.
  2. Re-upload requires allow-delete.

from dufs.

leolulu avatar leolulu commented on August 23, 2024

weird. I did the identical uploading again, and got two failures.

……
……
Duplicate.Cleaner.Pro.5.16.0.0/Magick.NET-Q8-AnyCPU.dll ✗
……
……
Duplicate.Cleaner.Pro.5.16.0.0/x64/SQLite.Interop.dll ✗
……
……

Then the log during this uploading:

……
……
[2022-07-05T05:21:13.130Z INFO] 192.168.123.221 "PUT /Duplicate.Cleaner.Pro.5.16.0.0/Magick.NET-Q8-AnyCPU.dll" - 201
……
……
[2022-07-05T05:22:39.590Z INFO] 192.168.123.221 "PUT /Duplicate.Cleaner.Pro.5.16.0.0/x86/SQLite.Interop.dll" - 201
……
……

Finally after I refresh the web page, these files do exists, so are in the local file system.
Seems the error only appears on the web page.

from dufs.

sigoden avatar sigoden commented on August 23, 2024

ui should not show failure if log shows success.

Could you open webdev tools and take a screenshot of the network/console panel?

from dufs.

leolulu avatar leolulu commented on August 23, 2024

sure, I take one of the failures as example.

web page result:
Duplicate.Cleaner.Pro.5.16.0.0/Magick.NET.Core.dll ✗

backend log:
[2022-07-05T10:27:48.897Z INFO] 192.168.123.221 "PUT /Duplicate.Cleaner.Pro.5.16.0.0/Magick.NET.Core.dll" - 201

webdev network:
image

webdev console:
image

from dufs.

sigoden avatar sigoden commented on August 23, 2024

dufs never returns 502. Are your run dufs behind a proxy?

from dufs.

leolulu avatar leolulu commented on August 23, 2024

Yes, I deploy dufs on my local machine, and expose the service through frp(a reverse proxy).
Then access by the public ip and port.
Could this be the reason?

from dufs.

sigoden avatar sigoden commented on August 23, 2024

The probability of upload failure is related to network quality and concurrency.

You can test whether reducing the concurrency can improve the upload success rate.

from dufs.

leolulu avatar leolulu commented on August 23, 2024

sure, I will try.
And Since it's not the problem of program itself, I think this thread could be closed.
Thanks for your tech support :)

from dufs.

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.