# HL7588 TCP socket problem

**URL:** <https://forum.sierrawireless.com/t/hl7588-tcp-socket-problem/34456>\
**Category:** Uncategorized\
**Created:** [February 4, 2025, 6:26pm UTC](https://forum.sierrawireless.com/t/hl7588-tcp-socket-problem/34456 "2025-02-04T18:26:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![imferreira](https://avatars.discourse-cdn.com/v4/letter/i/d26b3c/32.png) [@imferreira](https://forum.sierrawireless.com/u/imferreira)\
**Post date:** [February 4, 2025, 6:26pm UTC](https://forum.sierrawireless.com/t/hl7588-tcp-socket-problem/34456/1 "2025-02-04T18:26:03Z")

</div>

Hello,  
I have an application in USA that uses RC7611 and also some legacies HL7588. The applications with RC7611 are working just fines, however the ones with HL7588 are getting stucked trying to open TCP socket. The command sequecies is:  
AT+KTCPCFG=1,0,“[google.com](http://google.com)”,80  
+KTCPCFG: 1  
OK  
AT+KTCPCNX=1  
OK  
Then after that I check the socket status and it remains in status 2 (opening for a long while)  
AT+KTCPSTAT=1  
+KTCPSTAT: 2,-1,0,0  
OK

Some time I got these notifications:  
+KCNX\_IND: 1,4,1  
+KCNX\_IND: 1,2,1,2,30

After a while it changes to:  
+KTCPSTAT: 2,0,0,0

Also the registration seems to be ok as I have this:  
AT+CEREG?  
+CEREG: 0,1  
OK  
AT+COPS?  
+COPS: 0,2,“310410”,7  
OK

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 5, 2025, 1:49am UTC](https://forum.sierrawireless.com/t/hl7588-tcp-socket-problem/34456/2 "2025-02-05T01:49:01Z")

</div>

why the session ID is changed here?

```auto
AT+KTCPCFG=1,0,"google.com",80
+KTCPCFG: 1
OK
AT+KTCPCNX=1
+KTCPCFG: 2
OK

```

---

<div class="post-metadata">

**Author:** ![imferreira](https://avatars.discourse-cdn.com/v4/letter/i/d26b3c/32.png) [@imferreira](https://forum.sierrawireless.com/u/imferreira)\
**Post date:** [February 5, 2025, 2:17am UTC](https://forum.sierrawireless.com/t/hl7588-tcp-socket-problem/34456/3 "2025-02-05T02:17:07Z")

</div>

> [@imferreira](#):
>
> OK

I edited the post. It was related that tries to open another socket and then I copy different parts of the log to post. Anyway, just check other logs and that does not changes the socket and still have the same issue.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 5, 2025, 2:24am UTC](https://forum.sierrawireless.com/t/hl7588-tcp-socket-problem/34456/4 "2025-02-05T02:24:04Z")

</div>

from +KCNX\_IND, it seems there is TCP disconnect.  
What if you close and delete the TCP socket and reconnect it?

You might also capture wireshark log on server side to see what happens on the TCP connection
