I2CP: Don't throw exception on early internalConnect()

ClientManager.isAlive() returns true even on port conflict
Hide port conflict message in console
This commit is contained in:
zzz
2019-12-20 16:04:35 +00:00
parent c3138793fe
commit 61ec10ff47
2 changed files with 31 additions and 9 deletions

View File

@ -220,11 +220,13 @@ public class SummaryHelper extends HelperBase {
private NetworkStateMessage reachability() {
if (_context.commSystem().isDummy())
return new NetworkStateMessage(NetworkState.VMCOMM, "VM Comm System");
/*
if (_context.router().getUptime() > 60*1000 &&
!_context.clientManager().isAlive() &&
!_context.router().gracefulShutdownInProgress() &&
!_context.router().isRestarting())
return new NetworkStateMessage(NetworkState.ERROR, _t("ERR-Client Manager I2CP Error - check logs")); // not a router problem but the user should know
*/
// Warn based on actual skew from peers, not update status, so if we successfully offset
// the clock, we don't complain.
//if (!_context.clock().getUpdatedSuccessfully())