Project

General

Profile

REST API authentication does not work for a particular scenario

Added by Murat Ursavas about 10 years ago

Hi,

I've searched the web and redmine boards but couldn't find a solution for my problem.

My Redmine server is Turnkey Linux Core, which is basically a Debian Wheezy. Redmine and my other software (SCM Manager) are working fine but I can not make them talk via REST API. SCM Manager's redmine plugin has all the rights to access Redmine but somehow it can not get authenticated and refused as anonymous user. From the other software side it looks like it applies the correct credentials.

If I try to get the same data from the same point using lynx browser I can successfuly authenticate and get the REST API data. So it is very difficult to debug this issue.

I need to have extensive logs but it's an another story. If I increase the log level, I lose the logs after the startup. Nothing changes after the first logs.

What do you suggest for a progress?

Here's my environment parameters:

Environment:
  Redmine version                2.5.0.stable
  Ruby version                   1.9.3-p194 (2012-04-20) [x86_64-linux]
  Rails version                  3.2.17
  Environment                    production
  Database adapter               Mysql2
SCM:
  Mercurial                      2.2.2
  Git                            1.7.10.4
  Filesystem                     
Redmine plugins:
  no plugin installed
OS:
  TurnKey Linux 13.0 / Debian 7.4 Wheezy
Web Server:
  Apache/2.2.22 (Debian)