indication / OpenRedmine

Open Redmine
http://indication.github.io/OpenRedmine/
88 stars 44 forks source link

Get token is failed on Redmine 3.3 #218

Open indication opened 5 years ago

indication commented 5 years ago

T/O

gessel commented 5 years ago

I seem to be having a similar issue setting up a new connect (first use, not successful yet, may be stupid user problem). My server uses a basic auth layer, which I see traversed successfully. I can get a token and log in - the token field shows "Oe3c75.... 40 characters" - it appears the token has been granted and saved but when I try to log in to the server it times out silently on the client and the server log shows:

Started GET "/projects.xml?limit=20" for 109.127.76.175 at 2018-10-17 14:21:04 -0700
Processing by ProjectsController#index as XML
  Parameters: {"limit"=>"20"}
  Current user: anonymous
Filter chain halted as :check_if_login_required rendered or redirected
Completed 401 Unauthorized in 10ms (ActiveRecord: 2.7ms)
Environment:
  Redmine version                3.4.6.stable
  Ruby version                   2.4.4-p296 (2018-03-28) [amd64-freebsd10]
  Rails version                  4.2.10
  Environment                    production
  Database adapter               Mysql2
SCM:
  Filesystem                     
Redmine plugins:
  periodictask                   3.3.0
  redmine_checklists             3.1.11
  redmine_custom_reports         0.1.5
  redmine_dmsf                   1.6.1
  redmine_email_images           0.1.1
  redmine_highlightjs            1.0.3
  redmine_image_clipboard_paste  3.3.0
  redmine_issue_templates        0.2.0
  redmine_sortable_table         0.99.1
  redmine_tweaks                 1.0.2
indication commented 5 years ago

Thank you for reporting. We continue to fix this.

gessel commented 5 years ago

Thanks,

I'm happy to test any patches.

indication commented 5 years ago

Thank you for following this issue. Now, you can install beta via Play Store.

gessel commented 5 years ago

Running Beta now.

Log in successful, but nothing rendered in the app - only the "project" tab causes anything to happen server side, neither "favourites" nor "recent" does anything.

ip/basic auth [14/Nov/2018:13:17:01 -0800] "GET /issue_statuses.xml HTTP/1.1" 401 - "-" "Dalvik/2.1.0 (Linux; U; Android 7.0; HUAWEI NXT-L29 Build/HUAWEINXT-L29)"
ip/basic auth [14/Nov/2018:13:17:03 -0800] "GET /users.xml HTTP/1.1" 401 - "-" "Dalvik/2.1.0 (Linux; U; Android 7.0; HUAWEI NXT-L29 Build/HUAWEINXT-L29)"
ip/basic auth [14/Nov/2018:13:17:05 -0800] "GET /users/current.xml HTTP/1.1" 401 - "-" "Dalvik/2.1.0 (Linux; U; Android 7.0; HUAWEI NXT-L29 Build/HUAWEINXT-L29)"
ip/basic auth [14/Nov/2018:13:17:06 -0800] "GET /trackers.xml HTTP/1.1" 401 - "-" "Dalvik/2.1.0 (Linux; U; Android 7.0; HUAWEI NXT-L29 Build/HUAWEINXT-L29)"
ip/basic auth [14/Nov/2018:13:17:08 -0800] "GET /enumerations/issue_priorities.xml HTTP/1.1" 401 - "-" "Dalvik/2.1.0 (Linux; U; Android 7.0; HUAWEI NXT-L29 Build/HUAWEINXT-L29)"
ip/basic auth [14/Nov/2018:13:17:10 -0800] "GET /enumerations/time_entry_activities.xml HTTP/1.1" 401 - "-" "Dalvik/2.1.0 (Linux; U; Android 7.0; HUAWEI NXT-L29 Build/HUAWEINXT-L29)"
ip/basic auth [14/Nov/2018:13:17:12 -0800] "GET /projects.xml?limit=20 HTTP/1.1" 401 - "-" "Dalvik/2.1.0 (Linux; U; Android 7.0; HUAWEI NXT-L29 Build/HUAWEINXT-L29)"
MagicFab commented 3 years ago

I can confirm this still happens, using Redmine 3.3.1.stable in Debian 9.13.

Time to upgrade and test again. Does this work on Redmine 4.x ?

MagicFab commented 3 years ago

Upgraded to Redmine 4 in Debian 10 and I was able to reproduce this same problem.

indication commented 3 years ago

Hi, Sorry for late response. In my environment(3.4.2.stable on rails 4.2.8), it works. How about your theme? (default/alternate/classic/another?)