Defect #21490
closedRepository Statistics will not populate on client machines, only the host machine when using the http://localhost URL
0%
Description
I have Redmine setup on a virtual server (MS Server 2012 R2 Standard). When a user logs into Redmine from their client laptop, then clicks on the Statistics link from the Repository tab, the page populates with 2 missing image icons and the back link.
The issue appears related to the URL used. The Statistics page will only populate the images when accessed using the http://localhost/redmine/ address. When a client logs into Redmine hosted on a remote server, the statistics SVG will not populate.
I have a second instance of Redmine installed on my local machine to test plugins / changes before I perform a change to the company Redmine site on the VM. Both are Bitnami stack installs with:
I did the following to isolate the circumstances in which this happens:Redmine version 3.0.3.stable
Ruby version 2.0.0-p645 (2015-04-13) [i386-mingw32]
Rails version 4.2.1
Database adapter Mysql2
SCM: Subversion 1.9.2
- Accessed my local hosted Redmine using the address http://localhost/redmine/ from my local machine and WAS able to see the stat graphics on the Repository Statistics page
- Accessed my local hosted Redmine using the address http:// <machine_name> /redmine/ from my local machine and was NOT able to see the stat graphics on the Repository Statistics page
- Accessed the remote server hosted Redmine using the address http://localhost/redmine/ in a remote session on the virtual server and WAS able to see the stat graphics on the Repository Statistics page
- Accessed the remote server hosted Redmine using the address http:// <server_name> /redmine/ in a remote session on the virtual server and was NOT able to see the stat graphics on the Repository Statistics page
- Accessed the remote server hosted Redmine using the address http:// <server_name> /redmine/ from my client laptop and was NOT able to see the stat graphics on the Repository Statistics page
I am reporting this as a defect as it should not matter where the page is being viewed from, or the URL address used in the browser. There is also no settings option in either Admin > Settings > Repositories or in Project > Settings > Repositories to enter a value for the hosted machine name / URL used for a hosted Redmine site.
Please provide a fix, or instructions, for allowing the statistics page to be viewed by client machines. I would be quite happy with the resolution being instructions on how to resolve the issue with my current installation of Redmine.
Thanks
Files