Solutions

PulseUno: Http failure response for http://server:8080/pulse/services/rest/hostedrepos: 500 internal server error.



ID:    S143405
Published:    18 March 2021
Updated:    25 March 2021

Operating System(s)

  • Unix
 

Description

PulseUno for GIT was installed on Ubuntu 20.10 against PostgreSQL 13. Following the installation a connection was possible, users could be created and a PulseUno "Space" could be created but when an attempt was made to create a new Git repository the following message was generated:

 
Http failure response for http://server:8080/pulse/services/rest/hostedrepos: 500 internal server error.
 
The URL for the repository shown on screen is not editable by the user but there is an incorrect hostname show i.e. lcoalhost rather than localhost, for example:
 
http://lcoalhost:8080/git-server/repo/test-space/testrepo
 
How can this be fixed?

Resolution

On UNIX systems we rely on an environment variable called “HOSTNAME” (set to the local hostname). If this is not set the installer is supposed to fall back to using “localhost” but there was a typographical error in the logic which meant “lcoalhost” was used instead. 

 

To change “lcoalhost” to “localhost” update $PULSE_DATA/conf/startup.properties and modify the value for “gitserver.url”. A second file that needs to be changed is $GIT_DATA/conf/pulse.properties.  Here the value for "pulse.url" needs modifiying.   A restart of Tomcat will then be required solve the problem. 

 

Rate this Solution

Find Answers

Type a question or describe what you are looking for below

My Recent Searches

Welcome kb sso

Additional Assistance

  • Submit a Case Online
  • FAQs