Git Product home page Git Product logo

Comments (18)

Benimautner avatar Benimautner commented on May 20, 2024 1

Attached is a version of the app implementing this.
I don't have time to set up my vikunja instance with a self-signed cert so please try it and tell me if it works.
I know some other parts of the app are buggy right now. That's because I had to switch libraries, and the new one is doing weird stuff. A dedicated release will be available once everything is back to normal.
app-main-release.zip

from app.

mtettke123 avatar mtettke123 commented on May 20, 2024 1

can confirm it's working now. Thank you!

from app.

kdrobnyh avatar kdrobnyh commented on May 20, 2024

Can confirm that, having the same issue.

from app.

kolaente avatar kolaente commented on May 20, 2024

@Benimautner Should this be fixed in the app or should it work if users import the certificate into android's ca store?

from app.

mtettke123 avatar mtettke123 commented on May 20, 2024

I don't like the idea of importing (temporary) self-signed certificates in the Android CA ...

from app.

Benimautner avatar Benimautner commented on May 20, 2024

This should probably be fixed in the app. Maybe by importing the cert directly or by only showing a warning if an untrusted certificate is used. I like the first one better, the second one seems very insecure.

I was AFK for the last couple of days so excuse my late response. I will take a look at it in the coming days.

from app.

mtettke123 avatar mtettke123 commented on May 20, 2024

Some common solution seems to be an option in the settings "dont verify certificates"

from app.

kdrobnyh avatar kdrobnyh commented on May 20, 2024

@Benimautner, maybe I miss something, but I have to log in first to be able to change options. Right now I still can't log in.

from app.

Benimautner avatar Benimautner commented on May 20, 2024

@kdrobnyh True, my mistake. Here you go.
app-main-release.zip

from app.

kdrobnyh avatar kdrobnyh commented on May 20, 2024

@Benimautner, "HttpException: Content size exceeds specified contentLength. 4 bytes written while expected 0. [null]". Do you have any idea what can cause this? Also, "login with frontend" just freezes with a white screen.

from app.

mtettke123 avatar mtettke123 commented on May 20, 2024

Strange. I had the exact same error message on first try, second try worked wothout an error. Thought it was my mobile phone fooling around...

from app.

Benimautner avatar Benimautner commented on May 20, 2024

This is a bug which occurs when two requests happen too close to each other, as discovered by @k9withabone. This needs a fix asap, but we need to think about possible solutions first.

from app.

Benimautner avatar Benimautner commented on May 20, 2024

So the temporary workaround is to retry the request every time it fails. This will be fixed in a later release, but as self-signed certs are supported in the newest version, I will close this issue. Feel free to reopen it if you need anything else.

from app.

Benimautner avatar Benimautner commented on May 20, 2024

Hi!
I am currently trying to fix the issue where the app does not load every request properly. I have not been able to set up a test instance with a self-signed cert, so it'd be great if you could test whether this still works in the new fix. For that, please download the APK from this comment.

Thanks in advance!

from app.

kdrobnyh avatar kdrobnyh commented on May 20, 2024

Still have HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate (handshake.cc:393)). It happens with and without ignore certificates checked.

from app.

Benimautner avatar Benimautner commented on May 20, 2024

I think I finally figured it out. I set up my own self-signed cert to debug with, and it works for me. Just one last round of feedback before I create a release would be great.
app-main-release.zip

from app.

kdrobnyh avatar kdrobnyh commented on May 20, 2024

Looks like the app works now, thanks!

from app.

Benimautner avatar Benimautner commented on May 20, 2024

published in v0.0.20-alpha

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