Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dangling socket on failed connection #75

Open
drboone opened this issue May 4, 2022 · 2 comments
Open

Dangling socket on failed connection #75

drboone opened this issue May 4, 2022 · 2 comments
Labels

Comments

@drboone
Copy link

drboone commented May 4, 2022

This Pat connection attempt:

L[ax25]> connect seoc
2022/05/04 17:18:03 Connecting to W8CMN-2 (ax25)...
2022/05/04 17:18:05 Connected to W8CMN-2 (AX.25)
*** Failed to Connect
2022/05/04 17:18:10 Exchange failed: connection lost

whose packets look like this:

nino: fm KB8ZQZ to W8CMN-2 ctl SABM+ 17:18:03.775245 
nino: fm W8CMN-2 to KB8ZQZ ctl UA- 17:18:05.343934 
nino: fm W8CMN-2 to KB8ZQZ ctl I00+ pid=F0(Text) len 22 17:18:08.020993 
0000  *** Failed to Connect
nino: fm KB8ZQZ to W8CMN-2 ctl RR1- 17:18:08.038677 
nino: fm W8CMN-2 to KB8ZQZ ctl DISC+ 17:18:10.157056 
nino: fm KB8ZQZ to W8CMN-2 ctl UA- 17:18:10.177195 

leaves this dangling socket:

Active AX.25 sockets
Dest       Source     Device  State        Vr/Vs    Send-Q  Recv-Q
W8CMN-2    KB8ZQZ-0   ax0     LISTENING    001/000  0       0

Exiting pat interactive and restarting clears the dangling socket.

@martinhpedersen
Copy link
Member

Thanks for the detailed report 😊

@martinhpedersen
Copy link
Member

This was possibly fixed by b3b4be1, which will be included in the next release of Pat (>v0.12.1). Please report back once released. Thank you 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants