Highlighted
Valued Contributor.. Valued Contributor..
Valued Contributor..
205 views

Failed to create host

Jump to solution

Hi all,

it's first time i'm installing loadrunner enterprise 2020. the loadrunner enterprise installation was running fine and i want to add the host stand alone load generator but it failed. I've tried to add the other host-controller but it also failed.

here's the w3wp log: C:\Program Files (x86)\Micro Focus\LoadRunner Enterprise\orchidtmp\LTLogger\w3wp

LR.PNG

2020-04-01 10:39:44,696 [4624] [7] ERROR LRE.BL.Core.Hosts.HostBL - Failed to Create, reason: General error [Context: c0ea8446-3e75-4cf6-aa15-a8660185cdf1] [FullContext: BackendUrl:http://localhost:5876 UserName:emlrenserver Domain:DEFAULT Project:LAB_PROJECT]
2020-04-01 10:39:44,703 [4624] [7] ERROR HP.PC.Admin.RestApi.Web.Api_Controllers.HostsController - PCRemoteException output START
Message:
General error
StatusCode:
InternalServerError
Stacktrace:
at LRE.BL.Core.Hosts.HostBL.Create(IHost t) in c:\jenkins\workspace\LRE2020P1-CI_master\app\Common\HP.PC.BL\LRE.BL.Core\Hosts\HostBL.cs:line 58
at HP.PC.Admin.RestApi.Web.Api_Controllers.HostsController.AddBlHost(IHost blHost) in c:\jenkins\workspace\LRE2020P1-CI_master\app\Admin\HP.PC.Admin.RestApi\Web\Api Controllers\HostsController.cs:line 1008
Printing data members start:
Printing data members end:
PCRemoteException output END
[Context: c0ea8446-3e75-4cf6-aa15-a8660185cdf1] [FullContext: BackendUrl:http://localhost:5876 UserName:emlrenserver Domain:DEFAULT Project:LAB_PROJECT]
2020-04-01 10:39:44,704 [4624] [7] ERROR HP.PC.Admin.RestApi.Web.Api_Controllers.HostsController - Failed to create new Host [Context: c0ea8446-3e75-4cf6-aa15-a8660185cdf1] [FullContext: BackendUrl:http://localhost:5876 UserName:emlrenserver Domain:DEFAULT Project:LAB_PROJECT]
2020-04-01 10:39:44,707 [4624] [7] ERROR HP.PC.API.Common.Web.Behaviors.PcApiActionInvoker - Exception occur in action CreateNewHost on controller Hosts [Context: c0ea8446-3e75-4cf6-aa15-a8660185cdf1] [FullContext: BackendUrl:http://localhost:5876 UserName:emlrenserver Domain:DEFAULT Project:LAB_PROJECT]
HP.PC.API.Common.Exceptions.ServerSideException.FailedToCreateNewHostException: Failed to create Host, please check log file for more details.
at HP.PC.Admin.RestApi.Web.Api_Controllers.HostsController.InternalAddHost(CreateUpdateHostRequest newHost) in c:\jenkins\workspace\LRE2020P1-CI_master\app\Admin\HP.PC.Admin.RestApi\Web\Api Controllers\HostsController.cs:line 819
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClassf.<GetExecutor>b__9(Object instance, Object[] methodParameters)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.<ExecuteAsync>b__4()
at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func`1 func, CancellationToken cancellationToken)

Can anyone here help me please?

Thanks,

Handy

1 Solution

Accepted Solutions
Highlighted
Valued Contributor.. Valued Contributor..
Valued Contributor..

Re: Failed to create host

Jump to solution

This could be different issue with yours.

This issue was caused by the wrong IP address return of the LR server. It solved by changing the computer name, register the new dns name, reinstalled the server with fresh database and the changed the internal URL on PCS.config file with the new computer name.

View solution in original post

0 Likes
5 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Failed to create host

Jump to solution

Hi,

There are much stuff to be confirmed (and checked), so it is open a ticket with the support and proceed.

Best,

Ivo

IvoHri
0 Likes
Highlighted
Contributor.. Contributor..
Contributor..

Re: Failed to create host

Jump to solution

any updates on this isse? im also facing the same issue after enabling SSL on LRE server and host.

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Failed to create host

Jump to solution

Hi,

it is too much stuff to consider, so it is better to open a formal ticket to the support.

Best,

IvoHri
0 Likes
Highlighted
Valued Contributor.. Valued Contributor..
Valued Contributor..

Re: Failed to create host

Jump to solution

This could be different issue with yours.

This issue was caused by the wrong IP address return of the LR server. It solved by changing the computer name, register the new dns name, reinstalled the server with fresh database and the changed the internal URL on PCS.config file with the new computer name.

View solution in original post

0 Likes
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: Failed to create host

Jump to solution

Same here.
It worked over http, but no chance with https. 

Any solution so far except the one below. 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.