[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Terracotta3.7.5 Client cannot reconnect to Terracotta server array  XML
Forum Index -> Terracotta Platform
Author Message
jukyoc

neo

Joined: 11/03/2013 22:27:52
Messages: 1
Offline

If the network is interrupted,
Connection attempts from the Terracotta node at 127.0.0.1:56297 are being rejected by the Terracotta server array. Restart the Client to allow it to rejoin the cluster.

my tc-config.xml is as below
<tc-properties>
<!--Tolerant timeout settings taken from: http://www.terracotta.org/documentation/high-availability.html-->
<!--l1 to l2 is Client timing out (and disconnecting from) the Server-->
<property name="l1.healthcheck.l2.ping.enabled" value="true"/>
<property name="l1.healthcheck.l2.ping.idletime" value="6000"/>
<property name="l1.healthcheck.l2.ping.interval" value="1000"/>
<property name="l1.healthcheck.l2.ping.probes" value="3"/>
<property name="l1.healthcheck.l2.socketConnect" value="true"/>
<property name="l1.healthcheck.l2.socketConnectTimeout" value="5"/>
<property name="l1.healthcheck.l2.socketConnectCount" value="10"/>
<!--Tolerant timeout settings taken from: http://www.terracotta.org/documentation/high-availability.html-->
<!--l2 to l1 is Server timing out (and ejecting) the Client-->
<property name="l2.healthcheck.l1.ping.enabled" value="true"/>
<property name="l2.healthcheck.l1.ping.idletime" value="6000"/>
<property name="l2.healthcheck.l1.ping.interval" value="2000"/>
<property name="l2.healthcheck.l1.ping.probes" value="5"/>
<property name="l2.healthcheck.l1.socketConnect" value="true"/>
<property name="l2.healthcheck.l1.socketConnectTimeout" value="6000"/>
<property name="l2.healthcheck.l1.socketConnectCount" value="10"/>
<!--Client reconnection properties-->
<property name="l2.l1reconnect.enabled" value="true"/>
<property name="l2.l1reconnect.timeout.millis" value="2000"/>
</tc-properties>
<servers>
<server host="xxx.xxx.xxx.xxx" name="test">
<l2-group-port>9530</l2-group-port>
<dso>
<client-reconnect-window>120</client-reconnect-window>
<persistence>
<mode>permanent-store</mode>
</persistence>
</dso>
</server>


the log of client is as below
2013-11-04 14:31:20,458 [L1_L2:TCComm Main Selector Thread_R (listen 0:0:0:0:0:0:0:0:51653)] ERROR com.tc.net.protocol.transport.TransportHandshakeErrorHandlerForL1 - com.tc.net.protocol.transport.TransportHandshakeErrorContext: com.tc.net.protocol.transport.TransportHandshakeErrorContext: "Client Cannot Reconnect. ConnectionID(107.ba6b9eb014fd490397ee3d5d2cbdde9f.e116571a-3592-49df-8da4-359d714c7ed8-14221c2991d)[] not found. Connection attempts from the Terracotta node at
localhost:53608 are being rejected by the Terracotta server array."Message Class: com.tc.net.protocol.transport.TransportMessageImpl
Sealed: true, Header Length: 32, Data Length: 432, Total Length: 464
Header (com.tc.net.protocol.transport.WireProtocolHeader)
Version: 2, Header Length: 8, TOS: 0, TTL: 64, Protocol: TRANSPORT HANDSHAKE
Total Packet Length: 464
Adler32 Checksum: 2870544975 (valid: true)
Source Addresss: localhost
Destination Addresss: localhost
Source Port: 9510, Destination Port: 53608
Total Msg Count: 1
Header Validity: true (no message)
Payload:
type: SYN_ACK, connectionId: ConnectionID(107.ba6b9eb014fd490397ee3d5d2cbdde9f.e116571a-3592-49df-8da4-359d714c7ed8-14221c2991d)[], errorContext com.tc.net.protocol.transport.TransportHandshakeErrorContext: "Client Cannot Reconnect. ConnectionID(107.ba6b9eb014fd490397ee3d5d2cbdde9f.e116571a-3592-49df-8da4-359d714c7ed8-14221c2991d)[] not found. Connection attempts from the Terracotta node at localhost:53608 are being rejected by the Terracotta server array.
 
Forum Index -> Terracotta Platform
Go to:   
Powered by JForum 2.1.7 © JForum Team