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

error: invalid value '185.106.137.232' for '--public-addr <PUBLIC_ADDR>...': invalid multiaddress #6682

Closed
2 tasks done
infrachris opened this issue Nov 27, 2024 · 2 comments
Labels
I2-bug The node fails to follow expected behavior. I10-unconfirmed Issue might be valid, but it's not yet known.

Comments

@infrachris
Copy link

infrachris commented Nov 27, 2024

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

Attempting to use --public-addr for the first time and it seems to reject the public IP of the node as invalid.
I've tried:

--public-addr 185.106.137.232
--public-addr '185.106.137.232'
--public-addr=185.106.137.232

systemd-analyze verify polkadot.service passes

My actual IP is just slightly different. This seems like a bug in how it determines what an acceptable IP is.

Steps to reproduce

    --no-mdns \
    --no-private-ip \
    --log=warn \
    --public-addr 175.106.137.232 \
    --sync=warp
@infrachris infrachris added I10-unconfirmed Issue might be valid, but it's not yet known. I2-bug The node fails to follow expected behavior. labels Nov 27, 2024
@infrachris
Copy link
Author

IP address may have to be in this format:
--public-addr=/ip4/xx.xx.xx.xx/tcp/30333

I'm going to test and try again

@infrachris
Copy link
Author

Confirmed this is the required format:
--public-addr=/ip4/xx.xx.xx.xx/tcp/30333

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I2-bug The node fails to follow expected behavior. I10-unconfirmed Issue might be valid, but it's not yet known.
Projects
None yet
Development

No branches or pull requests

1 participant