Problems with "subtask autocompletion feature" (REST API requires user & pass)
Added by Alberto Moro over 13 years ago
Hello Redmine,
Yesterday I have upgraded our production redmine server from 1.0.2 to 1.1.3. We used the Windows Bitnami distribution.
I noticed that the new autocompletion feature for issue relation developed in #3170 it works ok only the first time (after writing the first 3 numbers of an issue) as follows:
But if i change the previous numbers and/or i want to enter a new issue relation, it brings a web browser pop up that requires user and password.
I have tried to enter my personal account without success, and i have tried my personal API access key too, but still unsuccessfully.
Thanks in advance
Regards
sshot-33.jpg (17.2 KB) sshot-33.jpg | |||
sshot-34.jpg (16.3 KB) sshot-34.jpg |
Replies (7)
RE: Problems with "subtask autocompletion feature" (REST API requires user & pass) - Added by Alberto Moro over 13 years ago
Sorry, i forgot to mention that if i close the authentication popup, the session expires automatically.
RE: Problems with "subtask autocompletion feature" (REST API requires user & pass) - Added by Rubén Villoria over 13 years ago
Hi, I have the same problem, any solution?
RE: Problems with "subtask autocompletion feature" (REST API requires user & pass) - Added by Thibault B over 13 years ago
I'm having similar issues with Redmine Kanban plugin on Redmine 1.2.0
This appears in the plugin when I try to assign a task to a new person on the, or to move it in a list of tasks.
I've investigated a little more and I think this is environment-related.
On a Windows Bitnami RedmineStack 1.2.0 I get the issue in the previous case, with an error banner in the plugin.
On a CentOS install I get the same issue.
The CentOS install repository is shared with samba, which allows me to run it under under windows (and debug with aptana). This time, if I do the same actions, I'm not asked the user/password for Redmine API, I just get an error message (and eventually the issue will disappear in the plugin view, but this is another issue).
I've checked the environments, but can't really see which difference could justify the different behaviours...
For those interested, here are my environments:
====================== Windows Environment:
Ruby 1.8.7p334
- LOCAL GEMS ***
aasm (2.2.0)
actionmailer (2.3.11)
actionpack (2.3.11)
activerecord (2.3.11)
activeresource (2.3.11)
activesupport (2.3.11)
Ascii85 (1.0.1)
fastercsv (1.5.4)
holidays (1.0.2)
i18n (0.4.2)
icalendar (1.1.6)
linecache (0.46)
mysql (2.8.1 x86-mingw32)
nokogiri (1.4.6 x86-mingw32)
open-uri-cached (0.0.4)
pdf-reader (0.9.2)
prawn (0.11.1)
rack (1.1.2)
rails (2.3.11)
rake (0.8.7)
rbx-require-relative (0.0.5)
rdoc (3.6.1)
ruby-debug-base (0.10.4)
ruby-debug-ide (0.4.16)
ruby-units (1.3.1)
rubygems-update (1.8.5)
sqlite3 (1.3.3 x86-mingw32)
sqlite3-ruby (1.3.3)
ttfunk (1.0.1)
yard (0.7.1)
=================================== CentOS environment
Ruby Enterprise Edition 2011.3
- LOCAL GEMS ***
aasm (2.2.0)
abstract (1.0.0)
actionmailer (2.3.12, 2.3.11, 2.3.5)
actionpack (3.0.8, 2.3.12, 2.3.11, 2.3.5)
activemodel (3.0.8)
activerecord (2.3.12, 2.3.11, 2.3.5)
activeresource (2.3.12, 2.3.11, 2.3.5)
activesupport (3.0.8, 2.3.12, 2.3.11, 2.3.5)
Ascii85 (1.0.1)
builder (2.1.2)
bundler (1.0.15)
coderay (0.9.8)
daemon_controller (0.2.6)
diff-lcs (1.1.2)
edavis10-object_daddy (0.4.3)
erubis (2.6.6)
fastercsv (1.5.4)
fastthread (1.0.7)
holidays (1.0.2)
i18n (0.5.0, 0.4.2)
icalendar (1.1.6)
mocha (0.9.12)
mysql (2.8.1)
mysql2 (0.2.11, 0.2.10, 0.2.8)
nokogiri (1.4.6)
open-uri-cached (0.0.4)
passenger (3.0.7)
pdf-reader (0.9.2)
pg (0.9.0)
prawn (0.11.1)
rack (1.2.3, 1.1.2, 1.1.0, 1.0.1)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (2.3.12, 2.3.5)
railties (3.0.8)
rake (0.9.2, 0.8.7)
rake-compiler (0.7.9)
rdoc (3.6.1)
rspec (2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
rspec-mocks (2.6.0)
rspec-rails (2.6.1)
ruby-openid (2.1.8)
ruby-units (1.3.1)
rubytree (0.5.3)
shoulda (2.10.3)
sqlite3-ruby (1.2.5)
thor (0.14.6)
ttfunk (1.0.1)
tzinfo (0.3.28)
================================== Bitnami Stack (on Windows XP)
Ruby 1.8.7p334
- LOCAL GEMS ***
aasm (2.2.0)
actionmailer (2.3.11)
actionpack (2.3.11)
activerecord (2.3.11)
activeresource (2.3.11)
activesupport (2.3.11)
after_commit (1.0.8)
allison (2.0.3)
Ascii85 (1.0.1)
bluecloth (2.1.0 x86-mingw32)
builder (3.0.0)
capistrano (2.5.21)
cgi_multipart_eof_fix (2.5.0)
columnize (0.3.3)
daemons (1.0.10)
delayed_job (2.0.7)
diff-lcs (1.1.2)
echoe (4.5.6)
eventmachine (0.12.10 x86-mswin32-60)
gem_plugin (0.2.3)
gemcutter (0.7.0)
gruff (0.3.6)
highline (1.5.2)
hoe (2.9.4)
holidays (1.0.2)
hpricot (0.8.4 i386-mswin32)
i18n (0.5.0, 0.4.2)
icalendar (1.1.6)
json_pure (1.5.1)
linecache (0.46)
memcache-client (1.8.5)
mini_magick (3.2)
mongrel (1.1.5 x86-mingw32)
mongrel_cluster (1.0.5)
mongrel_service (0.4.0)
mysql (2.8.1 x86-mingw32)
needle (1.3.0)
net-scp (1.0.4)
net-sftp (2.0.5)
net-ssh (2.1.4)
net-ssh-gateway (1.0.1)
nokogiri (1.4.4 x86-mingw32)
open-uri-cached (0.0.4)
openurl (0.1.0)
pdf-reader (0.9.2)
polyglot (0.3.1)
prawn (0.11.1)
rack (1.2.2, 1.1.0)
rack-test (0.5.7)
rails (2.3.11)
rails_analyzer_tools (1.4.0)
rake (0.8.7)
rbx-require-relative (0.0.5)
rcov (0.9.8 x86-mingw32)
RedCloth (4.2.7 x86-mingw32)
riddle (1.2.2)
rmagick (2.12.0)
rspec (2.5.0)
rspec-core (2.5.0)
rspec-expectations (2.5.0)
rspec-mocks (2.5.0)
ruby-debug-base (0.10.4)
ruby-debug-ide (0.4.16)
ruby-units (1.2.0)
rubyforge (2.0.4)
sqlite3 (1.3.3 x86-mingw32)
sqlite3-ruby (1.3.2 x86-mingw32)
subexec (0.0.4)
SyslogLogger (1.4.0)
term-ansicolor (1.0.5)
thin (1.2.11 x86-mingw32)
thinking-sphinx (1.4.4)
treetop (1.4.5)
ttfunk (1.0.1)
webrat (0.7.3)
yard (0.7.2)
ZenTest (4.5.0)
RE: Problems with "subtask autocompletion feature" (REST API requires user & pass) - Added by Thibault B over 13 years ago
I've investigated a little more and my issue seems to be related to the same problem.
In fact, it's on my second move on the kanban board that I get disconnected. No one ?
RE: Problems with "subtask autocompletion feature" (REST API requires user & pass) - Added by Max Khon almost 13 years ago
We have exactly the same problem with Redmine 1.1.2.
Sometimes the error occurs when "Add" (related issue) button is pressed. The browser asks for HTTP basic auth with the following text: "The server XXX:443 requires a username and password. The server says: Redmine API."
Can be workarounded by turning off autocompleter (see attached patch).
In our case redmine runs under Apache (mod_passenger) on SSL port if that can be related.
RE: Problems with "subtask autocompletion feature" (REST API requires user & pass) - Added by Jean-Philippe Lang almost 13 years ago
Please, check my response on a very similar ticket.
RE: Problems with "subtask autocompletion feature" (REST API requires user & pass) - Added by Max Khon almost 13 years ago
I opened an issue http://www.redmine.org/issues/9752