Posted by nirajdoshi
Henagon

Unexpected CCommand 21 when connecting to a client.

Recently, one of the PC on our network where TV is installed often doesn't allow other TV connections to connect. The PC appears online on the Computers & Contacts list, but when trying to connect, it will throw an error shown below. The only way to recover is to restart TV.
image.pngError during connection

I then tried to use WebConnector, and gathered some logs shown below. It shows "Receive Unexpected CCommand 21" error in the logs, but not sure what it means or how to fix it.

18.09 10:04:50,527: Version: 14.0.1
18.09 10:04:50,529: Sandbox: remote
18.09 10:04:50,530: SysLanguage: en
18.09 10:04:50,530: VarLanguage: en
18.09 10:04:50,531: Flash Player: PlugIn (WIN 32,0,0,255)
18.09 10:04:50,539: UseLanguage: en
18.09 10:04:50,540: UseLanguage: en
18.09 10:04:50,548: TeamViewer hasPassword: true
18.09 10:04:51,222: PS.socket event: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:04:51,349: PingThread: TCP-Ping ping3.teamviewer.com ok
18.09 10:04:51,425: ExternalConnect id=20XXXXX28
18.09 10:04:51,427: CT connect 20XXXXX28 masterURL: master.teamviewer.com, sandbox = remote
18.09 10:04:51,436: MC.requestRoute(20XXXXX28)
18.09 10:04:51,436: MC.sendMasterCommand text=F=RequestRoute2&ID1=777&Client=TV&ID2=20XXXXX28&SA_AccountID=71918533&SA_PasswordMD5HashBase64Encoded=&SA_SessionSecret=+xgb8kqhRU7iapk37c73H8Wb0CqwB7Rw8bxRGAZasVs=&SA_SessionID=**Please do not post TeamViewer IDs**&V=14.0.1&OS=Flash
18.09 10:04:51,437: MC.socket mode = TCP, MasterURL:master.teamviewer.com
18.09 10:04:51,438: MC.connect: master13.teamviewer.com
18.09 10:04:51,826: PS.socket event: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:04:51,827: MC.connectHandler: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:04:51,961: MC.requestRouteResponse: CONNECT@162.250.7.70_0_128000_**Please do not post TeamViewer IDs**_20XXXXX28_31204__1_0_16778176_128000_16778176:128000;**Please do not post TeamViewer IDs**:1280000;4:640000_**Please do not post TeamViewer IDs**_**Please do not post TeamViewer IDs**_US-ATL-ANX-R003.teamviewer.com_f///d////f/v9P0A_f///d////f/v9P0A
18.09 10:04:51,963: CT init socket: TCP
18.09 10:04:52,038: PS.socket event: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:04:52,039: CT.connectHandler: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:04:52,046: Browser name: Netscape
18.09 10:05:08,437: receive unexpected CCommand 21 length=0
18.09 10:05:08,439: CMD_DISCONNECT
18.09 10:05:08,446: ConnectionThread closed
18.09 10:05:08,447: ClientGUID:
18.09 10:05:08,448: m_ComSessionAfterEnding: false
18.09 10:05:08,449: m_connectionAlready Suceeded: false
18.09 10:05:08,451: CT.closeHandler: null
18.09 10:05:19,460: CT connect 20XXXXX28 masterURL: master.teamviewer.com, sandbox = remote
18.09 10:05:19,463: MC.requestRoute(20XXXXX28)
18.09 10:05:19,465: MC.sendMasterCommand text=F=RequestRoute2&ID1=777&Client=TV&ID2=20XXXXX28&SA_AccountID=71918533&SA_PasswordMD5HashBase64Encoded=&SA_SessionSecret=+xgb8kqhRU7iapk37c73H8Wb0CqwB7Rw8bxRGAZasVs=&SA_SessionID=**Please do not post TeamViewer IDs**&V=14.0.1&OS=Flash
18.09 10:05:19,467: MC.socket mode = TCP, MasterURL:master.teamviewer.com
18.09 10:05:19,470: MC.connect: master15.teamviewer.com
18.09 10:05:19,866: PS.socket event: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:05:19,870: MC.connectHandler: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:05:20,013: MC.requestRouteResponse: CONNECT@162.250.7.71_0_128000_**Please do not post TeamViewer IDs**_20XXXXX28_31204__1_0_16778176_128000_16778176:128000;**Please do not post TeamViewer IDs**:1280000;4:640000_**Please do not post TeamViewer IDs**_**Please do not post TeamViewer IDs**_US-ATL-ANX-R004.teamviewer.com_f///d////f/v9P0A_f///d////f/v9P0A
18.09 10:05:20,018: CT init socket: TCP
18.09 10:05:20,099: PS.socket event: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:05:20,102: CT.connectHandler: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:05:20,106: Browser name: Netscape
18.09 10:05:36,278: receive unexpected CCommand 21 length=0
18.09 10:05:36,282: CT.closeHandler: [Event type="close" bubbles=false cancelable=false eventPhase=2]
18.09 10:05:36,290: ConnectionThread closed
18.09 10:05:36,292: ClientGUID:
18.09 10:05:36,295: m_ComSessionAfterEnding: false
18.09 10:05:36,298: m_connectionAlready Suceeded: false
18.09 10:09:20,679: CT connect 20XXXXX28 masterURL: master.teamviewer.com, sandbox = remote
18.09 10:09:20,682: MC.requestRoute(20XXXXX28)
18.09 10:09:20,683: MC.sendMasterCommand text=F=RequestRoute2&ID1=777&Client=TV&ID2=20XXXXX28&SA_AccountID=71918533&SA_PasswordMD5HashBase64Encoded=&SA_SessionSecret=+xgb8kqhRU7iapk37c73H8Wb0CqwB7Rw8bxRGAZasVs=&SA_SessionID=**Please do not post TeamViewer IDs**&V=14.0.1&OS=Flash
18.09 10:09:20,684: MC.socket mode = TCP, MasterURL:master.teamviewer.com
18.09 10:09:20,685: MC.connect: master7.teamviewer.com
18.09 10:09:21,066: PS.socket event: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:09:21,071: MC.connectHandler: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:09:21,223: MC.requestRouteResponse: CONNECT@162.250.7.71_0_128000_**Please do not post TeamViewer IDs**_20XXXXX28_31204__1_0_16778176_128000_16778176:128000;**Please do not post TeamViewer IDs**:1280000;4:640000_**Please do not post TeamViewer IDs**_**Please do not post TeamViewer IDs**_US-ATL-ANX-R004.teamviewer.com_f///d////f/v9P0A_f///d////f/v9P0A
18.09 10:09:21,233: CT init socket: TCP
18.09 10:09:21,265: PS.socket event: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:09:21,268: CT.connectHandler: [Event type="connect" bubbles=false cancelable=false eventPhase=2]
18.09 10:09:21,271: Browser name: Netscape
18.09 10:09:37,486: receive unexpected CCommand 21 length=0
18.09 10:09:37,493: CT.closeHandler: [Event type="close" bubbles=false cancelable=false eventPhase=2]
18.09 10:09:37,543: ConnectionThread closed
18.09 10:09:37,545: ClientGUID:
18.09 10:09:37,547: m_ComSessionAfterEnding: false
18.09 10:09:37,548: m_connectionAlready Suceeded: false

 

Thank you for your help.