Failed to set up connection with peer (ASB) (unstoppableswap.net)
Closed this issue · 5 comments
Describe the bug
Getting constant warning messages from unstoppableswap.net
Not sure if this is because I changed my peer address and it's still trying to reach the old peer(s). I will be changing my peer address on a semi-regular basis and will have to update unstoppable with the new peer ID each time. I think doing this will add an extra layer of privacy/security. It does require more work on my end, but this may compound these warnings n-fold.
Maybe have the peer dropped from the database after 24 hours of unsuccessfully reaching them. This would force ASB providers to ensure long uptimes and/or submit peer ids when they are renewed or newly created.
Lost/trapped Funds
No
Debug logs
2021-10-17 01:37:26 WARN Failed to set up connection with peer: Pending connection: Transport error: upgrade apply error: eof address=/ip4/x.x.x.x/tcp/37724
2021-10-17 01:37:57 WARN Failed to set up connection with peer: Pending connection: Transport error: upgrade apply error: eof address=/ip4/x.x.x.x/tcp/41408
2021-10-17 01:38:16 WARN Failed to set up connection with peer: Pending connection: Transport error: upgrade apply error: eof address=/ip4/x.x.x.x/tcp/43604
2021-10-17 01:38:16 WARN Failed to set up connection with peer: Pending connection: Transport error: upgrade apply error: eof address=/ip4/x.x.x.x/tcp/43614
2021-10-17 01:39:06 WARN Failed to set up connection with peer: Pending connection: Transport error: upgrade apply error: eof address=/ip4/x.x.x.x/tcp/49520
2021-10-17 01:39:06 WARN Failed to set up connection with peer: Pending connection: Transport error: upgrade apply error: eof address=/ip4/x.x.x.x/tcp/49540
Platform (please complete the following information):
- ASB
- Software Version: 0.9.0
I already asked @binarybaron (the owner of unstoppableswap.net) about this. Here's his answer:
That's our backend making requests to your ASB to fetch the current price
And we can do nothing to stop it!
heh. Oh well. So it goes..
I don't think I can do anything to exit gracefully. If there is something I can change to prevent this l, let me know
@binarybaron Actually there may be something you could do. I re-registered my ASB provider with unstoppable yesterday, same multiaddress but different peer address and it isn't registering in the listing on the site. I did receive the 3 connections errors that are attributed to unstoppable querying the provider. Do you think you could look to see why /dnsaddr/xmrswap.me is not listed?
Multiaddress: /dnsaddr/xmrswap.me
Peer Address: 12D3KooWJz36p44uJAB8pL66Zj5o5QnbuU9G5ycSPL9KozeBVo7M
oh shit man. that was fast. looks like it's listed now. thanks a bunch.
just a short tidbit. The primary reason why I change my peer address every so often is because it comes with a new wallet each time. just a way to skirt having one wallet for all the swaps.
Maybe I'll suggest an option in ASB to generate a new wallet but keep the same peer address. However, I do like things to be changing on a regular basis tho.
appreciate you looking into it.