TTRSS - API Invalid ID
-
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 -
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 -
@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?
-
@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.
@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.
-
@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.
-
@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?
-
@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?
-
@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.
-
@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.
-
@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.
@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.
-
@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
-
@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.
-
-
@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).