Project

General

Profile

Rest Api 401 unauthorized response

Added by Alexey Belyaev almost 3 years ago

Hello,
I came across wierd problem recently:

1. Turn on Web-service in settings,
2. Get data https://mydomain/issues/49336.json
3. 401 unauthorized response.
I've tried all possible type of authorization, but the same result.

One note finaly: i did get response several days ago but now these error.

I would appritiate any suggestions!

Environment:
Redmine version 4.0.6.stable
Ruby version 2.6.5-p114 (2019-10-01) [x86_64-linux]
Rails version 5.2.4.1
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp

Some headers in response:
Server: nginx/1.12.2
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
WWW-Authenticate: Basic realm="Redmine API"