Check Out For Browse Fails With E03020134: Unable to establish a remote connection (PEC ec=508) .
search cancel

Check Out For Browse Fails With E03020134: Unable to establish a remote connection (PEC ec=508) .

book

Article ID: 12457

calendar_today

Updated On:

Products

CA Harvest Software Change Manager - OpenMake Meister CA Harvest Software Change Manager

Issue/Introduction

When performing check out for browse actions using either the Harvest Change Manager Workbench or the command line command hco, the following error message is seen. 

E03020134: Unable to establish a remote connection (PEC ec=508) . 

E03060019: Process Execute failed. Process Name: Check Out for Browse . 

I00060080: Check out summary: Total: 0 ; Success: 0 ; Failed: 0; Not Processed: 0 . 

Checkout.Execute() failed. 

 

The contents of the rtserver.cm on the broker server contains 

setopt direct_connect_port_range 9000,9300 

setopt CONN_MAX_RESTARTS 100 

setopt CLIENT_RECONNECT_TIMEOUT 60 

setopt CLIENT_CONNECT_TIMEOUT 90 

setopt SOCKET_CONNECT_TIMEOUT 30 

 

The contents of the rtclient.cm on the workbench client machine is 

setopt _socket_tcp_nodelay true

setopt _conn_init_timeout 30.0 

setopt ptm_client_accept_timeout 300 

setopt ptm_server_accept_timeout 300 

setopt server_read_timeout 120.0 

setopt server_write_timeout 120.0



The port range has been set up on the broker machine and the ports (from the port range) have been open bi-directionally. Why does the broker still use ephemeral ports to open a TCP/IP connection with the workbench machine (client)?

Environment

it applies to any CA SCM client/server environment

Resolution

Does it have -cm option in the HServer.arg(broker) machine? 

If -cm=a, in the HClient.arg, then the workbench will act as the server for the direct connection. It means the ports from the direct connection port range would be used at the workbench end of the connection not on the broker end. 
If they want to restrict the ports on the broker machine, they can change the -cm value to -cm=i in the HClient.arg and -cm=a in the Hserver.arg on the broker machine. 
After doing this, the ports from the direct connection range will be used by the broker machine.

-cm=[i , a]
Specifies the preferred connect method (to accept or initiate) to create the direct connections between the product server, client, and agent.
i initiates connection
a accepts connection

Additional Information

More details can be reach here: Connect Method Options for Direct Connection