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

flake: binding port already in use #93

Open
turadg opened this issue Feb 6, 2024 · 3 comments · Fixed by #126
Open

flake: binding port already in use #93

turadg opened this issue Feb 6, 2024 · 3 comments · Fixed by #126

Comments

@turadg
Copy link
Member

turadg commented Feb 6, 2024

Examples

kread-start

https://github.com/Agoric/agoric-3-proposals/actions/runs/7793493561/job/21253422797 (depot log)

2024-02-06T01:53:20.8325995Z #538 [use-kread-start linux/amd64 eval-kread-start 6/6] RUN ./run_eval.sh 53:kread-start
2024-02-06T01:53:20.8326997Z #0 0.289 ENV_SETUP starting
2024-02-06T01:53:20.8327495Z #0 0.896 ENV_SETUP finished
2024-02-06T01:53:20.8328000Z #0 0.896 Starting agd in background
2024-02-06T01:53:20.8328554Z #0 0.897 waiting for bootstrap...
2024-02-06T01:53:20.8329579Z #0 2.624 Error: failed to listen on 0.0.0.0:26657: listen tcp 0.0.0.0:26657: bind: address already in use
2024-02-06T01:53:20.8330574Z #0 2.625 Usage:
2024-02-06T01:53:20.8331079Z #0 2.625   ag-chain-cosmos start [flags]

upgrade-8

depot log

[16:upgrade-8] Starting agd in the background.
Starting agd in background
waiting for bootstrap...
1:53AM ERR WARNING: The minimum-gas-prices config in app.toml is set to the empty string. This defaults to 0 in the current version, but will error in the next version (SDK v0.45). Please explicitly put the desired minimum-gas-prices in your app.toml.
1:53AM ERR WARNING: The minimum-gas-prices config in app.toml is set to the empty string. This defaults to 0 in the current version, but will error in the next version (SDK v0.45). Please explicitly put the desired minimum-gas-prices in your app.toml.
Error: failed to listen on 0.0.0.0:26657: listen tcp 0.0.0.0:26657: bind: address already in use
Usage:
  ag-chain-cosmos start [flags]

Flags:
      --abci string                                     specify abci transport (socket | grpc) (default "socket")
      --address string                                  Listen address (default "tcp://0.0.0.0:26658")
      --consensus.create_empty_blocks                   set this to false to only produce blocks when there are txs or when the AppHash changes (default true)
      --consensus.create_empty_blocks_interval string   the possible interval between empty blocks (default "0s")
@turadg
Copy link
Member Author

turadg commented Feb 6, 2024

Started in versions of #88 and seems to be fixed by 3639158, which makes it less racy.

I'll leave this issue open until I'm more sure

@turadg
Copy link
Member Author

turadg commented Mar 8, 2024

@turadg
Copy link
Member Author

turadg commented Apr 19, 2024

Not meant to be closed. Also @gibson042 has some good ideas for diagnosing

@turadg turadg reopened this Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant