Unfortunately, I don’t know if the Dfinity team knows about this bug or not.
This bug can be caught by performing dfx start --background
twice without stopping (maybe in separated terminal sessions)
About fix: I can suggest the following:
- you can open PR with fix in SDK Repo
- or you can find corresponding github issue and add additional information
- or you can create github issue with a detailed report and steps to reproduce
- after that it is necessary to notify someone from Dfinity team (or wait for an answer on the github)
If you are blocked by this bug, you can temporarily use this solution
- uninstall
~/.cache/dfinity/uninstall.sh
- find process
lsof -i:8000
- kill process
kill -9 *pid*
- install again
sh -ci "$(curl -fsSL https://smartcontracts.org/install.sh)"