Skip to content

Commit

Permalink
Siren: Fix connecting to BN/VC
Browse files Browse the repository at this point in the history
For some reason the BN and VC urls resolve to ipv6 addresses in the
Siren container, which is not supported by those endpoints. We therefore
force Siren to prefer ipv4 using an env variable for NodeJS
applications.

Note that this does not seem to be related to IPV6=true/false in .env .
  • Loading branch information
Pietje Puk committed Nov 4, 2024
1 parent 9332b78 commit 9473103
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions siren.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ services:
- SSL_ENABLED=true
- DEBUG=false
- SIREN_PORT=${SIREN_PORT}
- NODE_OPTIONS="--dns-result-order=ipv4first"
<<: *logging
entrypoint:
- docker-entrypoint.sh
Expand Down

0 comments on commit 9473103

Please sign in to comment.