Skip to content

Connection loss using CCDT / ConnPromise #193

@sergeport

Description

@sergeport

We try to connect using CCDT file (method ConnPromise) that is created this way:

mkdir -p /opt/ccdt
MQCHLLIB=/opt/ccdt runmqsc -n
DEFINE CHANNEL('CHANNEL_NAME_HERE') CHLTYPE(CLNTCONN) CONNAME('IP_ADDRESS_HERE(14147)') QMNAME('QM_NAME_HERE') MAXMSGL(4194304) SHARECNV(1) SSLCIPH('TLS_AES_256_GCM_SHA384') SSLPEER('PEER_CFG_HERE')
EXIT

The connection works well until some point. Then it just breaks and client does not attempt to reconnect (as it should, because SHARECNV(1)).

We are not able to tell at which point it breaks, we just do not receive messages after some time.

Only service restart (process.exit) helps. Any advice, how can we make it reconnect automatically? Or if there a way we could check if connection is alive? Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions