Defect #30939
closedTimeout for "Check for updates" on Plugins page is too short
0%
Description
Hello,
In the admin/plugins page the Check for updates link works well when there is a small number of plugins installed.
However above a certain amount, more than 13-14 in our case, it fails almost 50% of the time
It gets worst as number of plugin increases, I also assume the network condition also affect the process
To reproduce the issue one would need to have 10-20 or more plugins installed
When it fails a popup shows up after 3secs saying;
Unable to retrieve plugin informations from www.redmine.org
My temporary solution:
I found out that the check was initiated from the browser (javascript) and further research led me to ./app/views/admin/plugins.html.erb which contains the js code
$ grep -i timeout app/views/admin/plugins.html.erb
timeout: 3000,
Changed it to 30000 then restarted Redmine, no more failure !!
So it would be nice if this could be fixed at the source
Merci :)
Our env:
Environment: Redmine version 3.4.5.stable Ruby version 2.3.5-p376 (2017-09-14) [x86_64-linux] Rails version 4.2.8 Environment production Database adapter Mysql2 SCM: Subversion 1.7.14 Git 2.15.1 Filesystem Xitolite 2.15.1 Redmine plugins: additionals 2.0.11 redmine_activerecord_session_store 0.0.1 redmine_agile 1.4.7 redmine_bootstrap_kit 0.2.5 redmine_checklists 3.1.11 redmine_contacts 4.2.1 redmine_contacts_helpdesk 3.0.10 redmine_drawio 0.8.2 redmine_git_hosting 1.2.3 redmine_image_clipboard_paste 3.3.0 redmine_lightbox2 0.4.3 redmine_move_comments 0.0.2 redmine_people 1.4.0 redmine_products 2.0.5 redmine_silencer 0.4.3 redmine_wiki_extensions 0.8.1 sidebar_hide 0.0.8 vault 0.3.10