-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Bisq disconnected from local btc node #1823
Comments
Seems you had a local BTC node. Maybe you restarted BTC core or the like... Reconnection in such a case does not work (with normal nodes it reconnects). |
Didn't touch btc node. Disconnect reason seems pretty clear to me: |
Happened again on another machine with freshly compiled bisq from yesterday. Btc chain download was at 99 % when bisq disconnected due to stalled download. UI became stuck afterwards for at least two min, had to ctrl+c and start bisq again. And now it looks like bisq remembers that localhost btc node was banned and doesn't want to connect to it or anything else, making bisq unusable... |
@iljah Did you use other port for Bitcoin Core than the standard 8333? |
Did you run master or the release branch? |
I just could reproduce it on testnet. It downloaded 90 MB from BitcoinCoin Core and then gets disconnected and fails to continue download after reconnect. After restart it does not download anything anymore (even it was stuck at 5% - prob. wrong value) and is fully connected then. At a second try with a deleted data dir I got again 90 MB then it was stuck (thought after a while it was recovering and startup was complete). @oscarguindzberg Do you have an idea? |
I'm using port 8333, master branch at bitcoin/bitcoin@efaf2d8 |
By default upload doesn't seem to be limited and I haven't limited it either: https://github.com/bitcoin/bitcoin/blob/master/src/net.h#L76 |
Maybe its something on the BitcoinJ side, but we did not have any bigger changes here.... so thats strange... |
Fixed with #1823 |
Actually the disconnect it not fixed but that seems to be not a critical issue... |
"Fixed with" above points to this issue, shouldn't it point to something else? |
I think Manfred means "Fixed with 9389a8e" |
|
I suspected that bisq remembers disconnecting from local btc node because when it first disconnected its UI froze and I had to ctrl+c bisq from command line. After starting it again it didn't connect to local or any other node and just sat there with nothing happening, don't remember for how long (several minutes at least). After restarting again one or more times it finally started connecting to local btc node again and everything returned to normal. I haven't restarted bisq recently and/so haven't seen this behavior since. |
@oscarguindzberg |
Add a few comments from my testing:
I agree with @oscarguindzberg that the real cause will be something else, but it seems to be triggered when the app needs to download more blockheaders from the past in case the checkpoint file is old. I have not tested with connection to public network. It might be related to the localhost setup and not causing the problems when connected to several nodes. |
triggered when the app needs to download more blockheaders from the
past in case the checkpoint file is old. I have not tested with
This might be what happened also to me. I vaguely remember seeing this
e.g. after removing all cached data from bisq in order to fix my stuck
order.
|
Found this in my log:
after which bisq seemed to be stuck with UI not reacting to anything. I'm guessing bisq doesn't need protection from "bad" local btc node...
The text was updated successfully, but these errors were encountered: