Code Monkey home page Code Monkey logo

Comments (14)

bauerj avatar bauerj commented on May 17, 2024

Hey,

that's odd. I assume it works fine in the browser? Do you use some kind of reverse proxy in front of the paperless server?

from paperless_app.

Elderglass avatar Elderglass commented on May 17, 2024

You're right it works absolutely fine in the browser on all devices. And no reverse proxy in use, just connecting directly to the ip of the paperless-ng docker instance.

from paperless_app.

bauerj avatar bauerj commented on May 17, 2024

Okay, this is quite puzzling.

I'm not able to reproduce this so I need some more information from you:

Could you connect your phone to your computer, enable USB debugging, run adb logcat and send me the output?

Otherwise I'll try to come up with an easier way to debug this.

from paperless_app.

AdamGalt avatar AdamGalt commented on May 17, 2024

@bauerj I'm not the OP, but do you still need logcat output?

I'm facing the same issue and can provide you one privately as well if it's helpful.

from paperless_app.

bauerj avatar bauerj commented on May 17, 2024

Yes, I still have no clue towards the issue. A log should be very helpful!

You can send it to me at [email protected].

from paperless_app.

AdamGalt avatar AdamGalt commented on May 17, 2024

Was that log file useful? Happy to test and provide more logs if required. Just let me know.

from paperless_app.

bauerj avatar bauerj commented on May 17, 2024

Hey,

sorry I didn't respond yet. No, sadly there was nothing in the logs that could help to solve this issue.

Could you please try connecting to this server?

https://paperless-demo.quinncasey.com/
paperless
paperless

from paperless_app.

AdamGalt avatar AdamGalt commented on May 17, 2024

Done and sent! Let me know if you need any more and thank you for looking into this. πŸ‘

from paperless_app.

bauerj avatar bauerj commented on May 17, 2024

Hi Adam,

I still wasn't able to find the cause to this issue. Could you please provide me with some more information?

  • Do you connect to your Paperless instance through HTTPS?
  • Do you have a reverse proxy or anything in front of Paperless NG?
  • Can you run curl -u 'username:password' https://paperless.example.com/api/documents/1/thumb/ -vvv --http1.0 --output 1.png; file 1.png in a Linux console with your details filled in and send me the output? Do make sure to blank the line starting with "> Authorization" as that contains an encoded form of your credentials.

My suspicion is that there is something wrong with the server configuration as only two people reported about it. But it could also be a sneaky Flutter bug that only happens in a specific environment. Would you be able to test the app on a different Android device or in an emulator to see if that makes any difference?

Thank you for your help in debugging this and sorry again that this is taking so long.

from paperless_app.

AdamGalt avatar AdamGalt commented on May 17, 2024

from paperless_app.

bauerj avatar bauerj commented on May 17, 2024

Can you confirm that a document with ID 1 exists by visiting http://100.109.54.79:8000/documents/1? If it doesn't, please repeat the command above with an ID of one of your documents instead of the 1.

from paperless_app.

AdamGalt avatar AdamGalt commented on May 17, 2024

from paperless_app.

bauerj avatar bauerj commented on May 17, 2024

Phew, thanks for letting me know πŸ˜„

Still a weird bug but happy to hear you found a solution!

@Elderglass can you check if this solves the issue for you as well?

from paperless_app.

thijselblaso avatar thijselblaso commented on May 17, 2024

Hi, for me this issue still exists! I have this problem only when I use the address of the proxy. Local I have no problems with the app. What do I expose over the proxy? I have location /, /api/, /static/ and /ws/. Do I miss something?

from paperless_app.

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.