mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Display better error msg when there are network problems #318
This commit is contained in:
parent
67ed736652
commit
39524719ee
@ -7,6 +7,7 @@ new blue: 0f87c3
|
||||
new grey: 666666
|
||||
|
||||
00abff
|
||||
orange webpage quotes : ff7f00
|
||||
|
||||
|
||||
main bg grey: dddddd
|
||||
|
@ -258,7 +258,7 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
|
||||
bootstrapStateLabel.setId("splash-error-state-msg");
|
||||
bootstrapIndicator.setVisible(false);
|
||||
|
||||
Popups.openErrorPopup("Error", "Cannot connect to P2P network. \n\nError message:\n" +
|
||||
Popups.openErrorPopup("Error", "Connection to P2P network failed. \n\nReason: " +
|
||||
model.bootstrapErrorMsg.get());
|
||||
}
|
||||
});
|
||||
|
@ -229,10 +229,10 @@ class BootstrappedPeerBuilder {
|
||||
else {
|
||||
handleError(BootstrapState.DISCOVERY_AUTO_PORT_FORWARDING_FAILED, "Automatic port forwarding " +
|
||||
"failed. " +
|
||||
"Fail reason: " + future.failedReason() +
|
||||
"\nCheck if UPnP is not enabled on your router. " +
|
||||
"\nYou can try also to setup manual port forwarding. " +
|
||||
"\nRelay mode is currently not supported but will follow later. ");
|
||||
"\n\nCheck if UPnP is enabled on your router. " +
|
||||
"\nIf it is enabled and it still does not work you can try also to setup manual port " +
|
||||
"forwarding. " +
|
||||
"\n\nYou find on our Github Wiki help how to setup manual port forwarding.");
|
||||
|
||||
// For the moment we don't support relay mode as it has too much problems
|
||||
/* setState(BootstrapState.AUTO_PORT_FORWARDING_NOT_SUCCEEDED, "Port forwarding has failed. " +
|
||||
|
Loading…
Reference in New Issue
Block a user