Giter Site home page Giter Site logo

Comments (9)

achernyakevich-sc avatar achernyakevich-sc commented on May 27, 2024 2

@raj-katonic

My experience said me that problem could be related not to the component itself, but to the infra configuration. I would recommend you to turn off reverse proxy and check. If upload will work successfully then the most probably you need to check configuration of your reverse proxy for permissions to upload files and the size limitation for files you upload.

Please, could you test the proposed scenario and provide us feedback. We either will try to dig the issue deeper or close it.

File uploading process does start on bottom right when I try to upload, it does'nt
upload. Delete operation runs fine.
What must be the issue here ?

Thanks

from filemanager.

visortelle avatar visortelle commented on May 27, 2024 2

@raj-katonic, try to upload an empty file or a file less than 4KB file.
If this operation will be finished successfully, then try to check a configuration property called something like max_body_size of the ingress proxy that you use in front of oauth2-proxy.

from filemanager.

estambakio-sc avatar estambakio-sc commented on May 27, 2024 2

Makes sense to look into

  • ingress logs
  • oauth2-proxy logs

Right when you initiate upload.

from filemanager.

achernyakevich-sc avatar achernyakevich-sc commented on May 27, 2024 1

@raj-katonic

And yeah when I remove the reverse proxy it works fine. But still I have my other applications which run fine to upload files on them when used behind reverse proxy with same configuration.

It just let us think that reverse proxy configuration for this particular application looks as a source of problem. You could try to compare reverse proxy configs of working and not working application.

Meantime, it would be great if you will give us feedback as soon as you will have found reason of the problem. So we will be sure it is not component specific or it is really a bug. I will place this issue to hold for one month. If there will be no confirmation from you we will close this issue as not reproducible.

Thank you.

With best regards and wishes,
Alex.

from filemanager.

visortelle avatar visortelle commented on May 27, 2024 1

@raj-katonic, did you try to check if the upload HTTP request headers list differs in the case when oauth-proxy is enabled from the case when oauth-proxy is disabled?
You can try to check it both in the browser dev tools and in the filemanager's server logs.

from filemanager.

visortelle avatar visortelle commented on May 27, 2024 1

@raj-katonic, will you try to fix this issue or will just use the hurlenko's filebrowser?

If this issue isn't relevant to you anymore, I think you can close it. :)

from filemanager.

raj-katonic avatar raj-katonic commented on May 27, 2024 1

Sure I'm closing it thanks for replying everyone :)

from filemanager.

raj-katonic avatar raj-katonic commented on May 27, 2024

Thanks @visortelle and @achernyakevich-sc for replying, I tried uploading empty file still it is not getting uploaded. The upload process does start and complete on the right bottom but doesn't do the work.
And yeah when I remove the reverse proxy it works fine. But still I have my other applications which run fine to upload files on them when used behind reverse proxy with same configuration.
Thanks :)

from filemanager.

raj-katonic avatar raj-katonic commented on May 27, 2024

@visortelle and @estambakio-sc here are the logs of both containers when I try to upload file (starting below "------------" in images).

  1. oauth2-con container
    logs-oauth2

  2. filemanager container
    logs-file-manger-container

I guess this should help.

I tried using this filebrowser hurlenko's filebrowser, and it is working fine with the same configuration.

Thanks :)

from filemanager.

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.