-
Notifications
You must be signed in to change notification settings - Fork 87
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
[Bug] swap user cannot connect to my ASB reliably via /ip4/ netaddr #648
Comments
That is the important line. We seem to actively close the connection because of a keep-alive timeout. Can this issue be reproduced with other users as well? |
AFAICT most other users do not have issues -- I have had several successful swaps since this issue occurred, although I do see several other peers go through this connection loop in similar ways. |
I had a user reach out who was one of the successful swap participants, but he also gets rapid disconnects/reconnects during the swap waiting periods with The swap still goes through, but the message spam certainly looks bad to swap users, if nothing else. I've requested the logs from the user, but if there is anything else I can provide, please let me know! |
Right, I'll see if there is an easy fix to it. |
I'm the successful swap participant. Here are the logs from my terminal: |
#649 seems to have resolved the log spam, at least, so I reached out to the known-failing swap partner to try it again. |
The swap user was able to connect and attempt to resume the swap, but it failed with the following logs:
|
Can you post the logs of the corresponding swap from the ASB? You should be able to find something with the same swap id. |
Those are the ASB logs, sorry if that wasn't clear! Swap client logs for the swap are here: |
This was supposed to be fixed in 0.8.2, but I think still persists. Because I'm running 0.8.3 and this connection error has happened a lot. A lot! |
Make sure whoever you are trading with, ie the ASB is running at least 0.8.2 as well! |
I am the ASB. We have no control over what version the other side is using. It might be a good idea for the program itself to make sure the user is running the latest version? |
When the
swap
user attempts to resume a swap with my ASB, as he is unable to specify netaddr hisswap
client defaults to using the original swap netaddr,/ip4/5.9.120.18/tcp/9939/p2p/12D3KooWCPcfhr6e7V7NHoKWRxZ5zPRr6v5hGrVPhHdsftQk2DXW
.When his client attempts to connect he gets disconnected and reconnected rapidly with the following logs (apologies for the images instead of text):
On my side, I see the following in logs:
And when running
tcpdump -i enp35s0 src 141.98.103.251 and dst port 9939
, I get the following during these failed attempts to connect:All IP addresses for the user are redacted intentionally, of course.
Background information:
swap-0.8.1-preview
,asb-0.8.1-preview
The text was updated successfully, but these errors were encountered: