Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. TTRSS - API Invalid ID

TTRSS - API Invalid ID

Scheduled Pinned Locked Moved Solved Support
17 Posts 2 Posters 2.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JLX89
    wrote on last edited by
    #1

    Hello All!
    I'm trying to setup access to Tiny Tiny RSS using the API and connecting using the TTRSS Android App. When I try to connect, I'm getting an invalid user/password.

    I'm using an app password, but it doesn't seem to be working.

    Android Log File:

    01-27 20:43:34.770 30290 30290 E org.fox.ttrss: Invalid ID 0x00000000.
    01-27 20:43:34.770 30290 30290 E org.fox.ttrss: Invalid ID 0x00000000.

    TTRSS Log File:

    Jan 27 20:45:52 [Wed Jan 27 11:45:52.572442 2021] [php7:warn] [pid 138] [client X.X.X.X:38648] PHP Warning: Failed login attempt for [USERNAME] from X.X.X.X in /app/code/classes/api.php on line 84
    Jan 27 20:45:52 X.X.X.X - - [27/Jan/2021:11:45:52 +0000] "POST /api/ HTTP/1.1" 200 445 "-" "Tiny Tiny RSS (Android) 1.296 (530) Dalvik/2.1.0 (Linux; U; Android 11; [Device Type])"
    Jan 27 20:46:00 X.X.X.X - - [27/Jan/2021:11:46:00 +0000] "GET / HTTP/1.1" 200 777 "-" "Mozilla (CloudronHealth)"

    Any thoughts on this? I did see some other topics, but wasn't sure if that issue with the API was fixed or not?

    Thank you,
    Justin

    girishG 1 Reply Last reply
    0
    • J JLX89

      Hello All!
      I'm trying to setup access to Tiny Tiny RSS using the API and connecting using the TTRSS Android App. When I try to connect, I'm getting an invalid user/password.

      I'm using an app password, but it doesn't seem to be working.

      Android Log File:

      01-27 20:43:34.770 30290 30290 E org.fox.ttrss: Invalid ID 0x00000000.
      01-27 20:43:34.770 30290 30290 E org.fox.ttrss: Invalid ID 0x00000000.

      TTRSS Log File:

      Jan 27 20:45:52 [Wed Jan 27 11:45:52.572442 2021] [php7:warn] [pid 138] [client X.X.X.X:38648] PHP Warning: Failed login attempt for [USERNAME] from X.X.X.X in /app/code/classes/api.php on line 84
      Jan 27 20:45:52 X.X.X.X - - [27/Jan/2021:11:45:52 +0000] "POST /api/ HTTP/1.1" 200 445 "-" "Tiny Tiny RSS (Android) 1.296 (530) Dalvik/2.1.0 (Linux; U; Android 11; [Device Type])"
      Jan 27 20:46:00 X.X.X.X - - [27/Jan/2021:11:46:00 +0000] "GET / HTTP/1.1" 200 777 "-" "Mozilla (CloudronHealth)"

      Any thoughts on this? I did see some other topics, but wasn't sure if that issue with the API was fixed or not?

      Thank you,
      Justin

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @jlx89 It seems to just work for me. I had to just enable the API. From the logs it looks like the password might be wrong?

      7d88f383-a18b-449d-96fa-5947f1063257-image.png

      J 1 Reply Last reply
      0
      • girishG girish

        @jlx89 It seems to just work for me. I had to just enable the API. From the logs it looks like the password might be wrong?

        7d88f383-a18b-449d-96fa-5947f1063257-image.png

        J Offline
        J Offline
        JLX89
        wrote on last edited by
        #3

        @girish Yeah, I enabled the API -- but I was using the App Password. I've tried two different App Passwords and seem to be having the same issue.

        girishG 1 Reply Last reply
        0
        • J JLX89

          @girish Yeah, I enabled the API -- but I was using the App Password. I've tried two different App Passwords and seem to be having the same issue.

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #4

          @jlx89 I checked with app password as well and seems to work. I just noticed there are different TTRSS apps. I am using https://play.google.com/store/apps/details?id=org.ttrssreader . Is that the same as you are testing?

          edit: from the logs, it seems you are trying https://play.google.com/store/apps/details?id=org.fox.ttrss . let me try that.

          J 1 Reply Last reply
          0
          • girishG girish

            @jlx89 I checked with app password as well and seems to work. I just noticed there are different TTRSS apps. I am using https://play.google.com/store/apps/details?id=org.ttrssreader . Is that the same as you are testing?

            edit: from the logs, it seems you are trying https://play.google.com/store/apps/details?id=org.fox.ttrss . let me try that.

            J Offline
            J Offline
            JLX89
            wrote on last edited by
            #5

            @girish Sure is, same app and same version.

            girishG 2 Replies Last reply
            0
            • J JLX89

              @girish Sure is, same app and same version.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @jlx89 App password works for me in the org.fox.ttrss app as well. mm, wonder how we can test this.

              1 Reply Last reply
              0
              • J JLX89

                @girish Sure is, same app and same version.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by girish
                #7

                @jlx89 Can you quickly test if the one time password works in the desktop browser? That will atleast remove any issue around typing the password on mobile.

                I also installed the reader app on the demo instance:

                URL https://reader.demo.cloudron.io
                username: cloudron
                password: 45dbb9db9c01b53d
                

                Does the above work for you in the app?

                J 1 Reply Last reply
                0
                • girishG girish

                  @jlx89 Can you quickly test if the one time password works in the desktop browser? That will atleast remove any issue around typing the password on mobile.

                  I also installed the reader app on the demo instance:

                  URL https://reader.demo.cloudron.io
                  username: cloudron
                  password: 45dbb9db9c01b53d
                  

                  Does the above work for you in the app?

                  J Offline
                  J Offline
                  JLX89
                  wrote on last edited by
                  #8

                  @girish Yeah, just gave that a shot and it works.

                  girishG 1 Reply Last reply
                  0
                  • J JLX89

                    @girish Yeah, just gave that a shot and it works.

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #9

                    @jlx89 As in the 1-time password works on the browser? If so, it's then probably some typing issue on mobile probably since it's all the same mechanism.

                    J 1 Reply Last reply
                    0
                    • girishG girish

                      @jlx89 As in the 1-time password works on the browser? If so, it's then probably some typing issue on mobile probably since it's all the same mechanism.

                      J Offline
                      J Offline
                      JLX89
                      wrote on last edited by
                      #10

                      @girish Yeah, I had tried that before posting on the forums. It doesn't work there either. Although, not sure if it matters but this is listed next to the app pass: Last Used: Thu, Jan 01 1970 - 9:00.

                      girishG 2 Replies Last reply
                      0
                      • J JLX89

                        @girish Yeah, I had tried that before posting on the forums. It doesn't work there either. Although, not sure if it matters but this is listed next to the app pass: Last Used: Thu, Jan 01 1970 - 9:00.

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #11

                        @jlx89 oh. looks like you are testing some other functionality. Is this tiny tiny rss app password feature? I was actually testing out Cloudron's app password feature - https://docs.cloudron.io/profile/#app-passwords

                        J 1 Reply Last reply
                        0
                        • J JLX89

                          @girish Yeah, I had tried that before posting on the forums. It doesn't work there either. Although, not sure if it matters but this is listed next to the app pass: Last Used: Thu, Jan 01 1970 - 9:00.

                          girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #12

                          @jlx89 Right. So, TTRSS app password feature won't work since it wants to use auth_internal. On Cloudron, we use auth_ldap so that it integrates with Cloudron user management. What you can do is to generate app password on Cloudron instead of TTRSS.

                          97492957-d91e-4ac0-ad27-aa6e67b36561-image.png

                          J 1 Reply Last reply
                          0
                          • girishG girish

                            @jlx89 oh. looks like you are testing some other functionality. Is this tiny tiny rss app password feature? I was actually testing out Cloudron's app password feature - https://docs.cloudron.io/profile/#app-passwords

                            J Offline
                            J Offline
                            JLX89
                            wrote on last edited by JLX89
                            #13

                            @girish I was actually using the app password inside TTRSS. I didn't see an option to add the App Password inside Cloudron for TTRSS.

                            alt text

                            @girish Yes, I was trying it from the "App Passwords", not the OTA Screen.

                            girishG 1 Reply Last reply
                            0
                            • girishG girish

                              @jlx89 Right. So, TTRSS app password feature won't work since it wants to use auth_internal. On Cloudron, we use auth_ldap so that it integrates with Cloudron user management. What you can do is to generate app password on Cloudron instead of TTRSS.

                              97492957-d91e-4ac0-ad27-aa6e67b36561-image.png

                              J Offline
                              J Offline
                              JLX89
                              wrote on last edited by
                              #14
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • J JLX89

                                @girish I was actually using the app password inside TTRSS. I didn't see an option to add the App Password inside Cloudron for TTRSS.

                                alt text

                                @girish Yes, I was trying it from the "App Passwords", not the OTA Screen.

                                girishG Offline
                                girishG Offline
                                girish
                                Staff
                                wrote on last edited by
                                #15

                                @jlx89 Right, that's a bug. So, if you go to Settings -> Check for updates. It will provide an update to 6.1.1. If you update, it has the fix for this bug. (The update will say it's unstable, but it should be fine to update).

                                J 1 Reply Last reply
                                0
                                • girishG girish

                                  @jlx89 Right, that's a bug. So, if you go to Settings -> Check for updates. It will provide an update to 6.1.1. If you update, it has the fix for this bug. (The update will say it's unstable, but it should be fine to update).

                                  J Offline
                                  J Offline
                                  JLX89
                                  wrote on last edited by
                                  #16

                                  @girish Ok, perfect -- updating now, will let you know how that turns out. Thank you so much for your help!

                                  1 Reply Last reply
                                  0
                                  • J Offline
                                    J Offline
                                    JLX89
                                    wrote on last edited by
                                    #17

                                    @girish That did the trick, thank you so much!

                                    1 Reply Last reply
                                    1
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    • Login

                                    • Don't have an account? Register

                                    • Login or register to search.
                                    • First post
                                      Last post
                                    0
                                    • Categories
                                    • Recent
                                    • Tags
                                    • Popular
                                    • Bookmarks
                                    • Search