Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Port 7335 (ringpop) is already commonly used by Figma #34

Closed
schickling opened this issue Dec 31, 2021 · 1 comment · Fixed by #48
Closed

Port 7335 (ringpop) is already commonly used by Figma #34

schickling opened this issue Dec 31, 2021 · 1 comment · Fixed by #48

Comments

@schickling
Copy link

schickling commented Dec 31, 2021

I don't think this is really a "bug" but a common issue for me nonetheless. When trying to start temporalite it fails for me with the following error message:

{"level":"fatal","ts":"2021-12-31T16:21:07.116+0100","msg":"Failed to start ringpop listener","error":"listen tcp 127.0.0.1:7335: bind: address already in use","address":"127.0.0.1:7335","logging-call-at":"rpc.go:195","stacktrace":"go.temporal.io/server/common/log.(*zapLogger).Fatal\n\t/Users/schickling/Code/go/pkg/mod/go.temporal.io/server@v1.14.0/common/log/zap_logger.go:150\ngo.temporal.io/server/common/rpc.(*RPCFactory).GetRingpopChannel\n\t/Users/schickling/Code/go/pkg/mod/go.temporal.io/server@v1.14.0/common/rpc/rpc.go:195\ngo.temporal.io/server/temporal.newBootstrapParams.func1\n\t/Users/schickling/Code/go/pkg/mod/go.temporal.io/server@v1.14.0/temporal/server_impl.go:212\ngo.temporal.io/server/common/resource.MembershipFactoryProvider\n\t/Users/schickling/Code/go/pkg/mod/go.temporal.io/server@v1.14.0/common/resource/fx.go:231\nreflect.Value.call\n\t/nix/store/wapbf2yn132n0644hzaic6qzrj62qjd3-go-1.17.3/share/go/src/reflect/value.go:543\nreflect.Value.Call\n\t/nix/store/wapbf2yn132n0644hzaic6qzrj62qjd3-go-1.17.3/share/go/src/reflect/value.go:339\ngo.uber.org/dig.defaultInvoker\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/dig.go:439\ngo.uber.org/dig.(*node).Call\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/dig.go:912\ngo.uber.org/dig.paramSingle.Build\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:240\ngo.uber.org/dig.paramList.BuildList\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:196\ngo.uber.org/dig.(*node).Call\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/dig.go:903\ngo.uber.org/dig.paramSingle.Build\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:240\ngo.uber.org/dig.paramList.BuildList\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:196\ngo.uber.org/dig.(*Container).Invoke\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/dig.go:587\ngo.uber.org/fx.(*App).executeInvoke\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/fx@v1.14.2/app.go:873\ngo.uber.org/fx.(*App).executeInvokes\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/fx@v1.14.2/app.go:846\ngo.uber.org/fx.New\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/fx@v1.14.2/app.go:594\ngo.temporal.io/server/temporal.MatchingServiceProvider\n\t/Users/schickling/Code/go/pkg/mod/go.temporal.io/server@v1.14.0/temporal/fx.go:324\nreflect.Value.call\n\t/nix/store/wapbf2yn132n0644hzaic6qzrj62qjd3-go-1.17.3/share/go/src/reflect/value.go:543\nreflect.Value.Call\n\t/nix/store/wapbf2yn132n0644hzaic6qzrj62qjd3-go-1.17.3/share/go/src/reflect/value.go:339\ngo.uber.org/dig.defaultInvoker\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/dig.go:439\ngo.uber.org/dig.(*node).Call\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/dig.go:912\ngo.uber.org/dig.paramGroupedSlice.Build\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:458\ngo.uber.org/dig.paramObjectField.Build\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:396\ngo.uber.org/dig.paramObject.Build\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:323\ngo.uber.org/dig.paramList.BuildList\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:196\ngo.uber.org/dig.(*node).Call\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/dig.go:903\ngo.uber.org/dig.paramSingle.Build\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:240\ngo.uber.org/dig.paramList.BuildList\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:196\ngo.uber.org/dig.(*node).Call\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/dig.go:903\ngo.uber.org/dig.paramSingle.Build\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:240\ngo.uber.org/dig.paramList.BuildList\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/param.go:196\ngo.uber.org/dig.(*Container).Invoke\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/dig@v1.13.0/dig.go:587\ngo.uber.org/fx.(*App).executeInvoke\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/fx@v1.14.2/app.go:873\ngo.uber.org/fx.(*App).executeInvokes\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/fx@v1.14.2/app.go:846\ngo.uber.org/fx.New\n\t/Users/schickling/Code/go/pkg/mod/go.uber.org/fx@v1.14.2/app.go:594\ngo.temporal.io/server/temporal.NewServerFx\n\t/Users/schickling/Code/go/pkg/mod/go.temporal.io/server@v1.14.0/temporal/fx.go:97\ngo.temporal.io/server/temporal.NewServer\n\t/Users/schickling/Code/go/pkg/mod/go.temporal.io/server@v1.14.0/temporal/server.go:58\ngithub.com/DataDog/temporalite.NewServer\n\t/Users/schickling/Code/go/pkg/mod/github.com/!data!dog/temporalite@v0.0.0-20211216190200-e046f4ec5a85/server.go:91\nmain.buildCLI.func2\n\t/Users/schickling/Code/go/pkg/mod/github.com/!data!dog/temporalite@v0.0.0-20211216190200-e046f4ec5a85/cmd/temporalite/main.go:149\ngithub.com/urfave/cli/v2.(*Command).Run\n\t/Users/schickling/Code/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/command.go:163\ngithub.com/urfave/cli/v2.(*App).RunContext\n\t/Users/schickling/Code/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:313\ngithub.com/urfave/cli/v2.(*App).Run\n\t/Users/schickling/Code/go/pkg/mod/github.com/urfave/cli/v2@v2.3.0/app.go:224\nmain.main\n\t/Users/schickling/Code/go/pkg/mod/github.com/!data!dog/temporalite@v0.0.0-20211216190200-e046f4ec5a85/cmd/temporalite/main.go:45\nruntime.main\n\t/nix/store/wapbf2yn132n0644hzaic6qzrj62qjd3-go-1.17.3/share/go/src/runtime/proc.go:255"}
The terminal process "/Users/schickling/.nix-profile/bin/fish '-c', 'temporalite start --filename tmp/temporalite.db --namespace default'" terminated with exit code: 1.

This seems to be due to a port conflict on 7335 between Temporal via ringpop and figma_agent.

My current work around is to run killall figma_agent

Update: After learning more about ringpop it doesn't seem to be needed by temporalite and thus should not expose this port.

@schickling
Copy link
Author

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant