Skip to content
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

silkworm: unexpected termination when STUN server cannot be resolved #2621

Open
canepat opened this issue Dec 23, 2024 · 0 comments
Open

silkworm: unexpected termination when STUN server cannot be resolved #2621

canepat opened this issue Dec 23, 2024 · 0 comments
Labels
enhancement New feature or improvement

Comments

@canepat
Copy link
Member

canepat commented Dec 23, 2024

Running Silkworm on some machine behind strict firewall rules may lead to this unexpected termination to happen if Google STUN server (stun.l.google.com) default port (19302) is not open:

  INFO [12-23|18:32:57.658 UTC] Silkworm                                 version=master0.1.0-dev+commit.b0ce84b9 build=linux-x86_64 release compiler=gnu 11.4.0 
...
  INFO [12-23|18:32:57.789 UTC] Silkworm is now running
  INFO [12-23|18:32:57.789 UTC] SnapshotSync: downloading missing snapshots if needed
  INFO [12-23|18:32:57.789 UTC] SnapshotSync: download started: [0/462]
  CRIT [12-23|18:33:03.511 UTC] Unrecoverable failure: stun_ip_resolver: no response from the STUN server

We could try to detect such condition as accurately as possible and suggest to enable the command-line option --nat extip:<public_ip_address>.

@canepat canepat added bug Something isn't working enhancement New feature or improvement and removed bug Something isn't working labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement
Projects
None yet
Development

No branches or pull requests

1 participant