Hey, I installed the latest build (15) and tried to login to my account on feddit.de. But somehow it always shows that my credentials aren’t valid…which isn’t the case because I’m using a password manager and double checked by logging in to the browser.

  • lFenix
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    You should get an email with a special link. Try downloading that build and logging in again, hopefully I did it correctly and it will show the raw error

    • Brayd@feddit.deOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Well it worked but the error was {“error”: “Unknown”}

      BUT I figured it out! Your app wasn’t able to handle special chars in my password. I changed my password to something without special chars and now it works!

      Specifically I had the special chars { [ @ } < . and # in my password. So somewhere here is the issue and some kind of character here is breaking your password field or your API request. Maybe some escape you’re doing?

      • lFenix
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        Interesting! I will add special characters to my password and see if I can fix that problem. I’ll keep you informed

        • Brayd@feddit.deOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          Sounds good! Thank you for your help! :) Btw, the app works great now that I can test it. One suggestion: Big posts shouldn’t be fully visible in the feed. It’d be better if you’d see a preview and had to click on it to see the rest of the post. But besides that it looks awesome!

          • lFenix
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            I uploaded a new version (16) where I tried to properly escape the special characters. I wonder if that will fix the original problem.

            Speaking of your suggestion, I’ll add it as an option. Many people prefer to see the entire post, but I’ll add it as an option. And thank you! :)

            • Brayd@feddit.deOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              Btw will I get build 16, too now? Because the test build is a higher number with 99999 or whatever it was. Or do I have to leave the testflight and rejoin now?

              Also, do you accept donations to suppprt the development and give you something back for your time and work?

              • lFenix
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 year ago

                Oh, right! I will remove you from the private TestFlight. After that, delete Mlem, wait for 10 minutes, and install it again. You should get version 16.

                And I am very honored that you want to support me 😳 There are two main ways to donate:

                1. Ko-Fi
                2. GitHub Sponsors

                You can donate any amount, but if you decide to donate 5€/month or more, you’ll also get access to all my other apps!

      • lFenix
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Damn, in that case, I have no idea what to do :( That means the API is not receiving the correct data.

        There’s one more thing you could do:

        1. Go to https://www.piesocket.com/websocket-tester and scroll down to “Test WebSockets Server”
        2. Connect to wss://feddit.de/api/v3/ws
        3. Put this in the “Hello PieSocket!” field: {"op": "Login", "data":{"username_or_email": "(your username)", "password": "(your password)"}}
        4. Tell me what shows up under the field
        • Brayd@feddit.deOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Deleted my original comment and wrote another one because I was able to figure it out!