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

lotus-worker does not support IPv6 #11138

Closed
5 of 11 tasks
paul8046 opened this issue Aug 5, 2023 · 1 comment · Fixed by #11141
Closed
5 of 11 tasks

lotus-worker does not support IPv6 #11138

paul8046 opened this issue Aug 5, 2023 · 1 comment · Fixed by #11141
Assignees
Labels
area/cli kind/bug Kind: Bug kind/enhancement Kind: Enhancement

Comments

@paul8046
Copy link

paul8046 commented Aug 5, 2023

Checklist

  • This is not a security-related bug/issue. If it is, please follow please follow the security policy.
  • I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.
  • I am running the Latest release, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to lotus.

Lotus component

  • lotus daemon - chain sync
  • lotus fvm/fevm - Lotus FVM and FEVM interactions
  • lotus miner/worker - sealing
  • lotus miner - proving(WindowPoSt/WinningPoSt)
  • lotus JSON-RPC API
  • lotus message management (mpool)
  • Other

Lotus Version

Daemon:  1.23.2+mainnet+git.8347235b5+api1.5.0
Local: lotus-miner version 1.23.2+mainnet+git.8347235b5

Repro Steps

  1. Configure MINER_API_INFO to use IPv6
  2. Run lotus-worker run
  3. Worker fails to start and go log contains errors

Describe the Bug

lotus-worker is not able to parse IPv6 formatted API keys

Logging Information

{"level":"info","ts":"2023-08-05T11:49:22.566+1200","logger":"main","caller":"lotus-worker/main.go:514","msg":"Opening local storage; connecting to master"}
{"level":"warn","ts":"2023-08-05T11:49:22.569+1200","logger":"main","caller":"lotus-worker/main.go:114","msg":"dial tcp: address ::1:49252: too many colons in address"}
@shrenujbansal shrenujbansal added kind/enhancement Kind: Enhancement area/cli and removed need/triage kind/bug Kind: Bug labels Aug 7, 2023
@rjan90 rjan90 added kind/bug Kind: Bug and removed kind/bug Kind: Bug labels Aug 8, 2023
@rjan90 rjan90 self-assigned this Aug 8, 2023
@rjan90
Copy link
Contributor

rjan90 commented Aug 8, 2023

Thank you so much for the report @paul8046! I can confirm that I was able to repro this by following your repro-steps:

8-08T05:09:25.643-0400    INFO    main    lotus-worker/main.go:531        Opening local storage; connecting to master
2023-08-08T05:09:25.659-0400    WARN    main    lotus-worker/main.go:114        dial tcp: address ::1:2345: too many colons in address

I have put up the issue on our Sprint planning board https://github.com/orgs/filecoin-project/projects/92, and I will try to shcedule some work on this in the current sprint if we have some spare cycles, else it should get some work done in the next sprint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli kind/bug Kind: Bug kind/enhancement Kind: Enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants