asaenko / ttrss-reader

Automatically exported from code.google.com/p/ttrss-reader
Other
0 stars 0 forks source link

ttrss-reader returns {"error":"LOGIN_ERROR""} with correct Username/Password #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Configured tt-rss and reader
2. Attempted Login with appropriate credentials
3. Reader application stopped at error:

{"error":"LOGIN_ERROR""} 

What is the expected output? What do you see instead?

Application not logging in successfully

What version of the product are you using? On what operating system?

tt-rss v1.4.0, ttrss-reader v0.2.0

Please provide any additional information below.

tt-rss JSON api reports error as being incorrect username and password, but
login information is correct.

Original issue reported on code.google.com by dare2dre...@gmail.com on 14 Mar 2010 at 11:05

GoogleCodeExporter commented 8 years ago
If the user is not an admin user, I get an "API is not enabled" error. 
According to
the web interface, the External API is enabled and appears to be functioning.

Original comment by dare2dre...@gmail.com on 14 Mar 2010 at 11:18

GoogleCodeExporter commented 8 years ago
Hi,

Thanks for your report.

For the second point, enabling API seems to be a per-user setting, which 
default to
"false". So even if your admin user has API enabled to true, new users will 
have it
set to false. Can you double-check this ?

There is also a recurrent problem in ttrss-reader when changing credentials,
sometimes changes are not applied immediately. Can you try the following :

1) Make sure credentials are correct;
2) Kill ttrss-reader (in application management, or by using a task-killer);
3 Restart ttrss-reader;

Original comment by J.Devauc...@gmail.com on 15 Mar 2010 at 9:00

GoogleCodeExporter commented 8 years ago
I went ahead and did a clean reinstall of ttrss-reader, carefully 
double-checking my
credentials. I still get the login error on my admin account and "api in not 
enabled"
on any of my other user accounts.

"Enable external API" is enabled on both accounts.

Original comment by dare2dre...@gmail.com on 15 Mar 2010 at 9:49

GoogleCodeExporter commented 8 years ago
Very strange...

Maybe we should found who is faulty, ttrss or ttrss-reader... Can you try to 
navigate
to the following url in your browser ?

http://example.dom/path/to/tt-rss/api/?op=login&user=you&password=xxx

(Obviously change the url, user and password values).

For both the admin and user account.

Original comment by J.Devauc...@gmail.com on 16 Mar 2010 at 11:19

GoogleCodeExporter commented 8 years ago
Well, that narrows down one thing, it's ttrss' fault.

http://example.dom/path/to/tt-rss/api/?op=login&user=you&password=xxx

(appropriately pointed at my domain and admin user)

Resulted in:

{"error":"LOGIN_ERROR"}

So I guess there's something wrong with my installation.

Original comment by dare2dre...@gmail.com on 16 Mar 2010 at 5:09

GoogleCodeExporter commented 8 years ago
Yes, i think so...

I'll wait some days before closing this one, hope you will find a solution.

Original comment by J.Devauc...@gmail.com on 17 Mar 2010 at 9:26

GoogleCodeExporter commented 8 years ago
I did a re-installation of my server recently, and while setting tt-rss back up 
I stumbled on something. It seems that my previous login issueswere caused by 
having an ampersand "&" in my password.

Original comment by dare2dre...@gmail.com on 21 Jun 2010 at 7:36

GoogleCodeExporter commented 8 years ago
Same pb: i had a # and had the same error. No "#" = no error :)

Original comment by francois...@gmail.com on 30 Jun 2010 at 3:36

GoogleCodeExporter commented 8 years ago
Had the same problem but my password had "/". I think password needs to be 
escaped.

Original comment by aristeu....@gmail.com on 9 May 2013 at 7:01