Skip to content

Can't start Raiden without internet connection #870

@ulope

Description

@ulope

Problem Definition

Upon start Raiden tries to gain external connectivity via UPNP or STUN. If no internet connection is available both methods fail and Raiden crashes with STUNUnavailableException.

In normal use this would only be a cosmetic issue (exception instead of a more user friendly error messge) since the public chain isn't accessible w/o internet anyway. However usage scenarios in isolated networks on a private chain are certainly imaginable and should be supported.

Solution

Don't crash if both UPNP and STUN are unavailable but instead print a warning and fall back to using the local ip / port.

Tasklist

  • Implement --nat option (see comment below)
  • Warn user about likely connection problems if no nat traversal is possible
  • Add changelog

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions